WO2021103571A1 - Method and apapratus for generating asset investment suggestion information and readable storage medium - Google Patents

Method and apapratus for generating asset investment suggestion information and readable storage medium Download PDF

Info

Publication number
WO2021103571A1
WO2021103571A1 PCT/CN2020/101644 CN2020101644W WO2021103571A1 WO 2021103571 A1 WO2021103571 A1 WO 2021103571A1 CN 2020101644 W CN2020101644 W CN 2020101644W WO 2021103571 A1 WO2021103571 A1 WO 2021103571A1
Authority
WO
WIPO (PCT)
Prior art keywords
year
asset
sequence
assets
investment
Prior art date
Application number
PCT/CN2020/101644
Other languages
French (fr)
Chinese (zh)
Inventor
林晓明
Original Assignee
华泰证券股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华泰证券股份有限公司 filed Critical 华泰证券股份有限公司
Publication of WO2021103571A1 publication Critical patent/WO2021103571A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Definitions

  • This application relates to the field of computer technology, and in particular to a method, device and readable storage medium for generating asset investment advice information.
  • the main purpose of this application is to provide a method, device and readable storage medium for generating asset investment advice information, aiming to solve the problem of poor reliability of capital investment methods in the prior art.
  • this application provides a method for generating asset investment advice information.
  • the method for generating asset investment advice information includes the following steps:
  • the step of determining the predicted fluctuation range corresponding to each type of the asset according to each of the year-on-year sequence data includes:
  • a fitting prediction of the same-year sequence data is performed on each type of asset to determine the predicted increase or decrease corresponding to the various types of assets.
  • the step of combining the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods includes:
  • the step of inputting each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients includes:
  • Each of the year-on-year sequence data is used as a dependent variable, and the combined sequence is used as an independent variable to input into a linear regression model to obtain a linear regression coefficient.
  • the step of determining the investment weights corresponding to the various types of assets according to each of the predicted fluctuations includes:
  • the fitting prediction of the same-year sequence data is performed on each type of asset, so as to determine the predicted fluctuation rate corresponding to each type of asset
  • the steps include:
  • the predicted value and the fitted value corresponding to each type of asset are differentiated to obtain the predicted increase or decrease corresponding to each type of asset.
  • the step of determining the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data includes:
  • the present application also provides a device for generating asset investment advice information.
  • the device for generating asset investment advice information includes: a memory, a processor, and a memory, a processor, and a memory that is stored on the memory and can run on the processor.
  • a program for generating asset investment recommendation information which implements the steps of the method for generating asset investment recommendation information as described above when the program for generating asset investment recommendation information is executed by the processor.
  • the present application also provides a readable storage medium, the readable storage medium stores an asset investment advice information generation program, and the asset investment advice information generation program is executed by a processor to achieve the above The steps of the method for generating asset investment advice information described above.
  • the method, device and readable storage medium for generating asset investment recommendation information proposed by the embodiments of the application obtains various types of assets and the corresponding year-on-year sequence data of various types of assets, and determines the corresponding assets of each type according to the same-year sequence data. Forecast the rise and fall, and then determine the investment weight of various assets based on each predicted rise and fall. Because the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information for various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
  • FIG. 1 is a schematic diagram of the hardware structure of the device for generating asset investment recommendation information involved in the scheme of the embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for generating investment advice information for assets in an application
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for generating investment advice information of an application asset
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for generating investment advice information for an application for assets
  • Fig. 5 is a schematic flowchart of a fourth embodiment of a method for generating asset investment advice information for the application.
  • the main solution of the embodiment of this application is to obtain various types of assets to determine the year-on-year sequence data corresponding to the various types of assets.
  • the classification methods of the various types of assets include asset type classification and investment risk classification.
  • the year-on-year sequence data determines the predicted rise and fall of each type of asset; the investment weight of each category of the asset is determined according to each of the predicted rises and falls.
  • the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information for various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
  • Fig. 1 is a schematic diagram of the hardware structure of the device for generating asset investment recommendation information involved in the solution of the embodiment of the present application.
  • the device for generating asset investment recommendation information may include: a processor 1001, such as a CPU, a communication bus 1002, and a memory 1003.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the memory 1003 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1003 may also be a storage device independent of the aforementioned processor 1001.
  • the structure of the device for generating asset investment advice information shown in FIG. 1 does not constitute a limitation on the device for generating asset investment advice information, and may include more or less components than shown in the figure, or a combination Certain components, or different component arrangements.
  • the memory 1003 which is a computer storage medium, may include an operating system and a program for generating asset investment advice information.
  • the processor 1001 may be used to call the asset investment recommendation information generation program stored in the memory 1003, and perform the following operations:
  • the investment weights of the various types of assets are determined.
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the extrapolated combined sequence and the linear regression coefficient perform a fitting prediction of the year-on-year sequence data for each type of asset to determine the predicted increase or decrease corresponding to the various types of assets;
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • Each of the year-on-year sequence data is used as a dependent variable, and the combined sequence is used as an independent variable to input into a linear regression model to obtain a linear regression coefficient.
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the predicted value and the fitted value corresponding to each type of asset are differentiated to obtain the predicted increase or decrease corresponding to each type of asset.
  • the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
  • the first embodiment of the present application provides a method for generating asset investment advice information, the method includes:
  • Step S100 acquiring various types of assets to determine the year-on-year sequence data corresponding to the various types of assets
  • the execution subject is the device for generating asset investment recommendation information.
  • the device below refers to the device for generating asset investment recommendation information.
  • the device can be regarded as a server, and the device can be loaded into the client in the form of an APP, so that the client communicates with the device based on the APP.
  • the assets can be funds, bonds, stocks, commodities, and so on.
  • the user can open the APP loaded on the client.
  • the APP is the investment program of the wealth management product; the user can select the wealth management product that needs to be invested based on the APP. For example, if the user wants to invest in A stocks and B bonds, the user can select the interface based on the assets of the APP Select A stocks and B bonds on the app, and the APP sends the A stocks and B bonds selected by the user to the device, so that the device can obtain various assets based on the A stocks and B bonds.
  • the wealth management product needs to be classified into assets to obtain various assets.
  • the method of asset classification can be classified according to the type of asset. For example, wealth management products can be classified into stocks, bonds, commodities, etc.; the method of asset classification can also be classified according to the level of investment risk, for example, the risk of investment can be higher. Stocks and commodities are regarded as one type of assets, and bonds with lower investment risks are regarded as another type of assets. It is understandable that the classification methods include asset type classification and investment risk classification.
  • the device After acquiring various types of assets, the device needs to determine the corresponding year-on-year sequence data for each type of asset.
  • the data included in the year-on-year series data are all monthly year-on-year data.
  • Each month’s year-on-year data is calculated in a fixed 12-month cycle. For example, if the asset is a stock, the ratio of the closing price of the stock at the end of September 2019 to the closing price of the stock at the end of September 2018 or the logarithm of the ratio is taken as 2019 The year-on-year serial data in September of 2009, and September 2019 is the time of observation.
  • the year-on-year serial data Calculated according to the following formula:
  • the period of monthly year-on-year data is 12 months.
  • Step S200 Determine the predicted increase or decrease corresponding to each type of asset according to each of the year-on-year sequence data
  • step S200 After determining each year-on-year sequence data, the device obtains the predicted rise and fall of each type of asset based on each year-on-year sequence data. Specifically, referring to FIG. 3, that is, step S200 includes:
  • Step S210 Determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
  • the device After determining the year-on-year sequence data of various types of assets, the device then determines the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data.
  • the asset data sequence in a continuous period of time has a time dimension.
  • the stock price data is a numerical sequence in continuous time, so the resulting year-on-year sequence data of assets can be regarded as a time sequence.
  • the time series can be analogous to the time-domain signal generated by the movement of an economic and financial asset, and the time-domain signal has the expression of Fourier series. Therefore, Fourier transform can be performed on the year-on-year sequence data to obtain the corresponding frequency. Data in the frequency domain is analyzed and processed in the frequency domain.
  • the business cycle is the preset observation cycle.
  • the year-on-year data of assets show regular changes in the preset observation cycle, and the preset observation cycle is 42 Months, 100 months and 200 months, the preset observation period is set in the device.
  • each preset observation period corresponds to a target frequency signal.
  • These target frequency signals are stable and continuous, while other unstable or unsustainable frequency signals can be regarded as noise. Therefore, the device performs frequency domain filtering on the year-on-year sequence data of each type of asset to retain the target frequency signal and reduce noise interference.
  • the year-on-year sequence data of the reserved target frequency signal is the frequency domain data.
  • a set of filter coefficients gauss win is determined according to each preset observation period period, and according to each set of filter coefficients gauss win and frequency domain data wave fft Get a set of intermediate sequences
  • nfft is the zero-padded length of the year-on-year data
  • the gauss index is a series of numbers from 1 to nfft
  • center frequency represents the center frequency, that is, the frequency corresponding to the period factor to be extracted
  • gauss alpha is a parameter that affects the Gaussian filter bandwidth.
  • the formula (5) is obtained through the transformation of the above formula.
  • the transformation process is: perform inverse Fourier transform on each set of intermediate sequences to obtain a set of second intermediate sequences; intercept data from the second intermediate sequences according to the preset sequence length LEN Click to get the filtering sequence of each type of asset under each preset observation period Among them, the preset sequence length LEN is equal to the sum of the corresponding sequence length L1 and the extrapolated length L2.
  • Real(Z) is the real part of Z.
  • Step S220 Combine the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods, and determine the output length of the combined sequence to perform a preset length of the output length Modify to get the extrapolated combined sequence;
  • the merging sequence of the preset observation period can be synthesized by referring to the following process:
  • Step A Obtain a first filter matrix according to the filter sequence of the various types of assets
  • various types of assets can be stocks, bonds, and commodities
  • the filter sequences of stocks, bonds, and commodities are Taking each filter sequence as a vector, the three vectors are combined to form a filter matrix M1, and M1 is the first filter matrix.
  • Step B Hilbert transform is performed on the first filter matrix to obtain a corresponding second filter matrix
  • Step C Perform iterative calculation of merging weights according to the second filter matrix.
  • the combined weight vector with the preset observation period is a vector of all 1s with length N, where N is the number of vectors in matrix M2, that is, the number of asset categories, and the value is 3 when the asset only includes stocks, bonds, and commodities.
  • weight m mean(weight) (7)
  • M*N represents the multiplication of the matrix M and N
  • (M)′ is the conjugate transpose of M
  • diag(W) contains W on the main diagonal Diagonal matrix
  • conj(M) is the complex conjugate of M
  • M.*N represents the dot product of matrix M and N
  • mean(M) is the mean value of each column of M.
  • the filter sequences of various assets can be regarded as time-domain signals, they are affected by the cycle of the entire economic and financial system and are similar to the principles of signal propagation. Most of them are interfered by strong noise, and the signal-to-noise ratio is usually not high.
  • the iterative calculation method of merging weights given in the step reduces the phase difference estimation error and obtains the optimal weights of the merging sequence of various assets, thereby effectively improving the signal-to-noise ratio and stability of the merging sequence of the filter sequence of various assets .
  • Step D Obtain the combined sequence according to the second filter matrix and the combined weight vector.
  • the synthesized sequence X period whose preset observation period takes the value of period is a vector, namely
  • abs(W) is the complex magnitude of each element of W (each element of W is a complex number), and sum(W) is the sum of the elements of W.
  • the classification methods of various assets in the above examples are classified according to asset types; when the classification of assets is classified as investment risk, each asset that needs to be classified as one type of investment risk needs to be filtered first.
  • the merger of various assets is performed again in the merger sequence of various assets to obtain the final merger sequence under the preset observation period.
  • the stocks and commodities are divided into one category, and the other is bonds.
  • the preset observation period is 42 months.
  • the filters and commodities are determined
  • the 42-month first merging sequence is combined again with the first merging sequence and the bond's 42-month filtering sequence to obtain the 42-month merging sequence of the two types of assets.
  • the device After determining the combined sequence corresponding to each preset observation period, the device needs to perform Gaussian filtering extrapolation on the combined sequence to obtain an extrapolated combined sequence.
  • the combined sequence is obtained, the output length of the combined sequence is determined, and the output length is modified by a preset length, thereby obtaining the extrapolated combined sequence.
  • the output length of a 42-month merged sequence is 120, and the extrapolated filter one period will get an extrapolated merged sequence with an output length of 121.
  • the extrapolated filter one period is the preset length, and the preset length can be based on actual needs.
  • the setting is not limited to 1.
  • Step S230 input each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain a linear regression coefficient
  • the linear regression model is stored in the device, and the device can use the synchronized sequence data corresponding to various assets as the dependent variable, and the combined sequence as the independent variable, which is input into the linear regression model to obtain the linear regression coefficient.
  • the linear regression model has a corresponding formula, that is, the linear regression formula, and the linear regression formula is: Among them, X 42 , X 100 , and X 200 are the merged sequences corresponding to 42 months, 100 months, and 200 months without predicting the preset observation period, b 1 is the intercept term, and b 2 , b 3 , and b 4 are linear Regression coefficients, It is the year-on-year serial data.
  • the linear regression model uses the least squares estimation algorithm to obtain the estimated value of the linear regression coefficient according to the linear regression formula.
  • the classification of various assets can be classified according to asset category or investment risk. If the asset classification method is asset category classification, the above formula is used to obtain the linear regression coefficient; if the asset classification method is investment risk classification , You need to differentiate the year-on-year sequence data of various assets to obtain the differential data, and then use the differential data as the dependent variable and the combined sequence as the independent variable to substitute the linear regression coefficient to obtain the linear regression coefficient.
  • the difference data is obtained by the difference of the year-on-year serial data, as follows:
  • Step S240 according to the extrapolated and merged sequence and the linear regression coefficient, perform a fitting prediction of the year-on-year sequence data for each type of asset to determine the predicted increase or decrease corresponding to each type of the asset;
  • the device can perform a fitting prediction of the same-year sequence data for each type of asset according to the extrapolated combined sequence and the linear regression coefficients to obtain the predicted value.
  • the fitted value at the current time is So as to get the predicted rise and fall
  • step S300 the investment weights of the various types of assets are determined according to each of the predicted fluctuations.
  • the target weights of various assets can be determined according to the predicted rise and fall.
  • the predicted fluctuation can be positive or negative. When the predicted fluctuation is greater than 0, it indicates that the asset corresponding to the predicted fluctuation will have greater returns in the next period, and when the predicted fluctuation is less than 0 , It indicates that the assets corresponding to the predicted rise and fall will have a lower return in the next period.
  • the device can determine the investment weight of various assets according to the magnitude of the predicted rise and fall of various assets. The greater the predicted rise and fall, the greater the investment weight.
  • the device can generate investment advice information for various assets. For example, if various types of assets are stocks, commodities, and bonds, and the corresponding weights of stocks, commodities, and bonds are 0.2, 0.5, and 0.3, it is recommended to divide the capital into 20%, 50%, and 30%. Invest funds in stocks, invest 50% of funds in commodities, and invest 30% of funds in bonds". In addition, there are multiple assets in a certain type of asset. For example, if Class A assets include stocks and bonds, the investment weight of stocks and bonds is half of the investment weight of Class A assets.
  • the device can also modify the investment recommendation information according to the desired wealth management product set by the user as a reference. For example, if the desired wealth management product set by the user is a medium-low risk and stable product, while the bond risk is low and stable, it is recommended to divide the funds into 20%, 50%, and 30%, and invest 20% of the funds in stocks, 50% of funds will be invested in commodities and 30% of funds will be invested in bonds", amended to "it is recommended to divide funds into 15%, 45%, and 40%, 15% of funds will be invested in stocks, 45% of funds will be invested in commodities, and Invest 40% of funds in bonds”.
  • the desired wealth management product set by the user is a medium-low risk and stable product, while the bond risk is low and stable, it is recommended to divide the funds into 20%, 50%, and 30%, and invest 20% of the funds in stocks, 50% of funds will be invested in commodities and 30% of funds will be invested in bonds", amended to "it is recommended to divide funds into 15%, 45%, and 40%, 15% of funds will be invested in stocks, 45% of funds will be invested
  • the investment suggestion information is fed back to the user's corresponding client, so that various financial products can be invested based on the investment suggestion information.
  • the device obtains various types of assets and year-on-year sequence data corresponding to each type of asset, and determines the predicted fluctuations corresponding to each type of asset based on the year-on-year sequence data, and then determines the predicted fluctuations according to the respective predicted fluctuations.
  • Investment weight of various assets Since the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information of various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
  • each year-on-year sequence data can be expressed as:
  • R K+1 is the normalization coefficient, which can prevent the weight range from becoming unstable due to continuous accumulation. It ensures that the square sum of the weight coefficient of each year-on-year serial data is equal to the number of year-on-year serial data, namely
  • the weight coefficient of each year-on-year sequence data is converged through a preset number of iterations, that is, the number of iterations for the weight coefficient convergence is determined in advance through experiments and stored as The preset number of times, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, when the number of iterations reaches the preset number of times, the iteration is stopped, and the synthesized combined sequence is output.
  • the system-level financial data movement law represented by the merged sequence is more stable and reliable, and more predictable.
  • the SUMPLE algorithm is suitable for the synthesis of low signal-to-noise ratio data
  • the optimal weight of each year-on-year sequence data can be calculated, so that the synthesized combined sequence signal noise Than higher.
  • n cor is the duration corresponding to the overall data
  • the relevant time interval n cor is the preset duration, and the preset duration can be set according to the actual situation For example, the preset duration can be set to 4 months (or 120 days).
  • the number of iterations is limited by the total duration of the sampled data. Therefore, the number of iterations may be less due to insufficient data length, which affects the convergence of the weight coefficients.
  • the number of iterations of the iterative method is not limited by the length of the same-year sequence data. Therefore, in this embodiment, preferably, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, the overall iterative method is selected for synthesis, which can ensure that the weight coefficients of each year-on-year sequence data converge.
  • Figure 4 is a second embodiment of the method for generating asset investment advice information of the application. Based on the first embodiment, acquiring various assets in step S100 to determine the year-on-year sequence data corresponding to each category of assets includes :
  • Step S110 Obtain the observation time, the preset lag period, and the preset year-on-year sequence length;
  • the original asset price lags its year-on-year serial data, and there is a lag period.
  • the original asset price is about 5 months slower than the year-on-year serial data, that is, the change in the cycle phase will be reflected in the asset return after 5 months. Rate.
  • the corresponding asset return rate will rise at the predicted time t+5, and vice versa if It is believed that the return on assets corresponding to period t+5 will decrease.
  • a preset lag period For example, set the preset lag period to 5 months.
  • Step S120 Obtain an end time according to the observation time and the preset hysteresis period, and obtain a start time according to the end time and the preset year-on-year sequence length;
  • Step S130 Acquire year-on-year sequence data of various types of the assets from the start time to the end time.
  • the required year-on-year sequence data is [t-(120+5)month, t-5month], that is, the date starts from 2000
  • the monthly sequence of stock prices starting on January 31, 2009 and ending on December 31, 2009, is used to predict the stock price trend on May 31, 2010.
  • the year-on-year sequence data of multiple types of assets are obtained according to the lag period of the original asset price relative to the same-year sequence data, which reduces the error of predicting the trend of each type of asset.
  • FIG. 5 is a third embodiment of the method for generating asset investment advice information of this application. Based on any one of the first to third embodiments, the filtering corresponding to each type of asset is performed in step S220. The sequence is combined to obtain the combined sequence of each of the preset observation periods, including:
  • Step S221 Determine investment risk parameters corresponding to various types of assets, and classify the various types of assets according to the investment risk parameters to obtain various sets, and the investment risk parameters corresponding to the various types of assets in the set belong to the same value.
  • Step S222 Combine the filter sequences corresponding to the various types of assets in the collection to obtain an intermediate combined sequence of each of the collections in each of the preset observation periods;
  • Step S223 Combine each of the intermediate combined sequences to obtain a combined sequence corresponding to each of the preset observation periods.
  • each asset that needs to be classified as investment risk is first merged with a filter sequence, and the merge sequence of various assets is merged again to obtain The final combined sequence under the preset observation period.
  • the device first determines the filter sequence corresponding to each type of asset, and the classification method of each type of asset is asset type classification.
  • the device determines the investment risk parameter corresponding to each type of asset.
  • the investment risk parameter represents the investment risk of the asset. The higher the investment risk parameter, the greater the investment risk of the asset.
  • the device can classify various types of assets according to the investment risk parameters of each type of asset, and obtain each set.
  • the investment risk parameters of various assets in the set belong to the same numerical range. For example, there are two sets.
  • the various assets in one set are stocks and commodities.
  • the value range of investment risk parameters corresponding to stocks and commodities corresponds to high-risk investments; the assets in the other set are bonds, and bonds correspond to investments.
  • the numerical range of risk parameters corresponds to low-risk investments.
  • the preset observation period is 42 months.
  • the method of generating asset investment advice information can be divided into eight steps, specifically:
  • Step 1 Determine the year-on-year sequence data of various types of assets.
  • the classification methods of various types of assets include asset type classification and investment risk classification. Therefore, step 1 can be divided into two situations, one of which is derived from asset type classification
  • the year-on-year sequence data of various types of assets is defined as step 1.1; the other is the year-on-year sequence data of various assets obtained by the investment risk classification method, which is defined as step 1.2;
  • Step 2 Determine the filter sequence corresponding to the year-on-year sequence data in each preset observation period
  • Step 3 Combine different filter sequences corresponding to the same preset observation period to obtain a combined sequence.
  • merging methods There are two merging methods used, preferably the sum algorithm is used to merge the filter sequences, and there are three merging methods, which are defined as steps 3.1.
  • Steps 3.2 and 3.3 where step 3.1 is the combination of filtering sequences of various assets classified by asset type, step 3.2 is the combination of filtering sequences of various assets classified by investment risk, and step 3.3 is It is to merge the filter sequences of different types of assets in the same category of assets with investment risk classification, and then merge the preliminary merged sequences corresponding to each type of asset;
  • Step 4 Extrapolate the combined sequence, that is, perform Gaussian filter extrapolation on the combined sequence to obtain an extrapolated combined sequence;
  • Step 5 Input the year-on-year sequence data and the combined sequence into the linear regression model to obtain the linear regression coefficients.
  • Step 5 includes two different steps, namely Step 5.1 and Step 5.2.
  • Step 5.1 uses the synchronized sequence data corresponding to the asset as the dependent variable.
  • the combined sequence is used as the independent variable to perform linear regression with intercept term to obtain the linear regression coefficient
  • step 5.2 is to use the difference of the synchronized sequence data corresponding to the asset as the dependent variable and the combined sequence as the independent variable to perform linear regression with intercept term , Get the linear regression coefficient;
  • Step 6 Extrapolate the combined sequence as the independent variable and linear regression coefficient as the coefficient, perform fitting prediction on the asset synchronization sequence data to obtain the predicted value, and obtain the current time, that is, the fitted value of the current period, through the predicted value and fitting Make the difference between the value and adjust the lag period to get the predicted rise and fall;
  • Step 7 Sort all kinds of assets according to the magnitude of the predicted rise and fall, so as to determine the investment weights corresponding to all kinds of assets;
  • Step 8 Generate asset investment advice information based on the investment weight of various assets.
  • step 1 includes two processing situations
  • step 3 includes three processing situations
  • step 5 includes two processing situations
  • the different processing situations of these three steps are sorted and combined, and the investment advice information is the most accurate after actual measurement.
  • strategy one is: Step 1.1+Step 2+Step 3.1+Step 4+Step 5.1+Step 6+Step 7+Step 8;
  • the second strategy is: Step 1.2+Step 2+Step 3.3+Step 4+Step 5.1+Step 6+Step 7+Step 8.
  • the present application also provides a device for generating asset investment advice information.
  • the device for generating asset investment advice information includes: a memory, a processor, and asset investment advice information stored on the memory and running on the processor
  • the generating program of the asset investment recommendation information is executed by the processor to implement the steps of the method for generating asset investment recommendation information as described in the above embodiment.
  • the present application also provides a readable storage medium on which a program for generating asset investment advice information is stored.
  • a program for generating asset investment advice information is stored on a readable storage medium on which a program for generating asset investment advice information is stored.
  • the program for generating asset investment advice information is executed by a processor, the asset as described in the above embodiment is implemented. Steps of the method of generating investment advice information.

Abstract

A method and apparatus for generating asset investment suggestion information and a readable storage medium. The method for generating asset investment suggestion information comprises the following steps: acquiring various assets so as to determine year-on-year sequential data corresponding to the various assets, the classification means for the various assets comprising asset type classification and investment risk classification (S100); determining, according to the various year-on-year sequential data, a predicted fluctuation amplitude corresponding to each asset (S200); and determining, according to the various predicted fluctuation amplitudes, the investment weights of the various assets (S300).

Description

资产投资建议信息的生成方法、装置和可读存储介质Method, device and readable storage medium for generating asset investment suggestion information
优先权信息Priority information
本申请要求于2019年11月25日申请的、申请号为201911169350.X、名称为“资产投资建议信息的生成方法、装置和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 25, 2019, the application number is 201911169350.X, and the name is "Method, device and readable storage medium for generating asset investment advice information", all of which are approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种资产投资建议信息的生成方法、装置及可读存储介质。This application relates to the field of computer technology, and in particular to a method, device and readable storage medium for generating asset investment advice information.
背景技术Background technique
随着人们生活水平的提高,手上的流动资金越来越富余,相对于将资金存入银行,人们更愿意将资金投资于股票、基金、债券等收益较高的理财产品。With the improvement of people's living standards, the liquidity in their hands becomes more and more surplus. Compared with depositing funds in banks, people are more willing to invest their funds in high-yielding financial products such as stocks, funds, and bonds.
现有技术中,人们在进行理财产品的投资时,通过查看理财产品的风险以及回报说明,并基于自身的投资经验、理财产品的风险以及回报将资金进行投资。由此可知,用户的投资方式是通过用户的投资经验以及对理财产品的预期收益进行确定,这种投资方式可靠性较差,并不能为用户带来稳定的、可靠的投资收益。In the prior art, when investing in wealth management products, people look at the description of the risks and returns of the wealth management products, and invest funds based on their own investment experience and the risks and returns of the wealth management products. It can be seen that the user's investment method is determined by the user's investment experience and the expected return of financial products. This investment method is less reliable and cannot bring users a stable and reliable investment return.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solution of the application, and does not mean that the above content is recognized as prior art.
发明内容Summary of the invention
本申请的主要目的在于提供一种资产投资建议信息的生成方法、装置及可读存储介质,旨在解决现有技术中资金的投资方式可靠性较差的问题。The main purpose of this application is to provide a method, device and readable storage medium for generating asset investment advice information, aiming to solve the problem of poor reliability of capital investment methods in the prior art.
为实现上述目的,本申请提供一种资产投资建议信息的生成方法,所述资产投资建议信息的生成方法包括以下步骤:In order to achieve the above-mentioned purpose, this application provides a method for generating asset investment advice information. The method for generating asset investment advice information includes the following steps:
获取各类资产以确定各类所述资产对应的同比序列数据,其中,各类所述资产的分类方式包括资产类型分类以及投资风险分类,Obtain various types of assets to determine the year-on-year sequence data corresponding to each type of said assets, where the classification methods of each type of said assets include asset type classification and investment risk classification,
根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅;Determine the predicted increase and decrease corresponding to each type of asset according to each of the said year-on-year sequence data;
根据各个所述预测涨跌幅确定各类所述资产的投资权重。Determine the investment weights of the various types of assets according to each of the predicted fluctuations.
在一实施例中,所述根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅的步骤包括:In an embodiment, the step of determining the predicted fluctuation range corresponding to each type of the asset according to each of the year-on-year sequence data includes:
根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列;Determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列,并确定所述合并序列的输出长度,以对所述输出长度进行预设长度的修改以得到外推合并序列;Combine the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods, and determine the output length of the combined sequence, so as to modify the output length by the preset length to obtain Extrapolate the combined sequence;
将各个所述同比序列数据以及所述合并序列输入线性回归模型,以得到线性回归系数;Input each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients;
根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅。According to the extrapolated combined sequence and the linear regression coefficient, a fitting prediction of the same-year sequence data is performed on each type of asset to determine the predicted increase or decrease corresponding to the various types of assets.
在一实施例中,所述对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列的步骤包括:In an embodiment, the step of combining the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods includes:
确定各类资产对应的投资风险参数,并根据所述投资风险参数对各类所述资产进行分类以得到各个集合,所述集合内各类所述资产对应的投资风险参数属于同一数值区间;Determine investment risk parameters corresponding to various types of assets, and classify the various types of assets according to the investment risk parameters to obtain various sets, and the investment risk parameters corresponding to the various types of assets in the set belong to the same numerical range;
对所述集合内的各类所述资产对应的滤波序列进行合并,以得到每一个所述集合在各个所述预设观测周期的中间合并序列;Merging the filter sequences corresponding to the various types of assets in the collection to obtain an intermediate merging sequence of each of the collections in each of the preset observation periods;
对各个所述中间合并序列进行合并,以得到各个所述预设观测周期对应的合并序列。Merging each of the intermediate merged sequences to obtain a merged sequence corresponding to each of the preset observation periods.
在一实施例中,所述将各个所述同比序列数据以及所述合并序列输入线性回归模型,以得到线性回归系数的步骤包括:In an embodiment, the step of inputting each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients includes:
将各个所述同比序列数据作为因变量,且将所述合并序列作为自变量,以输入线性回归模型中,得到线性回归系数。Each of the year-on-year sequence data is used as a dependent variable, and the combined sequence is used as an independent variable to input into a linear regression model to obtain a linear regression coefficient.
在一实施例中,所述根据各个所述预测涨跌幅,确定各类所述资产对应的投资权重的步骤包括:In an embodiment, the step of determining the investment weights corresponding to the various types of assets according to each of the predicted fluctuations includes:
对各个所述预测涨跌幅进行从大到小的排序;Sort each of the predicted fluctuations in descending order;
根据排序的各个所述预测涨跌幅,确定各个所述预测涨跌幅对应的资产 的投资权重,其中,所述预测涨跌幅越大,所述预测涨跌幅对应的资产的投资权重越大。Determine the investment weight of the asset corresponding to each of the predicted fluctuations according to each of the predicted fluctuations in the order, wherein, the greater the predicted fluctuation, the greater the investment weight of the asset corresponding to the predicted fluctuation Big.
在一实施例中,所述根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅的步骤包括:In one embodiment, according to the extrapolated combined sequence and the linear regression coefficient, the fitting prediction of the same-year sequence data is performed on each type of asset, so as to determine the predicted fluctuation rate corresponding to each type of asset The steps include:
根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测值;According to the extrapolated combined sequence and the linear regression coefficient, perform a fitting prediction of the same-year sequence data for each type of asset to determine the predicted value corresponding to the various types of assets;
确定各类所述资产在当前时间对应的拟合值;Determine the fitting values corresponding to the various types of assets at the current time;
对每一类资产对应的预测值与拟合值做差,以得到每一类所述资产对应的预测涨跌幅。The predicted value and the fitted value corresponding to each type of asset are differentiated to obtain the predicted increase or decrease corresponding to each type of asset.
在一实施例中,所述根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列的步骤包括:In an embodiment, the step of determining the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data includes:
对所述同比序列数据进行补零,并对补零后的同比序列数据进行傅里叶变换,得到对应的频域数据;Performing zero padding on the year-on-year sequence data, and performing Fourier transform on the year-on-year sequence data after zero padding to obtain corresponding frequency domain data;
根据每一个所述预设观测周期确定一组滤波器系数,并根据所述滤波器系数与所述频域数据得到中间序列;Determine a set of filter coefficients according to each of the preset observation periods, and obtain an intermediate sequence according to the filter coefficients and the frequency domain data;
对所述中间序列进行逆傅里叶变换,得到所述资产在各个所述预设观测周期下的滤波序列。Perform an inverse Fourier transform on the intermediate sequence to obtain a filter sequence of the asset in each of the preset observation periods.
为实现上述目的,本申请还提供一种资产投资建议信息的生成装置,所述资产投资建议信息的生成装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被所述处理器执行时实现如上所述的资产投资建议信息的生成方法的步骤。In order to achieve the above objective, the present application also provides a device for generating asset investment advice information. The device for generating asset investment advice information includes: a memory, a processor, and a memory, a processor, and a memory that is stored on the memory and can run on the processor. A program for generating asset investment recommendation information, which implements the steps of the method for generating asset investment recommendation information as described above when the program for generating asset investment recommendation information is executed by the processor.
为实现上述目的,本申请还提供一种可读存储介质,所述可读存储介质上存储有资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被处理器执行时实现如上所述的资产投资建议信息的生成方法的步骤。In order to achieve the above object, the present application also provides a readable storage medium, the readable storage medium stores an asset investment advice information generation program, and the asset investment advice information generation program is executed by a processor to achieve the above The steps of the method for generating asset investment advice information described above.
本申请实施例提出的一种资产投资建议信息的生成方法、装置和可读存储介质,装置获取各类资产以及各类资产对应的同比序列数据,并根据同比序列数据确定每一类资产对应的预测涨跌幅,再根据各个预测涨跌幅确定各类资产的投资权重。由于装置可通过各类资产的同比序列数据确定资产类型 分类或者投资风险分类后的各类资产的投资权重,使得装置根据投资权重合理的生成各类资产的投资建议信息,进而为用户提供具有可靠稳定收益的理财产品的投资建议。The method, device and readable storage medium for generating asset investment recommendation information proposed by the embodiments of the application. The device obtains various types of assets and the corresponding year-on-year sequence data of various types of assets, and determines the corresponding assets of each type according to the same-year sequence data. Forecast the rise and fall, and then determine the investment weight of various assets based on each predicted rise and fall. Because the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information for various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
附图说明Description of the drawings
图1是本申请实施例方案涉及的资产投资建议信息的生成装置的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of the device for generating asset investment recommendation information involved in the scheme of the embodiment of the present application;
图2为本申请资产投资建议信息的生成方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a method for generating investment advice information for assets in an application;
图3为本申请资产投资建议信息的生成方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a method for generating investment advice information of an application asset;
图4为本申请资产投资建议信息的生成方法第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of a method for generating investment advice information for an application for assets;
图5为本申请资产投资建议信息的生成方法第四实施例的流程示意图。Fig. 5 is a schematic flowchart of a fourth embodiment of a method for generating asset investment advice information for the application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
本申请实施例的主要解决方案是:获取各类资产以确定各类所述资产对应的同比序列数据,其中,各类所述资产的分类方式包括资产类型分类以及投资风险分类,根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅;根据各个所述预测涨跌幅确定各类所述资产的投资权重。The main solution of the embodiment of this application is to obtain various types of assets to determine the year-on-year sequence data corresponding to the various types of assets. The classification methods of the various types of assets include asset type classification and investment risk classification. The year-on-year sequence data determines the predicted rise and fall of each type of asset; the investment weight of each category of the asset is determined according to each of the predicted rises and falls.
由于装置可通过各类资产的同比序列数据确定资产类型分类或者投资风险分类后的各类资产的投资权重,使得装置根据投资权重合理的生成各类资产的投资建议信息,进而为用户提供具有可靠稳定收益的理财产品的投资建议。Because the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information for various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
如图1所示,图1是本申请实施例方案涉及的资产投资建议信息的生成装置的硬件结构示意图。As shown in Fig. 1, Fig. 1 is a schematic diagram of the hardware structure of the device for generating asset investment recommendation information involved in the solution of the embodiment of the present application.
如图1所示,资产投资建议信息的生成装置可以包括:处理器1001,例如CPU,通信总线1002,存储器1003。其中,通信总线1002用于实现这些组件之间的连接通信。存储器1003可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1003可选的还可以是独 立于前述处理器1001的存储装置。As shown in FIG. 1, the device for generating asset investment recommendation information may include: a processor 1001, such as a CPU, a communication bus 1002, and a memory 1003. Among them, the communication bus 1002 is used to implement connection and communication between these components. The memory 1003 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory. Optionally, the memory 1003 may also be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的资产投资建议信息的生成装置结构并不构成对资产投资建议信息的生成装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the device for generating asset investment advice information shown in FIG. 1 does not constitute a limitation on the device for generating asset investment advice information, and may include more or less components than shown in the figure, or a combination Certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1003中可以包括操作系统和资产投资建议信息的生成程序。As shown in FIG. 1, the memory 1003, which is a computer storage medium, may include an operating system and a program for generating asset investment advice information.
在图1所示的装置中,处理器1001可以用于调用存储器1003中存储的资产投资建议信息的生成程序,并执行以下操作:In the device shown in FIG. 1, the processor 1001 may be used to call the asset investment recommendation information generation program stored in the memory 1003, and perform the following operations:
获取各类资产以确定各类所述资产对应的同比序列数据,并根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列;Obtain various types of assets to determine the year-on-year sequence data corresponding to the various types of assets, and determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列;Combining the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods;
根据所述合并序列以及各个所述同比序列数据,确定各类所述资产的投资权重。According to the combined sequence and each of the year-on-year sequence data, the investment weights of the various types of assets are determined.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
获取各类资产以确定各类所述资产对应的同比序列数据,其中,各类所述资产的分类方式包括资产类型分类以及投资风险分类,Obtain various types of assets to determine the year-on-year sequence data corresponding to each type of said assets, where the classification methods of each type of said assets include asset type classification and investment risk classification,
根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅;Determine the predicted increase and decrease corresponding to each type of asset according to each of the said year-on-year sequence data;
根据各个所述预测涨跌幅确定各类所述资产的投资权重。Determine the investment weights of the various types of assets according to each of the predicted fluctuations.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列;Determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列,并确定所述合并序列的输出长度,以对所述输出长度进行预设长度的修改以得到外推合并序列;Combine the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods, and determine the output length of the combined sequence, so as to modify the output length by the preset length to obtain Extrapolate the combined sequence;
将各个所述同比序列数据以及所述合并序列输入线性回归模型,以得到线性回归系数;Input each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients;
根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比 序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅;According to the extrapolated combined sequence and the linear regression coefficient, perform a fitting prediction of the year-on-year sequence data for each type of asset to determine the predicted increase or decrease corresponding to the various types of assets;
根据各个所述预测涨跌幅,确定各类所述资产对应的投资权重。Determine the investment weights corresponding to the various types of assets according to each of the predicted fluctuations.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
确定各类资产对应的投资风险参数,并根据所述投资风险参数对各类所述资产进行分类以得到各个集合,所述集合内各类所述资产对应的投资风险参数属于同一数值区间;Determine investment risk parameters corresponding to various types of assets, and classify the various types of assets according to the investment risk parameters to obtain various sets, and the investment risk parameters corresponding to the various types of assets in the set belong to the same numerical range;
对所述集合内的各类所述资产对应的滤波序列进行合并,以得到每一个所述集合在各个所述预设观测周期的中间合并序列;Merging the filter sequences corresponding to the various types of assets in the collection to obtain an intermediate merging sequence of each of the collections in each of the preset observation periods;
对各个所述中间合并序列进行合并,以得到各个所述预设观测周期对应的合并序列。Merging each of the intermediate merged sequences to obtain a merged sequence corresponding to each of the preset observation periods.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
将各个所述同比序列数据作为因变量,且将所述合并序列作为自变量,以输入线性回归模型中,得到线性回归系数。Each of the year-on-year sequence data is used as a dependent variable, and the combined sequence is used as an independent variable to input into a linear regression model to obtain a linear regression coefficient.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
对各个所述预测涨跌幅进行从大到小的排序;Sort each of the predicted fluctuations in descending order;
根据排序的各个所述预测涨跌幅,确定各个所述预测涨跌幅对应的资产的投资权重,其中,所述预测涨跌幅越大,所述预测涨跌幅对应的资产的投资权重越大。Determine the investment weight of the asset corresponding to each of the predicted fluctuations according to each of the predicted fluctuations in the order, wherein, the greater the predicted fluctuation, the greater the investment weight of the asset corresponding to the predicted fluctuation Big.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测值;According to the extrapolated combined sequence and the linear regression coefficient, perform a fitting prediction of the same-year sequence data for each type of asset to determine the predicted value corresponding to the various types of assets;
确定各类所述资产在当前时间对应的拟合值;Determine the fitting values corresponding to the various types of assets at the current time;
对每一类资产对应的预测值与拟合值做差,以得到每一类所述资产对应的预测涨跌幅。The predicted value and the fitted value corresponding to each type of asset are differentiated to obtain the predicted increase or decrease corresponding to each type of asset.
在一实施例中,处理器1001可以调用存储器1003中存储的资产投资建议信息的生成处理程序,还执行以下操作:In an embodiment, the processor 1001 may call a processing program for generating asset investment recommendation information stored in the memory 1003, and also perform the following operations:
对所述同比序列数据进行补零,并对补零后的同比序列数据进行傅里叶变换,得到对应的频域数据;Performing zero padding on the year-on-year sequence data, and performing Fourier transform on the year-on-year sequence data after zero padding to obtain corresponding frequency domain data;
根据每一个所述预设观测周期确定一组滤波器系数,并根据所述滤波器系数与所述频域数据得到中间序列;Determine a set of filter coefficients according to each of the preset observation periods, and obtain an intermediate sequence according to the filter coefficients and the frequency domain data;
对所述中间序列进行逆傅里叶变换,得到所述资产在各个所述预设观测周期下的滤波序列。Perform an inverse Fourier transform on the intermediate sequence to obtain a filter sequence of the asset in each of the preset observation periods.
基于上述硬件构建,提出本申请资产投资建议信息的生成方法的各个实施例。Based on the above hardware construction, various embodiments of the method for generating asset investment recommendation information of the present application are proposed.
参照图2,本申请第一实施例提供一种资产投资建议信息的生成方法,所述方法包括:2, the first embodiment of the present application provides a method for generating asset investment advice information, the method includes:
步骤S100,获取各类资产以确定各类所述资产对应的同比序列数据;Step S100, acquiring various types of assets to determine the year-on-year sequence data corresponding to the various types of assets;
在本实施例中,执行主体为资产投资建议信息的生成装置,为了便于描述,以下以装置指代资产投资建议信息的生成装置。装置可视为服务端,装置通过APP的形式可装载于客户端中,使得客户端基于APP与装置通信连接。In this embodiment, the execution subject is the device for generating asset investment recommendation information. For ease of description, the device below refers to the device for generating asset investment recommendation information. The device can be regarded as a server, and the device can be loaded into the client in the form of an APP, so that the client communicates with the device based on the APP.
在本实施例中,资产可为基金、债券、股票以及商品等。用户可打开客户端上装载的APP,APP即为理财产品的投资程序;用户可基于APP选择需要投资的理财产品,例如,用户想投资A股票和B债券,用户可基于APP的资产的选择界面上选择A股票以及B债券,APP再将用户选择的A股票以及B债券发送装置,使得装置根据A股票以及B债券获取各类资产。In this embodiment, the assets can be funds, bonds, stocks, commodities, and so on. The user can open the APP loaded on the client. The APP is the investment program of the wealth management product; the user can select the wealth management product that needs to be invested based on the APP. For example, if the user wants to invest in A stocks and B bonds, the user can select the interface based on the assets of the APP Select A stocks and B bonds on the app, and the APP sends the A stocks and B bonds selected by the user to the device, so that the device can obtain various assets based on the A stocks and B bonds.
具体的,在装置获得用户选定的理财产品后,需对理财产品进行资产的分类,以得到各类资产。资产分类的方式可根据资产的类型进行分类,例如,可将理财产品分为股票、债券、商品等;资产分类的方式还可根据投资风险的大小进行分类,例如,可将投资风险较大的股票与商品作为一类资产,将投资风险较小的债券作为另一类资产。可以理解的是,分类方式包括资产类型分类以及投资风险分类。Specifically, after the device obtains the wealth management product selected by the user, the wealth management product needs to be classified into assets to obtain various assets. The method of asset classification can be classified according to the type of asset. For example, wealth management products can be classified into stocks, bonds, commodities, etc.; the method of asset classification can also be classified according to the level of investment risk, for example, the risk of investment can be higher. Stocks and commodities are regarded as one type of assets, and bonds with lower investment risks are regarded as another type of assets. It is understandable that the classification methods include asset type classification and investment risk classification.
在获取各类资产后,装置需确定各类资产对应的同比序列数据。同比序列数据中所包含的数据均为月度同比数据。每一个月度同比数据以固定的12月周期进行计算,例如,资产为股票,则将2019年9月月末的股票收盘价格与2018年9月月末的股票收盘价格的比值或比值的对数值作为2019年9月的同比序列数据,2019年9月为观测时刻,该同比序列数据
Figure PCTCN2020101644-appb-000001
根据下述公式 计算得到:
After acquiring various types of assets, the device needs to determine the corresponding year-on-year sequence data for each type of asset. The data included in the year-on-year series data are all monthly year-on-year data. Each month’s year-on-year data is calculated in a fixed 12-month cycle. For example, if the asset is a stock, the ratio of the closing price of the stock at the end of September 2019 to the closing price of the stock at the end of September 2018 or the logarithm of the ratio is taken as 2019 The year-on-year serial data in September of 2009, and September 2019 is the time of observation. The year-on-year serial data
Figure PCTCN2020101644-appb-000001
Calculated according to the following formula:
Figure PCTCN2020101644-appb-000002
t 0=2018年9月,t 0+12=2019年9月。
Figure PCTCN2020101644-appb-000002
t 0 = September 2018, t 0 +12 = September 2019.
月度同比数据的周期为12个月。The period of monthly year-on-year data is 12 months.
步骤S200,根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅;Step S200: Determine the predicted increase or decrease corresponding to each type of asset according to each of the year-on-year sequence data;
在确定各个同比序列数据后,装置再根据各个同比序列数据得到每一类资产对应的预测涨跌幅。具体的,参照图3,也即步骤S200包括:After determining each year-on-year sequence data, the device obtains the predicted rise and fall of each type of asset based on each year-on-year sequence data. Specifically, referring to FIG. 3, that is, step S200 includes:
步骤S210,根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列;Step S210: Determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
在确定各类资产的同比序列数据后,装置再根据同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列。After determining the year-on-year sequence data of various types of assets, the device then determines the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data.
具体的,在一段连续时间内的资产数据序列具有时间维度,例如股票价格数据为连续时间上的数值序列,因此由此而得的资产的同比序列数据可看作一个时间序列。该时间序列可以类比为一项经济金融资产运动产生的时域信号,而该时域信号具有傅里叶级数的表达方式,因此可对该同比序列数据进行傅里叶变换,得到对应的频域数据,在频域对其进行分析处理。Specifically, the asset data sequence in a continuous period of time has a time dimension. For example, the stock price data is a numerical sequence in continuous time, so the resulting year-on-year sequence data of assets can be regarded as a time sequence. The time series can be analogous to the time-domain signal generated by the movement of an economic and financial asset, and the time-domain signal has the expression of Fourier series. Therefore, Fourier transform can be performed on the year-on-year sequence data to obtain the corresponding frequency. Data in the frequency domain is analyzed and processed in the frequency domain.
不同类型的资产在统一的金融经济系统中有其共同的经济周期,经济周期即为预设观测周期,资产的同比数据在预设观测周期内呈现有规律的变化,而预设观测周期为42个月、100个月以及200个月,预设观测周期设置于装置内。在频域上,每一个预设观测周期对应着一个目标频率信号,这些目标频率信号是稳定且持续的,而其他不稳定或者不可持续的频率信号可视为噪声。故,装置对每一类资产的同比序列数据进行频域滤波,以保留目标频率信号,降低噪声的干扰,保留目标频率信号的同比序列数据即为频域数据。Different types of assets have a common business cycle in a unified financial and economic system. The business cycle is the preset observation cycle. The year-on-year data of assets show regular changes in the preset observation cycle, and the preset observation cycle is 42 Months, 100 months and 200 months, the preset observation period is set in the device. In the frequency domain, each preset observation period corresponds to a target frequency signal. These target frequency signals are stable and continuous, while other unstable or unsustainable frequency signals can be regarded as noise. Therefore, the device performs frequency domain filtering on the year-on-year sequence data of each type of asset to retain the target frequency signal and reduce noise interference. The year-on-year sequence data of the reserved target frequency signal is the frequency domain data.
由于傅里叶变换中存在栅栏效应,在求取每一类资产的滤波序列时,先对同比序列数据进行补零,并对补零后的同比序列数据进行傅里叶变换,得到对应的频域数据。以
Figure PCTCN2020101644-appb-000003
代表第i类资产的同比序列数据,以
Figure PCTCN2020101644-appb-000004
代表第i类资产的同比序列数据对应的频域数据。
Due to the fence effect in the Fourier transform, when obtaining the filter sequence of each type of asset, first add zeros to the year-on-year sequence data, and perform Fourier transform on the zero-padded year-on-year sequence data to obtain the corresponding frequency. Domain data. To
Figure PCTCN2020101644-appb-000003
Represents the year-on-year serial data of the i-th asset class, with
Figure PCTCN2020101644-appb-000004
Represents the frequency domain data corresponding to the year-on-year sequence data of the i-th asset.
如下述公式(1)、(2)、(3)所示,根据每一个预设观测周期period确定一组滤波器系数gauss win,并根据每一组滤波器系数gauss win与频域数据wave fft 得到一组中间序列
Figure PCTCN2020101644-appb-000005
As shown in the following formulas (1), (2), (3), a set of filter coefficients gauss win is determined according to each preset observation period period, and according to each set of filter coefficients gauss win and frequency domain data wave fft Get a set of intermediate sequences
Figure PCTCN2020101644-appb-000005
Figure PCTCN2020101644-appb-000006
Figure PCTCN2020101644-appb-000006
Figure PCTCN2020101644-appb-000007
Figure PCTCN2020101644-appb-000007
Figure PCTCN2020101644-appb-000008
Figure PCTCN2020101644-appb-000008
其中,nfft是同比数据补零后长度,gauss index是1至nfft的数列,center frequency代表中心频率即所要提取周期因子对应的频率,gauss alpha为影响高斯滤波带宽的参数。这些参数可优选设置为:nfft取4096,period取对应的42个月、100个月或200个月,gauss alpha取10。 Among them, nfft is the zero-padded length of the year-on-year data, the gauss index is a series of numbers from 1 to nfft, center frequency represents the center frequency, that is, the frequency corresponding to the period factor to be extracted, and gauss alpha is a parameter that affects the Gaussian filter bandwidth. These parameters can be preferably set as follows: nfft takes 4096, period takes the corresponding 42 months, 100 months or 200 months, and gauss alpha takes 10.
需要说明的是,根据下面的公式(4)对
Figure PCTCN2020101644-appb-000009
进行共轭对称操作:
It should be noted that according to the following formula (4)
Figure PCTCN2020101644-appb-000009
Perform conjugate symmetry operations:
Figure PCTCN2020101644-appb-000010
Figure PCTCN2020101644-appb-000010
接着对第i类资产中各个预设观测周期period的中间序列
Figure PCTCN2020101644-appb-000011
进行逆傅里叶变换,得到第i类资产在各个预设观测周期下的滤波序列
Figure PCTCN2020101644-appb-000012
Then the intermediate sequence of each preset observation period period in the i-th asset
Figure PCTCN2020101644-appb-000011
Perform inverse Fourier transform to obtain the filtering sequence of the i-th asset in each preset observation period
Figure PCTCN2020101644-appb-000012
通过上述公式的变换得到公式(5),变换流程为:对每一组中间序列进行逆傅里叶变换,得到一组第二中间序列;根据预设序列长度LEN从第二中间序列中截取数据点得到每一类资产在各个预设观测周期下的滤波序列
Figure PCTCN2020101644-appb-000013
其中,预设序列长度LEN等于同比序列长度L1与外推长度L2之和。
The formula (5) is obtained through the transformation of the above formula. The transformation process is: perform inverse Fourier transform on each set of intermediate sequences to obtain a set of second intermediate sequences; intercept data from the second intermediate sequences according to the preset sequence length LEN Click to get the filtering sequence of each type of asset under each preset observation period
Figure PCTCN2020101644-appb-000013
Among them, the preset sequence length LEN is equal to the sum of the corresponding sequence length L1 and the extrapolated length L2.
Figure PCTCN2020101644-appb-000014
Figure PCTCN2020101644-appb-000014
其中,Real(Z)是Z的实数部分。Among them, Real(Z) is the real part of Z.
步骤S220,对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列,并确定所述合并序列的输出长度,以对所述输出长度进行预设长度的修改以得到外推合并序列;Step S220: Combine the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods, and determine the output length of the combined sequence to perform a preset length of the output length Modify to get the extrapolated combined sequence;
在面对同一个全球经济金融环境,多类资产受到同样的经济周期的驱使而呈现出相关性极强的行为。因此,对于每一类资产,需要将同一预设观测 周期下的多类资产的滤波序列进行合并,即将它们相似的共同经济周期变化特征并进行合并,合并后的序列能够反映市场中统一的系统级别的周期运动,以供后续处理中较好地对各类资产的价格同比序列数据进行拟合。In the face of the same global economic and financial environment, multiple types of assets are driven by the same economic cycle and exhibit extremely relevant behaviors. Therefore, for each type of asset, it is necessary to merge the filter sequences of multiple types of assets under the same preset observation period, that is, to merge their similar common economic cycle change characteristics, and the merged sequence can reflect the unified system in the market. The level of periodic movement is used for subsequent processing to better fit the year-on-year sequence data of various asset prices.
在合并方式为同类型资产合并方式时,预设观测周期的合并序列的合成可参照如下流程:When the merging method is the same type of asset merging method, the merging sequence of the preset observation period can be synthesized by referring to the following process:
步骤A、根据各类所述资产的滤波序列得到第一滤波矩阵;Step A: Obtain a first filter matrix according to the filter sequence of the various types of assets;
在本实施例中,各类资产可为股票、债券以及商品,股票、债券以及商品的滤波序列分别为
Figure PCTCN2020101644-appb-000015
将每一个滤波序列作为一个向量,由三个向量组合形成一个滤波矩阵M1,M1即为第一滤波矩阵。
In this embodiment, various types of assets can be stocks, bonds, and commodities, and the filter sequences of stocks, bonds, and commodities are
Figure PCTCN2020101644-appb-000015
Taking each filter sequence as a vector, the three vectors are combined to form a filter matrix M1, and M1 is the first filter matrix.
步骤B,对所述第一滤波矩阵进行希尔伯特变换,得到对应的第二滤波矩阵;Step B, Hilbert transform is performed on the first filter matrix to obtain a corresponding second filter matrix;
在本步骤中,如下式所示,调用软件平台库函数hibert对M1进行希尔伯特变换得到第二滤波矩阵M2:In this step, as shown in the following formula, call the software platform library function hibert to perform Hilbert transform on M1 to obtain the second filter matrix M2:
M2=hilbert  (M1)M2=hilbert (M1)
步骤C,根据第二滤波矩阵进行合并权重的迭代计算。Step C: Perform iterative calculation of merging weights according to the second filter matrix.
具体地,先初始化预设观测周期取值为period的合并权重向量
Figure PCTCN2020101644-appb-000016
为长度为N的全1的向量,其中,N为矩阵M2中向量数目,即资产的类别数,当资产只包含股票、债券以及商品时取值为3。
Specifically, first initialize the combined weight vector with the preset observation period as the period
Figure PCTCN2020101644-appb-000016
It is a vector of all 1s with length N, where N is the number of vectors in matrix M2, that is, the number of asset categories, and the value is 3 when the asset only includes stocks, bonds, and commodities.
根据下述公式(6)、(7)、(8)进行合并权重向量
Figure PCTCN2020101644-appb-000017
的迭代计算:
Combine weight vectors according to the following formulas (6), (7), (8)
Figure PCTCN2020101644-appb-000017
The iterative calculation:
Figure PCTCN2020101644-appb-000018
Figure PCTCN2020101644-appb-000018
weight m=mean(weight)  (7) weight m = mean(weight) (7)
Figure PCTCN2020101644-appb-000019
Figure PCTCN2020101644-appb-000019
其中,
Figure PCTCN2020101644-appb-000020
代表经过第k次迭代计算后的合并权重向量,M*N代表矩阵M和N相乘,(M)′是M的共轭转置,diag(W)是包含W在主对角线上的对角矩阵,conj(M)是M的复共轭,M.*N代表矩阵M和N点乘,mean(M)是M的每列均值。
among them,
Figure PCTCN2020101644-appb-000020
Represents the combined weight vector after the kth iteration calculation, M*N represents the multiplication of the matrix M and N, (M)′ is the conjugate transpose of M, and diag(W) contains W on the main diagonal Diagonal matrix, conj(M) is the complex conjugate of M, M.*N represents the dot product of matrix M and N, mean(M) is the mean value of each column of M.
当迭代计算次数到达预设迭代次数阈值dcnt,合并权重收敛,得到最终的合并权重向量
Figure PCTCN2020101644-appb-000021
在本实施中,可选取dcnt=100。
When the number of iteration calculations reaches the preset iteration number threshold dcnt, the merge weights converge, and the final merge weight vector is obtained
Figure PCTCN2020101644-appb-000021
In this implementation, dcnt=100 can be selected.
由于各类资产的滤波序列可视为时域信号,其受到整个经济金融系统的周期的影响与信号传播的原理有相似之处,大多受到强烈的噪音干扰,信噪比通常不高,因此本步骤所给出的合并权重迭代计算方法通过减少相位差估计误差,得出各类资产的合并序列的最优权重,以此有效提高各类资产的滤波序列的合并序列的信噪比和稳定性。Since the filter sequences of various assets can be regarded as time-domain signals, they are affected by the cycle of the entire economic and financial system and are similar to the principles of signal propagation. Most of them are interfered by strong noise, and the signal-to-noise ratio is usually not high. The iterative calculation method of merging weights given in the step reduces the phase difference estimation error and obtains the optimal weights of the merging sequence of various assets, thereby effectively improving the signal-to-noise ratio and stability of the merging sequence of the filter sequence of various assets .
步骤D,根据第二滤波矩阵和合并权重向量得到合并序列。Step D: Obtain the combined sequence according to the second filter matrix and the combined weight vector.
根据下述公式(9)得到的预设观测周期取值为period的合成序列X period是一个向量,即 According to the following formula (9), the synthesized sequence X period whose preset observation period takes the value of period is a vector, namely
Figure PCTCN2020101644-appb-000022
Figure PCTCN2020101644-appb-000022
abs(W)是W的每个元素的复数幅值(W的每个元素是复数),sum(W)是W的元素总和。abs(W) is the complex magnitude of each element of W (each element of W is a complex number), and sum(W) is the sum of the elements of W.
需要说明的是,上述举例的各类资产的分类方式是按照资产类型进行分类的;在资产的分类方式为投资风险进行分类时,需要将投资风险归为一类的各项资产先进行滤波序列的合并,在对各类资产的合并序列再次进行合并,得到预设观测周期下的最终合并序列。例如,按照投资风险,将股票与商品分为一类,另一类为债券,预设观测周期为42个月,则先根据股票以及商品在42个月对应的滤波序列,确定股票与商品在42个月对应的第一合并序列,再将第一合并序列与债券在42个月的滤波序列再次进行合并,从而得到两类资产在42个月对应的合并序列。It should be noted that the classification methods of various assets in the above examples are classified according to asset types; when the classification of assets is classified as investment risk, each asset that needs to be classified as one type of investment risk needs to be filtered first. The merger of various assets is performed again in the merger sequence of various assets to obtain the final merger sequence under the preset observation period. For example, according to investment risk, the stocks and commodities are divided into one category, and the other is bonds. The preset observation period is 42 months. First, according to the filter sequence corresponding to the stocks and commodities in 42 months, the stocks and commodities are determined The 42-month first merging sequence is combined again with the first merging sequence and the bond's 42-month filtering sequence to obtain the 42-month merging sequence of the two types of assets.
装置在确定各个预设观测周期对应的合并序列后,需要对合并序列进行高斯滤波外推,从而得到外推合并序列。After determining the combined sequence corresponding to each preset observation period, the device needs to perform Gaussian filtering extrapolation on the combined sequence to obtain an extrapolated combined sequence.
具体的,获取合并序列,再确定合并序列的输出长度,进而对输出长度进行预设长度的修改,从而得到外推合并序列。例如,42个月的合并序列的输出长度为120,外推滤波一期,即得到输出长度为121的外推合并序列,外推滤波一期即为预设长度,预设长度可根据实际需求进行设置,并不限定于1。Specifically, the combined sequence is obtained, the output length of the combined sequence is determined, and the output length is modified by a preset length, thereby obtaining the extrapolated combined sequence. For example, the output length of a 42-month merged sequence is 120, and the extrapolated filter one period will get an extrapolated merged sequence with an output length of 121. The extrapolated filter one period is the preset length, and the preset length can be based on actual needs. The setting is not limited to 1.
步骤S230,将各个所述同比序列数据以及所述合并序列输入线性回归模 型,以得到线性回归系数;Step S230, input each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain a linear regression coefficient;
装置中存储有线性回归模型,装置可将各类资产对应的同步序列数据作为因变量,合并序列作为自变量,输入线性回归模型中,从而得到线性回归系数。具体的,线性回归模型具有对应的公式,也即线性回归公式,线性回归公式为:
Figure PCTCN2020101644-appb-000023
其中,X 42、X 100、X 200为不预测预设观测周期42个月、100个月以及200个月对应的合并序列,b 1为截距项,b 2、b 3、b 4为线性回归系数,
Figure PCTCN2020101644-appb-000024
为同比序列数据。线性回归模型根据线性回归公式,采用最小二乘估计算法得到线性回归系数的估计值。
The linear regression model is stored in the device, and the device can use the synchronized sequence data corresponding to various assets as the dependent variable, and the combined sequence as the independent variable, which is input into the linear regression model to obtain the linear regression coefficient. Specifically, the linear regression model has a corresponding formula, that is, the linear regression formula, and the linear regression formula is:
Figure PCTCN2020101644-appb-000023
Among them, X 42 , X 100 , and X 200 are the merged sequences corresponding to 42 months, 100 months, and 200 months without predicting the preset observation period, b 1 is the intercept term, and b 2 , b 3 , and b 4 are linear Regression coefficients,
Figure PCTCN2020101644-appb-000024
It is the year-on-year serial data. The linear regression model uses the least squares estimation algorithm to obtain the estimated value of the linear regression coefficient according to the linear regression formula.
需要说明的是,各类资产的分类可以是按照资产类别或者投资风险进行分类的,若是资产的分类方式为资产类别分类,则采用上述公式获取线性回归系数;若资产的分类方式为投资风险分类,则需对各类资产的同比序列数据进行差分,得到差分数据,进而将差分数据作为因变量,将合并序列作为自变量,代入线性回归系数得到线性回归系数。It should be noted that the classification of various assets can be classified according to asset category or investment risk. If the asset classification method is asset category classification, the above formula is used to obtain the linear regression coefficient; if the asset classification method is investment risk classification , You need to differentiate the year-on-year sequence data of various assets to obtain the differential data, and then use the differential data as the dependent variable and the combined sequence as the independent variable to substitute the linear regression coefficient to obtain the linear regression coefficient.
同比序列数据差分得到差分数据,具体如下:The difference data is obtained by the difference of the year-on-year serial data, as follows:
利用线性回归方程,可以得到第t期同比序列数据的拟合值LP t(LP t=b 1+b 2*X42 filter[120]+b 3*X100 filter[120]+b 4*X200 filter[120])和第t+1期的同比序列数据的预测值LP t+1(LP t+1=b 1+b 2*X42 filter[121]+b 3*X100 filter[121]+b 4*X200 filter[121])。进而,将t+1期预测值和t期拟合值做差,得到对数同比序列的一阶差分:ΔLP t+1=LP t+1-LP t,ΔLP t+1即为差分数据。 Using the linear regression equation, the fitted value LP t (LP t =b 1 +b 2 *X42 filter [120]+b 3 *X100 filter [120]+b 4 *X200 filter [ 120]) and the predicted value LP t+1 (LP t+1 =b 1 +b 2 *X42 filter [121]+b 3 *X100 filter [121]+b 4 * X200 filter [121]). Furthermore, the difference between the predicted value in period t+1 and the fitted value in period t is used to obtain the first-order difference of the logarithmic year-on-year sequence: ΔLP t+1 =LP t+1 -LP t , ΔLP t+1 is the difference data.
步骤S240,根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅;Step S240, according to the extrapolated and merged sequence and the linear regression coefficient, perform a fitting prediction of the year-on-year sequence data for each type of asset to determine the predicted increase or decrease corresponding to each type of the asset;
在确定线性回归系数后,装置即可根据外推合并序列以及线性回归系数对每一类资产进行同比序列数据的拟合预测得到预测值,预测值
Figure PCTCN2020101644-appb-000025
Figure PCTCN2020101644-appb-000026
当前时间的拟合值为
Figure PCTCN2020101644-appb-000027
Figure PCTCN2020101644-appb-000028
从而得到预测涨跌幅
Figure PCTCN2020101644-appb-000029
After determining the linear regression coefficients, the device can perform a fitting prediction of the same-year sequence data for each type of asset according to the extrapolated combined sequence and the linear regression coefficients to obtain the predicted value.
Figure PCTCN2020101644-appb-000025
Figure PCTCN2020101644-appb-000026
The fitted value at the current time is
Figure PCTCN2020101644-appb-000027
Figure PCTCN2020101644-appb-000028
So as to get the predicted rise and fall
Figure PCTCN2020101644-appb-000029
Figure PCTCN2020101644-appb-000030
Figure PCTCN2020101644-appb-000030
步骤S300,根据各个所述预测涨跌幅确定各类所述资产的投资权重。In step S300, the investment weights of the various types of assets are determined according to each of the predicted fluctuations.
,在确定各类资产对应的预测涨跌幅后,即可根据预测涨跌幅确定各类资产的目标权重。具体的,预测涨跌幅可为正或者负,在预测涨跌幅大于0时,则表明预测涨跌幅对应的资产的下一期具有更大的收益,而在预测涨跌幅小于0时,则表明预测涨跌幅对应的资产在下一期收益会有所降低。After determining the predicted rise and fall of various assets, the target weights of various assets can be determined according to the predicted rise and fall. Specifically, the predicted fluctuation can be positive or negative. When the predicted fluctuation is greater than 0, it indicates that the asset corresponding to the predicted fluctuation will have greater returns in the next period, and when the predicted fluctuation is less than 0 , It indicates that the assets corresponding to the predicted rise and fall will have a lower return in the next period.
装置可以根据各类资产对应的预测涨跌幅的大小确定各类资产的投资权重,预测涨跌幅越大,则投资权重越大。The device can determine the investment weight of various assets according to the magnitude of the predicted rise and fall of various assets. The greater the predicted rise and fall, the greater the investment weight.
装置在确定各类差值的投资权重后,即可生成各类资产的投资建议信息。例如,各类资产分别为股票、商品以及债券,股票、商品以及债券对应的权重分别为0.2、0.5、0.3,则生成“建议将资金分为20%、50%以及30%,将20%的资金投资股票、将50%的资金投资商品以及将30%的资金投资债券”。此外,在某一类资产中含有多种资产,如,A类资产包括股票和债券,则股票以及债券的投资权重均为A类资产的投资权重的一半。After determining the investment weights of various differences, the device can generate investment advice information for various assets. For example, if various types of assets are stocks, commodities, and bonds, and the corresponding weights of stocks, commodities, and bonds are 0.2, 0.5, and 0.3, it is recommended to divide the capital into 20%, 50%, and 30%. Invest funds in stocks, invest 50% of funds in commodities, and invest 30% of funds in bonds". In addition, there are multiple assets in a certain type of asset. For example, if Class A assets include stocks and bonds, the investment weight of stocks and bonds is half of the investment weight of Class A assets.
此外,装置还可以根据用户设置的期望理财产品的作为参考,以修正投资建议信息。例如,用户设置的期望理财产品为中低风险且稳定的产品,而债券风险较低且稳定,则将“建议将资金分为20%、50%以及30%,将20%的资金投资股票、将50%的资金投资商品以及将30%的资金投资债券”,修正为“建议将资金分为15%、45%以及40%,将15%的资金投资股票、将45%的资金投资商品以及将40%的资金投资债券”。In addition, the device can also modify the investment recommendation information according to the desired wealth management product set by the user as a reference. For example, if the desired wealth management product set by the user is a medium-low risk and stable product, while the bond risk is low and stable, it is recommended to divide the funds into 20%, 50%, and 30%, and invest 20% of the funds in stocks, 50% of funds will be invested in commodities and 30% of funds will be invested in bonds", amended to "it is recommended to divide funds into 15%, 45%, and 40%, 15% of funds will be invested in stocks, 45% of funds will be invested in commodities, and Invest 40% of funds in bonds".
在装置生成投资建议信息后,将该投资建议信息反馈至用户对应的客户端,使得基于该投资建议信息对各类理财产品进行投资。After the device generates the investment suggestion information, the investment suggestion information is fed back to the user's corresponding client, so that various financial products can be invested based on the investment suggestion information.
在本实施例提供的技术方案中,装置获取各类资产以及各类资产对应的同比序列数据,并根据同比序列数据确定每一类资产对应的预测涨跌幅,再根据各个预测涨跌幅确定各类资产的投资权重。由于装置可通过各类资产的同比序列数据确定资产类型分类或者投资风险分类后的各类资产的投资权重,使得装置根据投资权重合理的生成各类资产的投资建议信息,进而为用户提供具有可靠稳定收益的理财产品的投资建议。In the technical solution provided in this embodiment, the device obtains various types of assets and year-on-year sequence data corresponding to each type of asset, and determines the predicted fluctuations corresponding to each type of asset based on the year-on-year sequence data, and then determines the predicted fluctuations according to the respective predicted fluctuations. Investment weight of various assets. Since the device can determine the asset type classification or the investment weight of various assets after the investment risk classification through the year-on-year sequence data of various assets, the device can generate investment advice information of various assets according to the investment weight reasonably, and then provide users with reliable Investment advice for wealth management products with stable income.
在一实施例中,合并序列还可根据SUMPLE算法合成。具体的,每个同比序列数据可以表示为:In an embodiment, the combined sequence can also be synthesized according to the SUMPLE algorithm. Specifically, each year-on-year sequence data can be expressed as:
Figure PCTCN2020101644-appb-000031
Figure PCTCN2020101644-appb-000031
式中k为时间变量,
Figure PCTCN2020101644-appb-000032
是第i个同比数据在k时刻的数据,
Figure PCTCN2020101644-appb-000033
为噪声。合成的权值系数表示为:
Where k is the time variable,
Figure PCTCN2020101644-appb-000032
Is the data of the i-th year-on-year data at time k,
Figure PCTCN2020101644-appb-000033
Is noise. The synthesized weight coefficient is expressed as:
Figure PCTCN2020101644-appb-000034
Figure PCTCN2020101644-appb-000034
其中K是以相关时间间隔n cor为单位的时间变量,即合成中的迭代次数,
Figure PCTCN2020101644-appb-000035
为理想权值,
Figure PCTCN2020101644-appb-000036
是噪声引起的权值估计误差,则合成的合成序列可以表示为:
Where K is the time variable in the unit of the relevant time interval n cor , that is, the number of iterations in the synthesis,
Figure PCTCN2020101644-appb-000035
Is the ideal weight,
Figure PCTCN2020101644-appb-000036
Is the weight estimation error caused by noise, then the synthesized synthesized sequence can be expressed as:
Figure PCTCN2020101644-appb-000037
Figure PCTCN2020101644-appb-000037
其中*为取复共轭,L为同比序列数据的总个数。如果将合成序列的输出表示成如下形式:Where * is the complex conjugate, and L is the total number of year-on-year sequence data. If the output of the synthesized sequence is expressed as the following form:
Figure PCTCN2020101644-appb-000038
Figure PCTCN2020101644-appb-000038
那么,信号和噪声项分别为:Then, the signal and noise terms are:
Figure PCTCN2020101644-appb-000039
Figure PCTCN2020101644-appb-000039
Figure PCTCN2020101644-appb-000040
Figure PCTCN2020101644-appb-000040
SUMPLE算法中的第K+1次的权值系数
Figure PCTCN2020101644-appb-000041
可由第K次的
Figure PCTCN2020101644-appb-000042
递推得到:
The K+1th weight coefficient in the SUMPLE algorithm
Figure PCTCN2020101644-appb-000041
By the Kth
Figure PCTCN2020101644-appb-000042
Recursively get:
Figure PCTCN2020101644-appb-000043
Figure PCTCN2020101644-appb-000043
式中R K+1为归一化系数,可以防止权值幅度因连续累加变得不稳定,它保证了各个同比序列数据的权值系数的平方和等于同比序列数据的数量,即 In the formula, R K+1 is the normalization coefficient, which can prevent the weight range from becoming unstable due to continuous accumulation. It ensures that the square sum of the weight coefficient of each year-on-year serial data is equal to the number of year-on-year serial data, namely
Figure PCTCN2020101644-appb-000044
Figure PCTCN2020101644-appb-000044
上式的权值
Figure PCTCN2020101644-appb-000045
还可利用C k改写为:
The weight of the above formula
Figure PCTCN2020101644-appb-000045
C k can also be rewritten as:
Figure PCTCN2020101644-appb-000046
Figure PCTCN2020101644-appb-000046
本实施例中,利用SUMPLE算法对各个同比序列数据进行合成时,通过 预设次数的迭代使得各个同比序列数据的权值系数收敛,即预先通过实验确定权值系数收敛的迭代次数,并存储为预设次数,在利用SUMPLE算法对各个同比序列数据进行合成时,在迭代次数达到所述预设次数时,停止迭代,并输出合成的合并序列。合并序列代表的系统级别的金融数据运动规律,更加稳定可靠,可预测性更强。同时,由于SUMPLE算法适用于低信噪比的数据的合成,利用SUMPLE算法对各个同比序列数据合成时,可以计算出各个同比序列数据的最优权值,从而使得到的合成的合并序列信噪比更高。In this embodiment, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, the weight coefficient of each year-on-year sequence data is converged through a preset number of iterations, that is, the number of iterations for the weight coefficient convergence is determined in advance through experiments and stored as The preset number of times, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, when the number of iterations reaches the preset number of times, the iteration is stopped, and the synthesized combined sequence is output. The system-level financial data movement law represented by the merged sequence is more stable and reliable, and more predictable. At the same time, because the SUMPLE algorithm is suitable for the synthesis of low signal-to-noise ratio data, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, the optimal weight of each year-on-year sequence data can be calculated, so that the synthesized combined sequence signal noise Than higher.
本实施例中,在利用SUMPLE算法对各个同比序列数据进行合成时,可选用整体迭代或滚动迭代两种迭代方式进行迭代,使得各个同比序列数据的权值系数收敛。在通过整体迭代的方式进行合成时,进行一次采样,然后用整体数据对自身进行迭代更新,此时相关时间间隔n cor即为整体数据对应的时长;在通过滚动迭代的方式进行合成时,将采样窗口滚动向前,多次采样,用下一时刻采样得到的序列更新上一时刻得到的权重系数,此时相关时间间隔n cor为预设时长,所述预设时长可根据实际情况进行设置,例如,所述预设时长可设置为4个月(或120天)。在实际合成中,由于数据长度有限,而在利用滚动迭代时,迭代的次数受到采样数据的总时长限制,因此可能由于数据长度不够导致迭代次数较少,从而影响权值系数的收敛,而整体迭代的方式的迭代次数不受同比序列数据长度的限制。因此,本实施例中,优选地,利用SUMPLE算法对各个同比序列数据进行合成时,选用整体迭代的方式进行合成,可以保证各个同比序列数据的权值系数收敛。 In this embodiment, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, two iterative methods can be selected, either the overall iteration or the rolling iteration, to make the weight coefficients of each year-on-year sequence data converge. When synthesizing through the overall iterative method, take a sample, and then use the overall data to iteratively update itself. At this time, the relevant time interval n cor is the duration corresponding to the overall data; when synthesizing through the rolling iteration method, The sampling window is scrolled forward, sampling multiple times, and the sequence obtained at the next time is used to update the weight coefficient obtained at the previous time. At this time, the relevant time interval n cor is the preset duration, and the preset duration can be set according to the actual situation For example, the preset duration can be set to 4 months (or 120 days). In actual synthesis, due to the limited data length, when using rolling iterations, the number of iterations is limited by the total duration of the sampled data. Therefore, the number of iterations may be less due to insufficient data length, which affects the convergence of the weight coefficients. The number of iterations of the iterative method is not limited by the length of the same-year sequence data. Therefore, in this embodiment, preferably, when the SUMPLE algorithm is used to synthesize each year-on-year sequence data, the overall iterative method is selected for synthesis, which can ensure that the weight coefficients of each year-on-year sequence data converge.
参照图4,图4为本申请资产投资建议信息的生成方法的第二实施例,基于第一实施例,所述步骤S100中获取各类资产以确定各类所述资产对应的同比序列数据包括:Referring to Figure 4, Figure 4 is a second embodiment of the method for generating asset investment advice information of the application. Based on the first embodiment, acquiring various assets in step S100 to determine the year-on-year sequence data corresponding to each category of assets includes :
步骤S110,获取观测时刻、预设滞后期以及预设同比序列长度;Step S110: Obtain the observation time, the preset lag period, and the preset year-on-year sequence length;
经研究发现,资产原始价格滞后于其同比序列数据,存在一个滞后期,例如资产原始价格比起同比序列数据慢5个月左右,即周期相位上的变化会在5个月后反映在资产收益率上。换言之,对于观测时刻t,若
Figure PCTCN2020101644-appb-000047
则认为预测时刻t+5对应资产收益率会上升,反之若
Figure PCTCN2020101644-appb-000048
则认为t+5期对应资产收益率会下降。
Research has found that the original asset price lags its year-on-year serial data, and there is a lag period. For example, the original asset price is about 5 months slower than the year-on-year serial data, that is, the change in the cycle phase will be reflected in the asset return after 5 months. Rate. In other words, for the observation time t, if
Figure PCTCN2020101644-appb-000047
It is believed that the corresponding asset return rate will rise at the predicted time t+5, and vice versa if
Figure PCTCN2020101644-appb-000048
It is believed that the return on assets corresponding to period t+5 will decrease.
因此,在本实施例中,在获取了观测时刻和预设同比序列长度后,还需 要获取一个预设滞后期。例如,将预设滞后期设置为5个月。Therefore, in this embodiment, after obtaining the observation time and the preset year-on-year sequence length, it is also necessary to obtain a preset lag period. For example, set the preset lag period to 5 months.
步骤S120,根据所述观测时刻与所述预设滞后期得到结束时刻,并根据所述结束时刻以及所述预设同比序列长度得到开始时刻;Step S120: Obtain an end time according to the observation time and the preset hysteresis period, and obtain a start time according to the end time and the preset year-on-year sequence length;
步骤S130,获取从所述开始时刻到所述结束时刻的各类所述资产的同比序列数据。Step S130: Acquire year-on-year sequence data of various types of the assets from the start time to the end time.
例如,若预设同比序列长度为120,对于观测时刻t=2010年5月31日,需要的同比序列数据是[t-(120+5)月,t-5月],即以日期从2000年1月31日开始到2009年12月31日结束的股票价格月度序列,用来预测2010年5月31日时股票的价格走势。For example, if the preset year-on-year sequence length is 120, for the observation time t = May 31, 2010, the required year-on-year sequence data is [t-(120+5)month, t-5month], that is, the date starts from 2000 The monthly sequence of stock prices starting on January 31, 2009 and ending on December 31, 2009, is used to predict the stock price trend on May 31, 2010.
在本实施例中,在对资产走势进行预测时,根据资产原始价格相对于其同比序列数据的滞后期获取多类资产的同比序列数据,降低了对每一类资产走势预测的误差。In this embodiment, when predicting the asset trend, the year-on-year sequence data of multiple types of assets are obtained according to the lag period of the original asset price relative to the same-year sequence data, which reduces the error of predicting the trend of each type of asset.
参照图5,图5为本申请资产投资建议信息的生成方法的第三实施例,基于第一至第三中任一实施例,所述步骤S220中对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列包括:Referring to FIG. 5, FIG. 5 is a third embodiment of the method for generating asset investment advice information of this application. Based on any one of the first to third embodiments, the filtering corresponding to each type of asset is performed in step S220. The sequence is combined to obtain the combined sequence of each of the preset observation periods, including:
步骤S221,确定各类资产对应的投资风险参数,并根据所述投资风险参数对各类所述资产进行分类以得到各个集合,所述集合内各类所述资产对应的投资风险参数属于同一数值区间;Step S221: Determine investment risk parameters corresponding to various types of assets, and classify the various types of assets according to the investment risk parameters to obtain various sets, and the investment risk parameters corresponding to the various types of assets in the set belong to the same value. Interval
步骤S222,对所述集合内的各类所述资产对应的滤波序列进行合并,以得到每一个所述集合在各个所述预设观测周期的中间合并序列;Step S222: Combine the filter sequences corresponding to the various types of assets in the collection to obtain an intermediate combined sequence of each of the collections in each of the preset observation periods;
步骤S223,对各个所述中间合并序列进行合并,以得到各个所述预设观测周期对应的合并序列。Step S223: Combine each of the intermediate combined sequences to obtain a combined sequence corresponding to each of the preset observation periods.
在本实施例中,在资产的分类方式为投资风险进行分类时,需要将投资风险归为一类的各项资产先进行滤波序列的合并,在对各类资产的合并序列再次进行合并,得到预设观测周期下的最终合并序列。In this embodiment, when the asset classification method is investment risk classification, each asset that needs to be classified as investment risk is first merged with a filter sequence, and the merge sequence of various assets is merged again to obtain The final combined sequence under the preset observation period.
具体的,装置先确定每一类资产对应的滤波序列,每一类资产的分类方式为资产类型分类。装置再确定每一类资产对应的投资风险参数,投资风险参数表征资产的投资风险,投资风险参数越高,该资产的投资风险越大。装置可根据每一类资产的投资风险参数进行各类资产的分类,得到各个集合,集合内的各类资产的投资风险参数属于同一数值区间。例如,由两个集合, 一个集合中的各类资产分别为股票和商品,股票和商品对应的投资风险参数所在的数值区间对应高风险投资;另一个集合的资产则为债券,债券对应的投资风险参数所在的数值区间对应低风险投资。而预设观测周期为42个月,则先根据股票以及商品在42个月对应的滤波序列,确定股票与商品在42个月对应的中间合并序列,将债券的滤波序列作为另一个集合的中间合并序列,再将两个集合对应的中间合并序列在42个月再次进行合并,从而得到高风险投资集合与低风险投资集合在42个月对应的合并序列。Specifically, the device first determines the filter sequence corresponding to each type of asset, and the classification method of each type of asset is asset type classification. The device then determines the investment risk parameter corresponding to each type of asset. The investment risk parameter represents the investment risk of the asset. The higher the investment risk parameter, the greater the investment risk of the asset. The device can classify various types of assets according to the investment risk parameters of each type of asset, and obtain each set. The investment risk parameters of various assets in the set belong to the same numerical range. For example, there are two sets. The various assets in one set are stocks and commodities. The value range of investment risk parameters corresponding to stocks and commodities corresponds to high-risk investments; the assets in the other set are bonds, and bonds correspond to investments. The numerical range of risk parameters corresponds to low-risk investments. The preset observation period is 42 months. First, according to the 42-month filtering sequence of stocks and commodities, determine the intermediate merging sequence of stocks and commodities corresponding to 42 months, and use the bond filtering sequence as the middle of another set. Combine the sequence, and then merge the intermediate merged sequences corresponding to the two sets again at 42 months to obtain the merged sequence corresponding to the high-risk investment set and the low-risk investment set at 42 months.
在本申请中,资产投资建议信息的生成方法可分为八个步骤,具体为:In this application, the method of generating asset investment advice information can be divided into eight steps, specifically:
步骤1:确定各类资产的同比序列数据,而各类资产的分类方式包括资产类型分类以及投资风险分类,因而,可将步骤1拆分为两种情况,其中一种为资产类型分类方式所得的各类资产的同比序列数据,定义为步骤1.1;另一种为投资风险分类方式所得的各类资产的同比序列数据,定义为步骤1.2;Step 1: Determine the year-on-year sequence data of various types of assets. The classification methods of various types of assets include asset type classification and investment risk classification. Therefore, step 1 can be divided into two situations, one of which is derived from asset type classification The year-on-year sequence data of various types of assets is defined as step 1.1; the other is the year-on-year sequence data of various assets obtained by the investment risk classification method, which is defined as step 1.2;
步骤2:确定同比序列数据在各个预设观测周期对应的滤波序列;Step 2: Determine the filter sequence corresponding to the year-on-year sequence data in each preset observation period;
步骤3:将相同的预设观测周期对应的不同滤波序列进行合并得到合并序列,所采用的合并方法有两种,优选采用sumple算法对滤波序列进行合并,而合并的方式有三种,定义为步骤3.1、步骤3.2以及步骤3.3,其中,步骤3.1为将资产按照资产类型分类各类资产的滤波序列的合并,步骤3.2为将资产按照投资风险分类的各类资产的滤波序列的合并,步骤3.3则是针对资产为投资风险分类的同一类资产中不同种类资产的滤波序列先合并,再将各类资产对应的初步合并的序列再进行合并;Step 3: Combine different filter sequences corresponding to the same preset observation period to obtain a combined sequence. There are two merging methods used, preferably the sum algorithm is used to merge the filter sequences, and there are three merging methods, which are defined as steps 3.1. Steps 3.2 and 3.3, where step 3.1 is the combination of filtering sequences of various assets classified by asset type, step 3.2 is the combination of filtering sequences of various assets classified by investment risk, and step 3.3 is It is to merge the filter sequences of different types of assets in the same category of assets with investment risk classification, and then merge the preliminary merged sequences corresponding to each type of asset;
步骤4:将合并序列进行外推,也即对合并序列进行高斯滤波外推,得到外推合并序列;Step 4: Extrapolate the combined sequence, that is, perform Gaussian filter extrapolation on the combined sequence to obtain an extrapolated combined sequence;
步骤5:将同比序列数据以及合并序列输入线性回归模型中得到线性回归系数,步骤5包括2种不同的步骤,分别为步骤5.1以及步骤5.2,步骤5.1为将资产对应的同步序列数据作为因变量且合并序列作为自变量进行带截距项的线性回归,得到线性回归系数,而步骤5.2为将资产对应的同步序列数据的差分作为因变量且合并序列作为自变量进行带截距项的线性回归,得到线性回归系数;Step 5: Input the year-on-year sequence data and the combined sequence into the linear regression model to obtain the linear regression coefficients. Step 5 includes two different steps, namely Step 5.1 and Step 5.2. Step 5.1 uses the synchronized sequence data corresponding to the asset as the dependent variable. And the combined sequence is used as the independent variable to perform linear regression with intercept term to obtain the linear regression coefficient, and step 5.2 is to use the difference of the synchronized sequence data corresponding to the asset as the dependent variable and the combined sequence as the independent variable to perform linear regression with intercept term , Get the linear regression coefficient;
步骤6:以外推合并序列作为自变量、线性回归系数作为系数,对资产同步序列数据进行拟合预测得到预测值,且获取当前时间,也即当前期的拟合 值,通过预测值与拟合值做差,并进行滞后期调整,得到预测涨跌幅;Step 6: Extrapolate the combined sequence as the independent variable and linear regression coefficient as the coefficient, perform fitting prediction on the asset synchronization sequence data to obtain the predicted value, and obtain the current time, that is, the fitted value of the current period, through the predicted value and fitting Make the difference between the value and adjust the lag period to get the predicted rise and fall;
步骤7:按照预测涨跌幅的大小,对各类资产进行排序,从而确定各类资产对应的投资权重;Step 7: Sort all kinds of assets according to the magnitude of the predicted rise and fall, so as to determine the investment weights corresponding to all kinds of assets;
步骤8:根据各类资产的投资权重,生成资产投资建议信息。Step 8: Generate asset investment advice information based on the investment weight of various assets.
由于步骤1中包括两种处理情况、步骤3中包括三种处理情况以及步骤5中包括两种处理情况,对这三个步骤的不同处理情况进行排序组合,经实测,得到投资建议信息最为准确的两种策略,Since step 1 includes two processing situations, step 3 includes three processing situations, and step 5 includes two processing situations, the different processing situations of these three steps are sorted and combined, and the investment advice information is the most accurate after actual measurement. Two strategies,
其中,策略一为:步骤1.1+步骤2+步骤3.1+步骤4+步骤5.1+步骤6+步骤7+步骤8;Among them, strategy one is: Step 1.1+Step 2+Step 3.1+Step 4+Step 5.1+Step 6+Step 7+Step 8;
策略二为:步骤1.2+步骤2+步骤3.3+步骤4+步骤5.1+步骤6+步骤7+步骤8。The second strategy is: Step 1.2+Step 2+Step 3.3+Step 4+Step 5.1+Step 6+Step 7+Step 8.
本申请还提供一种资产投资建议信息的生成装置,所述资产投资建议信息的生成装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被所述处理器执行时实现如上实施例所述的资产投资建议信息的生成方法的步骤。The present application also provides a device for generating asset investment advice information. The device for generating asset investment advice information includes: a memory, a processor, and asset investment advice information stored on the memory and running on the processor The generating program of the asset investment recommendation information is executed by the processor to implement the steps of the method for generating asset investment recommendation information as described in the above embodiment.
本申请还提供一种可读存储介质,所述可读存储介质上存储有资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被处理器执行时实现如上实施例所述的资产投资建议信息的生成方法的步骤。The present application also provides a readable storage medium on which a program for generating asset investment advice information is stored. When the program for generating asset investment advice information is executed by a processor, the asset as described in the above embodiment is implemented. Steps of the method of generating investment advice information.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (9)

  1. 一种资产投资建议信息的生成方法,其中,所述资产投资建议信息的生成方法包括以下步骤:A method for generating asset investment advice information, wherein the method for generating asset investment advice information includes the following steps:
    获取各类资产以确定各类所述资产对应的同比序列数据,其中,各类所述资产的分类方式包括资产类型分类以及投资风险分类;Obtain various types of assets to determine the year-on-year sequence data corresponding to the various types of assets, where the classification methods of the various types of assets include asset type classification and investment risk classification;
    根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅;Determine the predicted increase and decrease corresponding to each type of asset according to each of the said year-on-year sequence data;
    根据各个所述预测涨跌幅确定各类所述资产的投资权重。Determine the investment weights of the various types of assets according to each of the predicted fluctuations.
  2. 如权利要求1所述的资产投资建议信息的生成方法,其中,所述根据各个所述同比序列数据确定每一类所述资产对应的预测涨跌幅的步骤包括:4. The method for generating asset investment advice information according to claim 1, wherein the step of determining the predicted fluctuation range corresponding to each type of the asset according to each of the year-on-year sequence data comprises:
    根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列;Determine the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data;
    对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列,并确定所述合并序列的输出长度,以对所述输出长度进行预设长度的修改以得到外推合并序列;Combine the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods, and determine the output length of the combined sequence, so as to modify the output length by the preset length to obtain Extrapolate the combined sequence;
    将各个所述同比序列数据以及所述合并序列输入线性回归模型,以得到线性回归系数;Input each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients;
    根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅。According to the extrapolated combined sequence and the linear regression coefficient, a fitting prediction of the same-year sequence data is performed on each type of asset to determine the predicted increase or decrease corresponding to the various types of assets.
  3. 如权利要求2所述的资产投资建议信息的生成方法,其中,所述对各类所述资产对应的所述滤波序列进行合并得到各个所述预设观测周期的合并序列的步骤包括:3. The method for generating asset investment advice information according to claim 2, wherein the step of combining the filter sequences corresponding to the various types of assets to obtain the combined sequence of each of the preset observation periods comprises:
    确定各类资产对应的投资风险参数,并根据所述投资风险参数对各类所述资产进行分类以得到各个集合,所述集合内各类所述资产对应的投资风险参数属于同一数值区间;Determine investment risk parameters corresponding to various types of assets, and classify the various types of assets according to the investment risk parameters to obtain various sets, and the investment risk parameters corresponding to the various types of assets in the set belong to the same numerical range;
    对所述集合内的各类所述资产对应的滤波序列进行合并,以得到每一个所述集合在各个所述预设观测周期的中间合并序列;Merging the filter sequences corresponding to the various types of assets in the collection to obtain an intermediate merging sequence of each of the collections in each of the preset observation periods;
    对各个所述中间合并序列进行合并,以得到各个所述预设观测周期对应的合并序列。Merging each of the intermediate merged sequences to obtain a merged sequence corresponding to each of the preset observation periods.
  4. 如权利要求2所述的资产投资建议信息的生成方法,其中,所述将各个所述同比序列数据以及所述合并序列输入线性回归模型,以得到线性回归系数的步骤包括:3. The method for generating asset investment recommendation information according to claim 2, wherein the step of inputting each of the year-on-year sequence data and the combined sequence into a linear regression model to obtain linear regression coefficients comprises:
    将各个所述同比序列数据作为因变量,且将所述合并序列作为自变量,以输入线性回归模型中,得到线性回归系数。Each of the year-on-year sequence data is used as a dependent variable, and the combined sequence is used as an independent variable to input into a linear regression model to obtain a linear regression coefficient.
  5. 如权利要求2所述的资产投资建议信息的生成方法,其中,所述根据各个所述预测涨跌幅,确定各类所述资产对应的投资权重的步骤包括:3. The method for generating asset investment advice information according to claim 2, wherein the step of determining the investment weights corresponding to the various types of assets according to each of the predicted fluctuations comprises:
    对各个所述预测涨跌幅进行从大到小的排序;Sort each of the predicted fluctuations in descending order;
    根据排序的各个所述预测涨跌幅,确定各个所述预测涨跌幅对应的资产的投资权重,其中,所述预测涨跌幅越大,所述预测涨跌幅对应的资产的投资权重越大。Determine the investment weight of the asset corresponding to each of the predicted fluctuations according to each of the predicted fluctuations in the order, wherein, the greater the predicted fluctuation, the greater the investment weight of the asset corresponding to the predicted fluctuation Big.
  6. 如权利要求2所述的资产投资建议信息的生成方法,其中,所述根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测涨跌幅的步骤包括:The method for generating asset investment recommendation information according to claim 2, wherein the fitting prediction of the year-on-year sequence data is performed on each type of asset according to the extrapolated combined sequence and the linear regression coefficient to determine each The steps of predicting the corresponding rise and fall of the asset class include:
    根据所述外推合并序列以及所述线性回归系数,对每一类资产进行同比序列数据的拟合预测,以确定各类所述资产对应的预测值;According to the extrapolated combined sequence and the linear regression coefficient, perform a fitting prediction of the same-year sequence data for each type of asset to determine the predicted value corresponding to the various types of assets;
    确定各类所述资产在当前时间对应的拟合值;Determine the fitting values corresponding to the various types of assets at the current time;
    对每一类资产对应的预测值与拟合值做差,以得到每一类所述资产对应的预测涨跌幅。The predicted value and the fitted value corresponding to each type of asset are differentiated to obtain the predicted increase or decrease corresponding to each type of asset.
  7. 如权利要求2-5任一项所述资产投资建议信息的生成方法,其中,所述根据所述同比序列数据确定每一类资产在各个预设观测周期对应的滤波序列的步骤包括:The method for generating asset investment advice information according to any one of claims 2-5, wherein the step of determining the filter sequence corresponding to each type of asset in each preset observation period according to the year-on-year sequence data comprises:
    对所述同比序列数据进行补零,并对补零后的同比序列数据进行傅里叶变换,得到对应的频域数据;Performing zero padding on the year-on-year sequence data, and performing Fourier transform on the year-on-year sequence data after zero padding to obtain corresponding frequency domain data;
    根据每一个所述预设观测周期确定一组滤波器系数,并根据所述滤波器系数与所述频域数据得到中间序列;Determine a set of filter coefficients according to each of the preset observation periods, and obtain an intermediate sequence according to the filter coefficients and the frequency domain data;
    对所述中间序列进行逆傅里叶变换,得到所述资产在各个所述预设观测周期下的滤波序列。Perform an inverse Fourier transform on the intermediate sequence to obtain a filter sequence of the asset in each of the preset observation periods.
  8. 一种资产投资建议信息的生成装置,其中,所述资产投资建议信息的生成装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上 运行的资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被所述处理器执行时实现如权利要求1至7中任一项所述的资产投资建议信息的生成方法的步骤。A device for generating asset investment advice information, wherein the device for generating asset investment advice information includes: a memory, a processor, and generation of asset investment advice information stored on the memory and running on the processor A program, when the asset investment recommendation information generation program is executed by the processor, the steps of the asset investment recommendation information generation method according to any one of claims 1 to 7 are realized.
  9. 一种可读存储介质,其中,所述可读存储介质上存储有资产投资建议信息的生成程序,所述资产投资建议信息的生成程序被处理器执行时实现如权利要求1至7中任一项所述的资产投资建议信息的生成方法的步骤。A readable storage medium, wherein a program for generating asset investment advice information is stored on the readable storage medium, and when the program for generating asset investment advice information is executed by a processor, the implementation is as in any one of claims 1 to 7 The steps of the method for generating asset investment advice information described in the item.
PCT/CN2020/101644 2019-11-25 2020-07-13 Method and apapratus for generating asset investment suggestion information and readable storage medium WO2021103571A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911169350.X 2019-11-25
CN201911169350.XA CN111126666A (en) 2019-11-25 2019-11-25 Method and device for generating asset investment suggestion information and readable storage medium

Publications (1)

Publication Number Publication Date
WO2021103571A1 true WO2021103571A1 (en) 2021-06-03

Family

ID=70496684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/101644 WO2021103571A1 (en) 2019-11-25 2020-07-13 Method and apapratus for generating asset investment suggestion information and readable storage medium

Country Status (2)

Country Link
CN (1) CN111126666A (en)
WO (1) WO2021103571A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110458352A (en) * 2019-08-06 2019-11-15 华泰证券股份有限公司 Predict method, server and the computer readable storage medium of assets price tendency
CN111126666A (en) * 2019-11-25 2020-05-08 华泰证券股份有限公司 Method and device for generating asset investment suggestion information and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150768A1 (en) * 2010-12-09 2012-06-14 Kotelba Marek R Computerized investor advisement and investment management system
CN108717664A (en) * 2018-04-03 2018-10-30 平安科技(深圳)有限公司 Portfolio Optimization method, apparatus and storage medium
CN109300030A (en) * 2018-08-17 2019-02-01 北京奇虎科技有限公司 Realize the method and apparatus that equity investment is recommended
CN109978214A (en) * 2017-12-28 2019-07-05 广州潽蓝信息科技有限公司 A kind of method and apparatus for screening destination financial product
CN110458352A (en) * 2019-08-06 2019-11-15 华泰证券股份有限公司 Predict method, server and the computer readable storage medium of assets price tendency
CN111126666A (en) * 2019-11-25 2020-05-08 华泰证券股份有限公司 Method and device for generating asset investment suggestion information and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150768A1 (en) * 2010-12-09 2012-06-14 Kotelba Marek R Computerized investor advisement and investment management system
CN109978214A (en) * 2017-12-28 2019-07-05 广州潽蓝信息科技有限公司 A kind of method and apparatus for screening destination financial product
CN108717664A (en) * 2018-04-03 2018-10-30 平安科技(深圳)有限公司 Portfolio Optimization method, apparatus and storage medium
CN109300030A (en) * 2018-08-17 2019-02-01 北京奇虎科技有限公司 Realize the method and apparatus that equity investment is recommended
CN110458352A (en) * 2019-08-06 2019-11-15 华泰证券股份有限公司 Predict method, server and the computer readable storage medium of assets price tendency
CN111126666A (en) * 2019-11-25 2020-05-08 华泰证券股份有限公司 Method and device for generating asset investment suggestion information and readable storage medium

Also Published As

Publication number Publication date
CN111126666A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
Chiu et al. Forecasting with VAR models: Fat tails and stochastic volatility
Cimadomo et al. Nowcasting with large Bayesian vector autoregressions
Horváth et al. Testing stationarity of functional time series
Aït‐Sahalia et al. Nonparametric estimation of state‐price densities implicit in financial asset prices
Barsoum et al. Forecasting GDP growth using mixed-frequency models with switching regimes
WO2021103572A1 (en) Method and apparatus for generating asset investment suggestion infromation, and readable storage medium
Ricco A new identification of fiscal shocks based on the information flow
WO2021022977A1 (en) Method for predictng asset price trends, server and computer readable storage medium
WO2021103571A1 (en) Method and apapratus for generating asset investment suggestion information and readable storage medium
WO2022105177A1 (en) User profile method and apparatus for credit card client, device, and medium
Levant et al. A dynamic Nelson-Siegel yield curve model with Markov switching
Caraiani et al. Evidence of multifractality from CEE exchange rates against Euro
Denault et al. Dynamic portfolio choice: a simulation-and-regression approach
CN116362823A (en) Recommendation model training method, recommendation method and recommendation device for behavior sparse scene
CN111242284A (en) Prediction method and device
Balbus et al. Markov perfect equilibria in a dynamic decision model with quasi-hyperbolic discounting
WO2021051976A1 (en) Financial time sequence synthesis method and device, and storage medium
WO2023050649A1 (en) Esg index determination method based on data complementing, and related product
US20210304310A1 (en) System and method for estimating multifactor models of illiquid, stale and noisy financial and economic data
Ergemen Parametric estimation of long memory in factor models
Kiss et al. Modelling Okun’s law: Does non-Gaussianity matter?
Farné et al. A bootstrap test to detect prominent Granger-causalities across frequencies
Zhao Real-Time Density Forecasts of Output and Inflation via Quantile Regression
Elbers et al. Convergence, shocks and poverty
Ganesan et al. Estimating future VaR from value samples and applications to future initial margin

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20894215

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20894215

Country of ref document: EP

Kind code of ref document: A1