TWI708202B - Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method - Google Patents

Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method Download PDF

Info

Publication number
TWI708202B
TWI708202B TW108113283A TW108113283A TWI708202B TW I708202 B TWI708202 B TW I708202B TW 108113283 A TW108113283 A TW 108113283A TW 108113283 A TW108113283 A TW 108113283A TW I708202 B TWI708202 B TW I708202B
Authority
TW
Taiwan
Prior art keywords
ratio data
debt ratio
equity
historical
processor
Prior art date
Application number
TW108113283A
Other languages
Chinese (zh)
Other versions
TW202040480A (en
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 元大證券投資信託股份有限公司
Priority to TW108113283A priority Critical patent/TWI708202B/en
Application granted granted Critical
Publication of TWI708202B publication Critical patent/TWI708202B/en
Publication of TW202040480A publication Critical patent/TW202040480A/en

Links

Images

Abstract

A stock-to-bond ratio trend prediction system is adapted to predict an operation strategy of historical stock-to-bond ratio data for a next transaction date. The prediction system includes a processor, a storage module, and an output module signally connected with each other. Accordingly, the processor is adapted to build a survival probability model to estimate possible developing trend for the stock-to-bond ratio so as to provide proper operation strategy. A stock-to-bond ratio trend prediction method is also provided.

Description

股債比趨勢預測系統及其方法System and method for forecasting stock-debt ratio trend

本發明關於一種金融商品投資預測的相關技術,特別是關於一種股債比趨勢預測系統及其方法。The present invention relates to a related technology of financial product investment prediction, and particularly relates to a system and method for predicting the trend of equity-debt ratio.

隨著人類生活水準的提升,除了透過工作而獲取主動收入以外,也有愈來愈多人以投資理財的方式獲取被動收入。適格的投資標的係不勝枚舉,而其中各式金融商品(如股票、債券、基金等)由於公開資訊相對豐富,較受人們青睞。With the improvement of human living standards, in addition to earning active income through work, more and more people are earning passive income through investment and financial management. The list of eligible investment targets is endless, and various financial products (such as stocks, bonds, funds, etc.) are more popular due to the relatively abundant public information.

除了投資單一金融商品外,也有些人透過資產組合進行複合式的投資操作以提升投資績效,當中資產組合可以包括本質上風險較高的股票以及風險較低的債券。In addition to investing in a single financial product, some people also use asset portfolios to perform compound investment operations to improve investment performance. The asset portfolio can include inherently higher risk stocks and lower risk bonds.

為了能夠有效地預測包括股票及債券的資產組合的漲跌趨勢,在一實施例中,一種股債比趨勢預測系統,適用於預測多個歷史股債比資料的下一個交易日的操作策略。預測系統包括彼此訊號連接的處理器、儲存模組以及輸出模組。處理器自儲存模組取得該些歷史股債比資料,各歷史股債比資料包括多個特徵值。處理器以該些歷史股債比資料建立生存機率模型,生存機率模型包括各歷史股債比資料分別在多個預測趨勢的一生存機率,並且於各歷史股債比資料中最高的生存機率所對應的預測趨勢為各歷史股債比資料的受選預測趨勢。處理器以該些歷史股債比資料的該些受選預測趨勢決定下一個交易日的操作策略。In order to be able to effectively predict the rise and fall trends of asset portfolios including stocks and bonds, in one embodiment, a stock-to-debt ratio trend prediction system is suitable for predicting the operation strategy of the next trading day of multiple historical stock-to-debt ratio data. The prediction system includes a processor, a storage module, and an output module that are signal-connected to each other. The processor obtains the historical equity-debt ratio data from the storage module, and each historical equity-debt ratio data includes a plurality of characteristic values. The processor builds a survival probability model based on the historical equity-debt ratio data. The survival probability model includes a survival probability of each historical equity-debt ratio data in multiple predicted trends, and is determined by the highest survival probability among the historical equity-debt ratio data. The corresponding forecast trend is the selected forecast trend of each historical equity-debt ratio data. The processor determines the operation strategy for the next trading day based on the selected forecast trends of the historical equity-debt ratio data.

在一或多個實施例中,處理器更以該些歷史股債比資料以及至少一市場資訊建立生存機率模型。更進一步地,處理器更以該些歷史股債比資料以及至少一市場資訊作為隨機生存森林演算法的輸入值而建立生存機率模型。In one or more embodiments, the processor further builds a survival probability model based on the historical equity-to-debt ratio data and at least one piece of market information. Further, the processor further uses the historical equity-to-debt ratio data and at least one piece of market information as input values of the random survival forest algorithm to establish a survival probability model.

在一或多個實施例中,處理器更依據各特徵值的不同的條件,將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料,並且處理器更依據該些第一歷史股債比資料建立生存機率模型。更進一步地,處理器更依據該些第二歷史股債比資料取得母體混淆矩陣以及多個子樣本混淆矩陣,其中母體混淆矩陣對應受選預測趨勢具有母體準確率,各子樣本混淆矩陣對應受選預測趨勢具有子樣本準確率,處理器還判斷各第一歷史股債比資料滿足分群條件,分群條件對應該些子樣本混淆矩陣中之受選子樣本混淆矩陣,處理器更根據母體混淆矩陣的母樣本準確率與受選子樣本混淆矩陣的子樣本準確率之較高者的受選預測趨勢做為各第一歷史股債比資料的受選預測趨勢。In one or more embodiments, the processor further divides the historical equity ratio data into a plurality of first historical equity ratio data and a plurality of second historical equity ratio data according to different conditions of each characteristic value , And the processor builds a survival probability model based on the first historical equity ratio data. Furthermore, the processor obtains the parent confusion matrix and multiple sub-sample confusion matrices based on the second historical equity-to-debt ratio data, where the parent confusion matrix corresponds to the selected prediction trend and has a maternal accuracy rate, and each sub-sample confusion matrix corresponds to the selected The prediction trend has a sub-sample accuracy rate. The processor also judges that each first historical equity-to-debt ratio data meets the grouping conditions. The grouping conditions correspond to the confusion matrix of the selected sub-samples in the confusion matrix of the sub-samples. The selected forecast trend of the higher of the accuracy of the parent sample and the sub-sample accuracy of the confusion matrix of the selected sub-sample is used as the selected forecast trend of each first historical equity-debt ratio data.

在一或多個實施例中,當各第一歷史股債比資料中最高的生存機率大於高門檻值時,處理器判斷各第一歷史股債比資料滿足分群條件。進一步地,高門檻值位於0.6至0.9之間。In one or more embodiments, when the highest survival probability in each first historical equity-debt ratio data is greater than the high threshold value, the processor determines that each first historical equity-debt ratio data meets the grouping condition. Further, the high threshold is between 0.6 and 0.9.

在一或多個實施例中,當各第一歷史股債比資料的對應該些預測趨勢中的其中之一的生存機率大於低門檻值時,處理器判斷各第一歷史股債比資料滿足分群條件。進一步地,低門檻值位於0.4至0.5之間。In one or more embodiments, when the survival probability of each of the first historical equity-debt ratio data corresponding to one of the predicted trends is greater than the low threshold value, the processor determines that each first historical equity-debt ratio data satisfies Grouping conditions. Further, the low threshold is between 0.4 and 0.5.

在一或多個實施例中,處理器更對該些歷史股債比資料的下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的強度值,並且處理器更依據該些近期股債比資料的強度值以及該些近期股債比資料的該些受選預測趨勢的標準差決定下一個交易日的操作策略。In one or more embodiments, the processor further performs a moving weighted average calculation on the selected forecast trends corresponding to the multiple recent equity-debt ratio data before the next trading day of the historical equity-debt ratio data. The strength value of the recent equity-debt ratio data, and the processor further determines the next trading day based on the strength value of the recent equity-debt ratio data and the standard deviation of the selected forecast trends of the recent equity-debt ratio data Operational strategy.

在另一實施例中,一種股債比趨勢預測方法,適用於預測多個歷史股債比資料的下一個交易日的操作策略,預測方法包括歷史股債比資料取得步驟:取得該些歷史股債比資料,其中各歷史股債比資料包括多個特徵值;生存機率模型建立步驟:以該些歷史股債比資料建立生存機率模型,其中生存機率模型包括各歷史股債比資料分別在多個預測趨勢的生存機率,且於各歷史股債比資料中最高的生存機率所對應的預測趨勢為各歷史股債比資料的受選預測趨勢;以及操作策略決定步驟:以該些歷史股債比資料的該些受選預測趨勢決定下一個交易日的操作策略。In another embodiment, a method for predicting the trend of stock-to-debt ratio is applicable to the operation strategy for predicting multiple historical stock-to-debt ratio data on the next trading day. The prediction method includes the step of obtaining historical stock-to-debt ratio data: obtaining the historical stocks Debt ratio data, where each historical equity-debt ratio data includes multiple characteristic values; the steps for establishing a survival probability model: use the historical equity-debt ratio data to establish a survival probability model, where the survival probability model includes each historical equity-debt ratio data. The survival probability of a predicted trend, and the predicted trend corresponding to the highest survival probability in each historical stock-debt ratio data is the selected forecast trend of each historical stock-debt ratio data; and the operation strategy decision step: use these historical stocks The selected forecast trend of the data determines the operation strategy for the next trading day.

在一或多個實施例中,於該生存機率模型建立步驟中,更包括:以該些歷史股債比資料以及至少一市場資訊建立生存機率模型。更進一步地,於該生存機率模型建立步驟中,更包括:以該些歷史股債比資料以及至少一市場資訊作為隨機森林演算法的輸入值而建立生存機率模型。In one or more embodiments, the step of establishing the survival probability model further includes: establishing a survival probability model based on the historical equity-debt ratio data and at least one market information. Furthermore, the step of establishing the survival probability model further includes: using the historical equity-to-debt ratio data and at least one market information as the input value of the random forest algorithm to establish the survival probability model.

在一或多個實施例中,於該生存機率建立模型步驟中,更包括:依據各特徵值的不同的條件,將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料;以及依據該些第一歷史股債比資料建立生存機率模型。更進一步地,於該生存機率建立模型步驟中,更包括:依據該些第二歷史股債比資料取得母體混淆矩陣以及多個子樣本混淆矩陣,其中母體混淆矩陣對應受選預測趨勢具有母體準確率,各子樣本混淆矩陣對應受選預測趨勢具有子樣本準確率;判斷各第一歷史股債比資料滿足分群條件,其中分群條件對應該些子樣本混淆矩陣中之受選子樣本混淆矩陣;以及根據母體混淆矩陣的母樣本準確率與受選子樣本混淆矩陣的子樣本準確率之較高者的受選預測趨勢做為各第一歷史股債比資料的受選預測趨勢。In one or more embodiments, the step of establishing the survival probability model further includes: according to different conditions of each characteristic value, dividing the historical equity-debt ratio data into a plurality of first historical equity-debt ratio data and A plurality of second historical equity-debt ratio data; and establishing a survival probability model based on the first historical equity-debt ratio data. Furthermore, the step of establishing the survival probability model further includes: obtaining a parent confusion matrix and a plurality of sub-sample confusion matrices based on the second historical equity-to-debt ratio data, wherein the parent confusion matrix has a maternal accuracy rate corresponding to the selected predicted trend , Each sub-sample confusion matrix has a sub-sample accuracy rate corresponding to the selected forecast trend; judging that each first historical equity-debt ratio data meets the grouping condition, where the grouping condition corresponds to the selected sub-sample confusion matrix in some sub-sample confusion matrix; and The selected prediction trend of the higher of the accuracy of the parent sample of the parent confusion matrix and the sub-sample accuracy of the selected sub-sample confusion matrix is used as the selected prediction trend of each first historical equity-debt ratio data.

在一或多個實施例中,於該生存機率建立模型步驟中,更包括:當各第一歷史股債比資料中最高的該生存機率大於高門檻值時,判斷各第一歷史股債比資料滿足分群條件。更進一步地,高門檻值位於0.6至0.9之間。In one or more embodiments, the step of establishing the survival probability model further includes: when the highest survival probability in each first historical equity ratio data is greater than a high threshold, judging each first historical equity ratio The data meets the grouping conditions. Furthermore, the high threshold is between 0.6 and 0.9.

在一或多個實施例中,於該生存機率建立模型步驟中,更包括:當各第一歷史股債比資料的對應該些預測趨勢中的其中之一的生存機率大於低門檻值時,判斷各第一歷史股債比資料滿足分群條件。更進一步地,該低門檻值位於0.4至0.5之間。In one or more embodiments, the step of establishing the survival probability model further includes: when the survival probability of one of the predicted trends corresponding to each first historical equity ratio data is greater than the low threshold, It is judged that the data of the first historical equity-debt ratio meets the grouping conditions. Furthermore, the low threshold is between 0.4 and 0.5.

在一或多個實施例中,於該操作策略決定步驟中,更包括:對該些歷史股債比資料的下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的強度值;以及依據該些近期股債比資料的強度值以及該些近期股債比資料的該些受選預測趨勢的標準差決定下一個交易日的操作策略。In one or more embodiments, the step of determining the operation strategy further includes: the selected forecasts corresponding to the multiple recent equity-debt ratio data before the next trading day of the historical equity-debt ratio data The trend is calculated by moving weighted average to obtain the intensity value of the recent equity-debt ratio data; and determined based on the intensity value of the recent equity-debt ratio data and the standard deviation of the selected forecast trends of the recent equity-debt ratio data Operation strategy for the next trading day.

綜合上述內容,根據本發明一或多個實施例所述的股債比趨勢預測系統及其方法,係利用生存機率模型估算可能的趨勢而提供適當的操作策略。在一些實施例中,可以將歷史股債比資料分為第一歷史股債比資料與第二歷史股債比資料,並以第一歷史股債比資料作為訓練資料而輸入模型,而以第二歷史股債比資料做為驗證資料而對應產生母體混淆矩陣與子樣本混淆矩陣,並透過分群條件對第一歷史股債比資料的各筆資料進行情境切割,以提升預測準確性。再者,於一或多個實施例中,可以透過移動加權平均的方式使輸出訊號較為平滑,因此不需要頻繁地變換股債比例,而可有效地節省交易成本,進而提升獲利。In summary, the system and method for predicting the trend of equity-debt ratio according to one or more embodiments of the present invention use a survival probability model to estimate possible trends and provide appropriate operating strategies. In some embodiments, the historical stock-to-debt ratio data can be divided into the first historical stock-to-debt ratio data and the second historical stock-to-debt ratio data, and the first historical stock-to-debt ratio data is used as training data to input the model, and the 2. The historical equity-to-debt ratio data is used as the verification data to generate the parent confusion matrix and the sub-sample confusion matrix, and the first historical equity-to-debt ratio data is contextually cut through the grouping conditions to improve the accuracy of prediction. Furthermore, in one or more embodiments, the output signal can be made smoother by means of moving weighted average, so there is no need to frequently change the ratio of stocks and debts, which can effectively save transaction costs and increase profits.

如圖1所示,係繪示本發明一實施例的股債比趨勢預測系統(以下簡稱預測系統80),其適用於預測多個歷史股債比資料的下一個交易日的一操作策略。換句話說,預測系統80可提供下一個交易日的操作策略,其可為積極、穩健、或保守,使用者再根據所提供的操作策略調整持有的股票與債券比例的配置。各筆股債比資料包括交易日期以及股債比值,股債比值為股票的報酬與債券的報酬的相除值。當股債比值趨勢為上升時,表示應該繼續增加股票比例而減少債券比例進行積極操作;另一方面,當股債比值趨勢為下降時,則表示應該增加債券比例而減少股票比例進行保守操作。As shown in FIG. 1, it shows a stock-to-debt ratio trend prediction system (hereinafter referred to as the forecasting system 80) according to an embodiment of the present invention, which is suitable for an operation strategy for predicting multiple historical stock-to-debt ratio data on the next trading day. In other words, the forecasting system 80 can provide an operating strategy for the next trading day, which can be active, stable, or conservative, and the user can then adjust the allocation of the ratio of stocks to bonds held according to the provided operating strategy. The stock-to-debt ratio information includes the transaction date and the stock-to-debt ratio. The stock-to-debt ratio is the divided value of the return on stocks and the return on bonds. When the stock-to-debt ratio trend is rising, it means that the stock ratio should continue to be increased while reducing the bond ratio for active operations; on the other hand, when the stock-to-debt ratio trend is declining, it means that the bond ratio should be increased while reducing the stock ratio for conservative operations.

如圖1所示,預測系統80包括處理器81、儲存模組82以及輸出模組83。處理器81、儲存模組82以及輸出模組83彼此透過有線或無線訊號連接。舉例而言,預測系統80可以是工業電腦、個人電腦、筆記型電腦、智慧型手機、平板電腦等。於此,處理器81可以由一個或多個處理元件實現。於此,各處理元件可以是微處理器、微控制器、數位信號處理器、微型計算機、中央處理器、場編程閘陣列、可編程邏輯設備、狀態器、邏輯電路、類比電路、數位電路和/或任何基於操作指令操作信號(類比和/或數位)的裝置,但在此並不對其限制。儲存模組82可以由一個或多個儲存元件所實現。其中,各儲存元件可以是例如非揮發式記憶體、硬碟、光碟、或磁帶等,但在此並不對其限制。另外,需要說明的是,儲存模組82中所儲存的資料可以來自於透過有線或無線連接的終端機,而可進行即時性或批次性的更新。輸出模組83可以是螢幕、印表機、語音輸出裝置(例如喇叭),但在此並不對其限制。以下係針對各元件於此預測系統的功能進行進一步說明。As shown in FIG. 1, the prediction system 80 includes a processor 81, a storage module 82 and an output module 83. The processor 81, the storage module 82, and the output module 83 are connected to each other through wired or wireless signals. For example, the prediction system 80 may be an industrial computer, a personal computer, a notebook computer, a smart phone, a tablet computer, etc. Here, the processor 81 may be implemented by one or more processing elements. Here, each processing element can be a microprocessor, a microcontroller, a digital signal processor, a microcomputer, a central processing unit, a field programming gate array, a programmable logic device, a state machine, a logic circuit, an analog circuit, a digital circuit, and /Or any device based on the operation command signal (analog and/or digital), but it is not limited here. The storage module 82 may be realized by one or more storage elements. Among them, each storage element can be, for example, a non-volatile memory, a hard disk, an optical disk, or a tape, but it is not limited here. In addition, it should be noted that the data stored in the storage module 82 can come from a terminal connected via a wired or wireless connection, and can be updated in real time or in batches. The output module 83 can be a screen, a printer, or a voice output device (such as a speaker), but it is not limited here. The following is a further description of the functions of each component in this prediction system.

首先,處理器81自儲存模組82取得歷史股債比資料。股債比資料係可用以反映某個投資組合的股債比持股水位。其中,各歷史股債比資料包括多個特徵值。特徵值包括此投資組合的股票持有比例以及對應的技術指標(例如但不限於MACD、KD、布林通道、RSI等)。股票持有比例愈高反映的是債券的持有比例愈低,投資策略較為積極;股票持有比例愈低反映的是債券的持有比例愈高,則投資策略較為保守;又若是股票與債券持有比例相當,則投資策略較為穩健。First, the processor 81 obtains historical equity-debt ratio data from the storage module 82. The stock-to-debt ratio data can be used to reflect the stock-to-debt ratio of a certain investment portfolio. Among them, each historical stock-to-debt ratio data includes multiple characteristic values. The characteristic value includes the stock holding ratio of this portfolio and the corresponding technical indicators (such as but not limited to MACD, KD, Bollinger Bands, RSI, etc.). The higher the stock holding ratio reflects the lower the bond holding ratio, and the more active investment strategy; the lower the stock holding ratio reflects the higher the bond holding ratio, the more conservative the investment strategy; if it is stocks and bonds If the holding ratio is equal, the investment strategy is relatively stable.

接著,處理器81以該些歷史股債比資料建立生存機率模型。生存機率模型包括各歷史股債比資料分別在上漲趨勢、下跌趨勢以及盤整趨勢的生存機率。於各歷史股債比資料中最高的生存機率所對應的預測趨勢為各歷史股債比資料的受選預測趨勢。舉例來說,以下表1為例,表1繪示一部份的歷史股債比資料經過生存機率模型後所獲得的預測結果,其中包括各筆歷史股債比資料分別在上漲、下跌以及盤整趨勢的生存機率,並且生存機率最高者所對應的趨勢為受選預測趨勢。以2018年11月1日之資料為例,當日股債比資料在下跌趨勢的生存機率為0.18666667,在盤整趨勢的生存機率為0.34666667,而在上漲趨勢的生存機率為0.46666667。因此,2018年11月1日當日股債比資料的受選預測趨勢為上漲,其餘各日情況以此類推不再贅述。Then, the processor 81 establishes a survival probability model based on the historical equity-debt ratio data. The survival probability model includes the survival probability of each historical stock-to-debt ratio in an upward trend, a downward trend, and a consolidation trend. The predicted trend corresponding to the highest survival probability in each historical equity-debt ratio data is the selected forecast trend of each historical equity-debt ratio data. For example, take Table 1 below as an example. Table 1 shows some of the historical stock-to-debt ratio data obtained after the survival probability model, including the historical stock-to-debt ratio data are rising, falling and consolidating. The survival probability of the trend, and the trend corresponding to the highest survival probability is the selected predicted trend. Taking the data on November 1, 2018 as an example, the survival probability of the stock-to-debt ratio data on the day in a downward trend is 0.18666667, the survival probability in a consolidation trend is 0.34666667, and the survival probability in an upward trend is 0.46666667. Therefore, the selected forecast trend of the stock-to-debt ratio data on November 1, 2018 is upward, and the rest of the day will not be repeated by analogy.

[表1] 交易日期 受選預測趨勢 下跌機率 盤整機率 上漲機率 20181101 1 0.18666667 0.34666667 0.46666667 20181102 0 0.21333333 0.41666667 0.37000000 20181105 1 0.28000000 0.35666667 0.36333333 20181106 1 0.21333333 0.28000000 0.50666667 20181107 1 0.20333333 0.18000000 0.61666667 20181108 1 0.20666667 0.25333333 0.54000000 20181109 0 0.22333333 0.45000000 0.32666667 20181112 0 0.31666667 0.45666667 0.22666667 20181113 0 0.35666667 0.40666667 0.23666667 20181114 -1 0.55000000 0.19333333 0.25666667 [Table 1] transaction date Selected forecast trend Probability of falling Consolidation probability Probability of rising 20181101 1 0.18666667 0.34666667 0.46666667 20181102 0 0.21333333 0.41666667 0.37000000 20181105 1 0.28000000 0.35666667 0.36333333 20181106 1 0.21333333 0.28000000 0.50666667 20181107 1 0.20333333 0.18000000 0.61666667 20181108 1 0.20666667 0.25333333 0.54000000 20181109 0 0.22333333 0.45000000 0.32666667 20181112 0 0.31666667 0.45666667 0.22666667 20181113 0 0.35666667 0.40666667 0.23666667 20181114 -1 0.55000000 0.19333333 0.25666667

最後,處理器81再以該些歷史股債比資料的該些受選預測趨勢決定下一個交易日的操作策略,並由輸出模組83輸出操作策略。舉例來說,假設歷史股債比資料的最後一筆資料為2018年11月14日,而當日的受選預測趨勢為下跌,則處理器81可以根據2018年11月14日的受選預測趨勢決定下一個交易日(例如是2018年11月15日)的操作策略,再透過輸出模組83將其輸出。具體來說,當輸出模組83是顯示螢幕時,可以文字、圖像、影片或者上述之組合呈現操作策略,但應知不以此為限;如同前述,輸出模組83也可以是印表機而可將操作策略印出,或者輸出模組83也可以是喇叭而以聲音或音樂的方式呈現操作策略。另一方面,在本例中,處理器81也可以依據2018年11月14日當日以及2018年11月14日當日前幾日的受選預測趨勢的平均值決定2018年11月15日的操作策略。Finally, the processor 81 determines the operation strategy for the next trading day based on the selected predicted trends of the historical equity-debt ratio data, and the output module 83 outputs the operation strategy. For example, assuming that the last piece of historical equity-to-debt ratio data is November 14, 2018, and the selected forecast trend on that day is down, the processor 81 can decide based on the selected forecast trend on November 14, 2018 The operation strategy of the next trading day (for example, November 15, 2018) is output through the output module 83. Specifically, when the output module 83 is a display screen, the operation strategy can be presented with text, image, video, or a combination of the above, but it should be understood that it is not limited to this; as mentioned above, the output module 83 can also be a printer The operation strategy can be printed out by the machine, or the output module 83 can also be a speaker to present the operation strategy in the form of sound or music. On the other hand, in this example, the processor 81 can also determine the operation on November 15, 2018 based on the average of the selected forecast trends on November 14, 2018 and the days before November 14, 2018 Strategy.

在本發明一或多個實施例中,處理器81更以該些歷史股債比資料以及至少一市場資訊建立生存機率模型。舉例來說,市場資訊可以是風險情緒,例如是利差、匯率、VIX指數等;市場資訊也可以是各種總體經濟指標,例如是股價指數、本益比、殖利率、消費者物價指數等。更進一步地,在一或多個實施例中,處理器81更以該些歷史股債比資料以及前述市場資訊作為隨機生存森林演算法的輸入值而建立生存機率模型。需要說明的是,雖然此處是以隨機生存森林演算法建立生存機率模型但本發明並不以此演算法為限,只要能夠預測生存機率即可。In one or more embodiments of the present invention, the processor 81 further establishes a survival probability model based on the historical equity-to-debt ratio data and at least one piece of market information. For example, market information can be risk sentiment, such as interest rate spreads, exchange rates, VIX index, etc.; market information can also be various general economic indicators, such as stock price index, price-to-earnings ratio, yield rate, consumer price index, etc. Furthermore, in one or more embodiments, the processor 81 further uses the historical equity-to-debt ratio data and the aforementioned market information as input values of the random survival forest algorithm to establish a survival probability model. It should be noted that although the random survival forest algorithm is used to establish the survival probability model here, the present invention is not limited to this algorithm, as long as the survival probability can be predicted.

另外,由於該些歷史股債比資料已經有實際發生的趨勢(例如在2018年11月2日,受選預測趨勢為盤整,而實際趨勢為上漲)。因此,可以利用調整演算法的輸入值的種類及/或權重來進行演算法的驗證,使得產生的生存機率模型更能夠反映實際狀況,進而提供使用者較為準確的預測分析。In addition, because the historical stock-to-debt ratio data has actual trends (for example, on November 2, 2018, the selected forecast trend is consolidation, while the actual trend is upward). Therefore, the type and/or weight of the input value of the adjustment algorithm can be used to verify the algorithm, so that the generated survival probability model can better reflect the actual situation and provide users with more accurate prediction analysis.

除此之外,在本發明一或多個實施例中,處理器81更依據各特徵值的不同的條件,將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料。舉例來說,在一實施例中,處理器81依據歷史股債比資料的交易日期早於2015年3月25日為條件,將該些歷史股債比資料分為多個第一歷史股債比資料(交易日期早於2015年3月25日的股債比資料)以及多個第二歷史股債比資料(交易日期晚於2015年3月25日的股債比資料),並且處理器81更依據該些第一歷史股債比資料建立生存機率模型。需要說明的是,雖然在本實施例中,處理器81是依據交易日期為條件而將歷史股債比資料加以區分為兩個部分,但並不以此為限;在一些實施例中,處理器81也可以透過對歷史股債比資料進行抽樣而獲得多個樣本群之後,再將樣本群分為第一歷史股債比資料以及第二歷史股債比資料。In addition, in one or more embodiments of the present invention, the processor 81 further divides the historical equity-debt ratio data into a plurality of first historical equity-debt ratio data and multiple data according to different conditions of each characteristic value. The second historical stock-to-debt ratio information. For example, in one embodiment, the processor 81 divides the historical equity ratio data into a plurality of first historical equity debts based on the condition that the transaction date of the historical equity debt ratio data is earlier than March 25, 2015 Ratio data (the stock-to-debt ratio data with the transaction date earlier than March 25, 2015) and multiple second historical stock-to-debt ratio data (the stock debt ratio with the transaction date later than March 25, 2015), and the processor 81 also established a survival probability model based on the first historical equity-debt ratio data. It should be noted that although in this embodiment, the processor 81 divides the historical equity ratio data into two parts based on the transaction date as a condition, it is not limited to this; in some embodiments, the processing The device 81 may also obtain multiple sample groups by sampling historical equity-debt ratio data, and then divide the sample groups into the first historical equity-debt ratio data and the second historical equity-debt ratio data.

接著,處理器81更依據該些第二歷史股債比資料取得母體混淆矩陣以及多個子樣本混淆矩陣,母體混淆矩陣對應受選預測趨勢具有母體準確率,而各子樣本混淆矩陣對應受選預測趨勢具有子樣本準確率。在本實施例中,母體混淆矩陣即為根據所有第二歷史股債比資料所取得的混淆矩陣,其包括對應上漲、盤整、下跌的模型預測趨勢、實際趨勢以及對應各種情況的平均樣本數,而子樣本混淆矩陣則是透過不同分群條件,自所有第二歷史股債比資料選擇一部分所取得的混淆矩陣,其同樣包括對應上漲、盤整、下跌的模型預測趨勢、實際趨勢以及對應各種情況的平均樣本數。具體來說,前述分群條件為當處理器81判斷一第二歷史股債比資料中各預測趨勢的最高機率大於高門檻值(例如位於0.6至0.9之間)時,處理器81將此第二歷史股債比資料分群至Q1至Q4子混淆矩陣而對應不同情境。更進一步言,當最高機率大於0.9時,分群至Q1子混淆矩陣;當最高機率大於0.8時,分群至Q2子混淆矩陣;當最高機率大於0.7時,分群至Q3子混淆矩陣;當最高機率大於0.6時,分群至Q4子混淆矩陣。另一方面,當處理器81判斷一第二歷史股債比資料中的受選預測趨勢的機率大於低門檻值(例如位於0.4至0.5之間)時,處理器則將此第二歷史股債比資料分群至Q5至Q11子混淆矩陣而對應不同情境。更進一步言,當受選預測趨勢為上漲的機率大於0.5時,分群至Q5子混淆矩陣;當受選預測趨勢為盤整的機率大於0.5時,分群至Q6子混淆矩陣;當受選預測趨勢為下跌的機率大於0.5時,分群至Q7子混淆矩陣;當受選預測趨勢為上漲的機率大於0.4時,分群至Q8子混淆矩陣;當受選預測趨勢為盤整的機率大於0.4時,分群至Q9子混淆矩陣;當受選預測趨勢為下跌的機率大於0.4時,分群至Q10子混淆矩陣,否則分群至Q11子混淆矩陣。Then, the processor 81 further obtains a parent confusion matrix and a plurality of sub-sample confusion matrices based on the second historical equity-to-debt ratio data. The parent confusion matrix corresponds to the selected prediction trend and has a parent accuracy rate, and each sub-sample confusion matrix corresponds to the selected prediction The trend has a sub-sample accuracy rate. In this embodiment, the matrix confusion matrix is the confusion matrix obtained based on all the second historical equity-to-debt ratio data, which includes model forecast trends corresponding to rising, consolidation, and falling, actual trends, and the average number of samples corresponding to various situations. The sub-sample confusion matrix is a confusion matrix obtained by selecting a part of all the second historical equity-debt ratio data through different grouping conditions. It also includes model forecast trends corresponding to rising, consolidation, and falling, actual trends, and corresponding situations. Average number of samples. Specifically, the aforementioned grouping condition is that when the processor 81 determines that the highest probability of each predicted trend in a second historical equity-to-debt ratio data is greater than the high threshold (for example, between 0.6 and 0.9), the processor 81 applies the second The historical equity-to-debt ratio data is grouped into sub-confusion matrices Q1 to Q4 to correspond to different scenarios. Furthermore, when the highest probability is greater than 0.9, group to the Q1 sub-confusion matrix; when the highest probability is greater than 0.8, group to the Q2 sub-confusion matrix; when the highest probability is greater than 0.7, group to the Q3 sub-confusion matrix; when the highest probability is greater than At 0.6, group into Q4 sub-confusion matrix. On the other hand, when the processor 81 determines that the probability of the selected predicted trend in the second historical equity ratio data is greater than the low threshold (for example, between 0.4 and 0.5), the processor will use this second historical equity The data is grouped into sub-confusion matrices from Q5 to Q11 to correspond to different situations. Furthermore, when the probability of the selected forecast trend rising is greater than 0.5, group it into the Q5 sub-confusion matrix; when the probability of the selected forecast trend being consolidation is greater than 0.5, group it into the Q6 sub-confusion matrix; when the selected forecast trend is When the probability of falling is greater than 0.5, it is grouped into the Q7 sub-confusion matrix; when the probability of the selected forecast trend rising is greater than 0.4, it is grouped to the Q8 sub-confusion matrix; when the probability of the selected forecast trend being consolidation is greater than 0.4, grouped to Q9 Sub-confusion matrix; when the probability of the selected predicted trend falling is greater than 0.4, group it into the Q10 sub-confusion matrix, otherwise group it into the Q11 sub-confusion matrix.

接著,處理器81再判斷各第一歷史股債比資料滿足分群條件中的何者而決定各第一歷史股債比資料所對應的受選子樣本混淆矩陣,而取得下表2之各第一歷史股債比資料及其對應情境。換句話說,處理器81以前述分群條件判斷各第一歷史股債比資料應分類至哪個情境,在此不再贅述。Then, the processor 81 then determines which of the grouping conditions each first historical equity-debt ratio data meets to determine the selected sub-sample confusion matrix corresponding to each first historical equity-debt ratio data, and obtains each first in Table 2 below. Historical stock-to-debt ratio data and corresponding scenarios. In other words, the processor 81 uses the aforementioned grouping conditions to determine the situation to which each first historical equity ratio data should be classified, which will not be repeated here.

[表2] 交易日期 受選預測趨勢 下跌機率 盤整機率 上漲機率 情境 20181101 1 0.18666667 0.34666667 0.46666667 Q10 20181102 0 0.21333333 0.41666667 0.37000000 Q9 20181105 1 0.28000000 0.35666667 0.36333333 Q11 20181106 1 0.21333333 0.28000000 0.50666667 Q7 20181107 1 0.20333333 0.18000000 0.61666667 Q4 20181108 1 0.20666667 0.25333333 0.54000000 Q7 20181109 0 0.22333333 0.45000000 0.32666667 Q9 20181112 0 0.31666667 0.45666667 0.22666667 Q9 20181113 0 0.35666667 0.40666667 0.23666667 Q9 20181114 -1 0.55000000 0.19333333 0.25666667 Q5 [Table 2] transaction date Selected forecast trend Probability of falling Consolidation probability Probability of rising Situation 20181101 1 0.18666667 0.34666667 0.46666667 Q10 20181102 0 0.21333333 0.41666667 0.37000000 Q9 20181105 1 0.28000000 0.35666667 0.36333333 Q11 20181106 1 0.21333333 0.28000000 0.50666667 Q7 20181107 1 0.20333333 0.18000000 0.61666667 Q4 20181108 1 0.20666667 0.25333333 0.54000000 Q7 20181109 0 0.22333333 0.45000000 0.32666667 Q9 20181112 0 0.31666667 0.45666667 0.22666667 Q9 20181113 0 0.35666667 0.40666667 0.23666667 Q9 20181114 -1 0.55000000 0.19333333 0.25666667 Q5

在決定各第一歷史股債比資料的情境(即受選子樣本混淆矩陣)後,處理器81再根據母體混淆矩陣的母樣本準確率與受選子樣本混淆矩陣的子樣本準確率之較高者的受選預測趨勢做為各第一歷史股債比資料的受選預測趨勢,以下以表3及表4說明。After determining the context of each first historical equity-debt ratio data (ie, the confusion matrix of the selected sub-sample), the processor 81 then compares the accuracy of the parent sample of the parent confusion matrix with the accuracy of the sub-sample of the selected sub-sample confusion matrix The selected forecast trend of the high person is used as the selected forecast trend of the first historical stock-to-debt ratio data, as shown in Table 3 and Table 4 below.

表3為根據自2006年6月27日至2015年3月24日共2200筆股債比資料的所得到的母體混淆矩陣。如表3所示,預測趨勢為下跌(以-1表示)且實際趨勢為下跌的平均樣本數(即機率)是42.57%,預測趨勢為下跌且實際趨勢為盤整(以0表示)的平均樣本數是30.69%,而預測趨勢為下跌且實際趨勢為上漲(以1表示)的平均樣本數是24.09%。表4至表14分別為根據自2015年3月25日至2018年11月30日共937筆股債比資料的所得到的Q1至Q11共11個子樣本混淆矩陣。又如表12所示,舉例來說,子樣本混淆矩陣Q9共有185個樣本,其中預測趨勢為盤整且實際趨勢為盤整的平均樣本數是42.26%,而預測趨勢為上漲且實際趨勢為上漲的平均樣本數是35.29%。因此,對於2018年11月7日的股債比資料而言,其母體混淆矩陣的準確度為50.14%,大於子樣本混淆矩陣Q9的準確度為42.26%。換句話說,該機率為預測趨勢為下跌的前提下,實際下跌42.57%、實際盤整30.69%、實際上漲24.09%(實為條件機率,而非簡單機率)。Table 3 shows the matrix confusion matrix based on a total of 2,200 stock-to-debt ratio data from June 27, 2006 to March 24, 2015. As shown in Table 3, the average number of samples whose predicted trend is down (represented by -1) and the actual trend is down (ie probability) is 42.57%, and the average sample whose predicted trend is down and the actual trend is consolidation (represented by 0) The number is 30.69%, and the average number of samples whose predicted trend is down and the actual trend is up (represented by 1) is 24.09%. Tables 4 to 14 are the confusion matrices of 11 sub-samples from Q1 to Q11 based on a total of 937 stock-to-debt ratio data from March 25, 2015 to November 30, 2018. As shown in Table 12, for example, the sub-sample confusion matrix Q9 has a total of 185 samples, of which the average number of samples whose predicted trend is consolidation and the actual trend is consolidation is 42.26%, and the predicted trend is upward and the actual trend is upward. The average sample size is 35.29%. Therefore, for the stock-to-debt ratio data on November 7, 2018, the accuracy of the parent confusion matrix is 50.14%, which is 42.26% greater than the accuracy of the sub-sample confusion matrix Q9. In other words, the probability is that on the premise that the predicted trend is down, the actual decline is 42.57%, the actual consolidation is 30.69%, and the actual increase is 24.09% (actually a conditional probability, not a simple probability).

[表3] 母體混淆矩陣   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 42.57 30.69 24.09 盤整(0) 18.84 50.14 31.01 上漲(1) 12.94 37.06 49.65 [table 3] Maternal confusion matrix actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 42.57 30.69 24.09 Consolidation (0) 18.84 50.14 31.01 Up (1) 12.94 37.06 49.65

[表4] Q1 n=1   實際     盤整(0) 預測 下跌(-1) 100 [Table 4] Q1 n=1 actual Consolidation (0) prediction Down (-1) 100

[表5] Q2 n=23   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 58.82 23.53 17.65 盤整(0) 100.00 0.00 0.00 上漲(1) 0.00 60.00 40.00 [table 5] Q2 n=23 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 58.82 23.53 17.65 Consolidation (0) 100.00 0.00 0.00 Up (1) 0.00 60.00 40.00

[表6] Q3 n=55   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 71.43 14.29 14.29 盤整(0) 37.50 62.50 0.00 上漲(1) 5.26 52.63 42.11 [Table 6] Q3 n=55 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 71.43 14.29 14.29 Consolidation (0) 37.50 62.50 0.00 Up (1) 5.26 52.63 42.11

[表7] Q4 n=153   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 36.96 36.96 26.09 盤整(0) 15.91 61.36 22.73 上漲(1) 12.70 25.40 61.90 [Table 7] Q4 n=153 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 36.96 36.96 26.09 Consolidation (0) 15.91 61.36 22.73 Up (1) 12.70 25.40 61.90

[表8] Q5 n=71   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 46.48 36.62 16.90 [Table 8] Q5 n=71 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 46.48 36.62 16.90

[表9] Q6 n=95   實際     下跌(-1) 盤整(0) 上漲(1) 預測 盤整(0) 13.68 57.89 28.42 [Table 9] Q6 n=95 actual Down (-1) Consolidation (0) Up (1) prediction Consolidation (0) 13.68 57.89 28.42

[表10] Q7 n=83   實際     下跌(-1) 盤整(0) 上漲(1) 預測 上漲(1) 3.61 33.73 62.65 [Table 10] Q7 n=83 actual Down (-1) Consolidation (0) Up (1) prediction Up (1) 3.61 33.73 62.65

[表11] Q8 n=95   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 38.71 31.18 30.11 盤整(0) 0.00 100.00 0.00 上漲(1) 100.00 0.00 0.00 [Table 11] Q8 n=95 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 38.71 31.18 30.11 Consolidation (0) 0.00 100.00 0.00 Up (1) 100.00 0.00 0.00

[表12] Q9 n=195   實際     下跌(-1) 盤整(0) 上漲(1) 預測 盤整(0) 22.02 42.26 35.71 上漲(1) 11.76 52.94 35.29 [Table 12] Q9 n=195 actual Down (-1) Consolidation (0) Up (1) prediction Consolidation (0) 22.02 42.26 35.71 Up (1) 11.76 52.94 35.29

[表13] Q10 n=71   實際     下跌(-1) 盤整(0) 上漲(1) 預測 上漲(1) 22.54 40.85 36.62 [Table 13] Q10 n=71 actual Down (-1) Consolidation (0) Up (1) prediction Up (1) 22.54 40.85 36.62

[表14] Q11 n=93   實際     下跌(-1) 盤整(0) 上漲(1) 預測 下跌(-1) 34.21 31.58 34.21 盤整(0) 13.79 48.28 37.93 上漲(1) 23.08 42.31 34.62 [Table 14] Q11 n=93 actual Down (-1) Consolidation (0) Up (1) prediction Down (-1) 34.21 31.58 34.21 Consolidation (0) 13.79 48.28 37.93 Up (1) 23.08 42.31 34.62

於各子樣本混淆矩陣中,可以進一步依據混淆矩陣的機率分布調整預測結果。舉例來說,若初步預測結果為上漲且情境為Q9,由於在Q9情境中預測為上漲而實際趨勢卻是盤整的機率最高(52.94%),因此將預測結果從上漲更改為盤整。反之,若初步預測結果為下跌且情境為Q3,由於在Q3情境中預測為下跌而實際趨勢仍以下跌的機率最高(71.43%),因此預測結果仍維持為下跌。In each sub-sample confusion matrix, the prediction result can be further adjusted according to the probability distribution of the confusion matrix. For example, if the preliminary forecast result is an increase and the scenario is Q9, since the forecast is an increase in the Q9 scenario but the actual trend has the highest probability of consolidation (52.94%), the prediction result is changed from an increase to a consolidation. Conversely, if the preliminary forecast result is a decline and the scenario is Q3, since the forecast is a fall in the Q3 scenario and the actual trend still has the highest probability of a fall (71.43%), the predicted result remains a fall.

再以2018年11月7日的股債比資料為例,其受選預測趨勢為下跌並屬於情境Q4,則母體混淆矩陣對應下跌趨勢的母體準確率為42.57%,而子樣本混淆矩陣Q4對應下跌趨勢的子樣本準確率為36.96%。故處理器選擇母體混淆矩陣的受選預測趨勢做為2018年11月7日的股債比資料的受選預測趨勢,即下跌趨勢。Taking the stock-to-debt ratio data on November 7, 2018 as an example, the selected forecast trend is down and belongs to scenario Q4, then the maternal accuracy rate of the maternal confusion matrix corresponding to the downward trend is 42.57%, and the sub-sample confusion matrix Q4 corresponds to The accuracy rate of the downtrend sub-sample is 36.96%. Therefore, the processor selects the selected forecast trend of the matrix confusion matrix as the selected forecast trend of the stock-to-debt ratio data on November 7, 2018, that is, the downward trend.

藉此,根據本發明一或多個實施例的預測系統,可以利用情境分析的方式驗證、修正模型預測結果,進而更能夠反映實際狀況,提供使用者較為準確的預測分析。In this way, the prediction system according to one or more embodiments of the present invention can verify and modify the prediction results of the model by means of context analysis, thereby better reflecting actual conditions and providing users with more accurate prediction analysis.

在一或多個實施例中,處理器更對該些歷史股債比資料的下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的強度值。舉例來說,假定下一個交易日為2018年11月15日,則處理器可依據此日之前20日的股債比資料對應的受選預測趨勢進行移動加權平均而得到近20日的股債比資料的受選預測趨勢的變化狀況(即強度值),當強度值小於1而大於等於0.4時,定義強度值位於第一區間;當強度值小於0.4而大於等於0時,定義強度值位於第二區間;當強度值小於0而大於等於-0.4時,定義強度值位於第三區間;而當強度值小於-0.4而大於等於-1時,定義強度值位於第四區間。In one or more embodiments, the processor further performs a moving weighted average calculation on the selected forecast trends corresponding to the multiple recent equity-debt ratio data before the next trading day of the historical equity-debt ratio data. The strength value of these recent equity-debt ratio data. For example, assuming that the next trading day is November 15, 2018, the processor can perform a moving weighted average based on the selected forecast trend corresponding to the stock-to-debt ratio data 20 days before this date to obtain stocks and bonds for the past 20 days The change status of the selected prediction trend (ie intensity value) of the ratio data. When the intensity value is less than 1 and greater than or equal to 0.4, the defined intensity value is in the first interval; when the intensity value is less than 0.4 and greater than or equal to 0, the defined intensity value is in The second interval; when the intensity value is less than 0 and greater than or equal to -0.4, the defined intensity value is in the third interval; and when the intensity value is less than -0.4 and greater than or equal to -1, the defined intensity value is in the fourth interval.

接著,處理器81更進一步決定該些近期股債比資料的該些受選預測趨勢的標準差。當受選預測趨勢的標準差為大於0而小於等於1時,則屬於低波動度,意即受選預測趨勢在近期股債比資料的這些時間變化較小;另一方面,當受選預測趨勢的標準差大於1時,則屬於高波動度,意即受選預測趨勢在近期股債比資料的這些時間變化較大。Then, the processor 81 further determines the standard deviation of the recent equity-debt ratio data for the selected predicted trends. When the standard deviation of the selected forecast trend is greater than 0 but less than or equal to 1, it is considered low volatility, which means that the selected forecast trend has small changes in the recent equity-debt ratio data; on the other hand, when the selected forecast When the standard deviation of the trend is greater than 1, it is considered high volatility, which means that the selected forecast trend has a large change in the recent stock-to-debt ratio data.

然後,處理器81再依據該些近期股債比資料的強度值以及該些近期股債比資料的該些受選預測趨勢的標準差決定下一個交易日的操作策略。舉例來說,當強度值位於第一區間或第二區間並具有高波動度或位於第一區間並具有低波動度時,處理器81決定下一個交易日的操作策略為積極,而提供股債比配置為7:3的操作建議;當強度值位於第二區間或第三區間並具有低波動度時,處理器81決定下一個交易日的操作策略為穩健,而提供股債比配置為5:5的操作建議;而當強度值位於第三區間或第四區間並具有高波動度或位於第四區間而具有低波動度時,處理器81決定下一個交易日的操作策略為保守,而提供股債比為3:7的操作建議。藉此,可以透過移動加權平均的方式使輸出訊號較為平滑,也就是說投資人不需要頻繁地變換股債比例,而可有效地節省交易成本,進而提升獲利。Then, the processor 81 determines the operation strategy for the next trading day based on the intensity value of the recent equity-debt ratio data and the standard deviation of the selected predicted trends of the recent equity-debt ratio data. For example, when the strength value is in the first interval or the second interval with high volatility or in the first interval with low volatility, the processor 81 determines that the operation strategy of the next trading day is positive, and provides stock bonds Operational recommendations with a ratio configuration of 7:3; when the strength value is in the second or third range and has low volatility, the processor 81 determines that the operation strategy for the next trading day is robust, and provides a stock-to-debt ratio configuration of 5 : 5 operation suggestions; and when the strength value is in the third or fourth interval with high volatility or in the fourth interval with low volatility, the processor 81 decides that the operation strategy of the next trading day is conservative, and Provide operational suggestions with a debt ratio of 3:7. In this way, the output signal can be made smoother through the moving weighted average method, which means that investors do not need to frequently change the ratio of stocks and debts, and can effectively save transaction costs and increase profits.

參閱圖2所示,圖2為本發明第二實施例的股債比趨勢預測方法的步驟流程圖,其適用於預測多個歷史股債比資料的下一個交易日的操作策略。如圖2所示,本發明一或多個實施例進一步揭露一種金融商品價格趨勢的預測方法,包括以下步驟:歷史股債比資料取得步驟S101、生存機率模型建立步驟S102以及操作策略決定步驟S103,各步驟說明如下。Referring to FIG. 2, FIG. 2 is a flow chart of the steps of the method for predicting the trend of stock-to-debt ratio according to the second embodiment of the present invention, which is suitable for predicting the operation strategy of the next trading day of multiple historical stock-to-debt ratio data. As shown in FIG. 2, one or more embodiments of the present invention further disclose a method for predicting the price trend of financial commodities, including the following steps: obtaining historical equity ratio data S101, establishing survival probability model S102, and determining operation strategy S103 , The steps are explained as follows.

歷史股債比資料取得步驟包括取得該些歷史股債比資料,如步驟S101所示;其中各歷史股債比資料包括多個特徵值。特徵值的說明已於前說明,不再贅述。The step of obtaining historical stock-to-debt ratio data includes obtaining the historical stock-to-debt ratio data, as shown in step S101; wherein each historical stock-to-debt ratio data includes multiple characteristic values. The description of the eigenvalues has been described above, and will not be repeated.

生存機率模型建立步驟包括以該些歷史股債比資料建立生存機率模型,如步驟S102所示;其中生存機率模型包括各歷史股債比資料分別在多個預測趨勢的生存機率,且於各歷史股債比資料中最高的生存機率所對應的預測趨勢為各歷史股債比資料的受選預測趨勢。The step of establishing a survival probability model includes establishing a survival probability model based on the historical equity-debt ratio data, as shown in step S102; wherein the survival probability model includes the survival probability of each historical equity-debt ratio data in a plurality of predicted trends, and the survival probability is in each history The forecast trend corresponding to the highest survival probability in the stock-to-debt ratio data is the selected forecast trend of each historical stock-to-debt ratio data.

操作策略決定步驟包括以該些歷史股債比資料的該些受選預測趨勢決定下一個交易日的操作策略,如步驟S103所示。The operation strategy determination step includes determining the operation strategy for the next trading day based on the selected predicted trends of the historical equity-to-debt ratio data, as shown in step S103.

請參閱圖3,為本發明的第三實施例的股債比趨勢預測方法的細部流程圖。如圖3所示,根據本發明一或多個實施例,於生存機率模型建立步驟S102中,更包括:步驟S1021:以該些歷史股債比資料以及至少一市場資訊建立生存機率模型。Please refer to FIG. 3, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the third embodiment of the present invention. As shown in FIG. 3, according to one or more embodiments of the present invention, the survival probability model establishment step S102 further includes: Step S1021: Establish a survival probability model based on the historical equity-debt ratio data and at least one market information.

請參閱圖4,為本發明的第四實施例的股債比趨勢預測方法的細部流程圖。如圖4所示,根據本發明一或多個實施例,於生存機率模型建立步驟S102中,更包括步驟S1022:以該些歷史股債比資料以及至少一市場資訊作為隨機森林演算法的輸入值而建立生存機率模型。Please refer to FIG. 4, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the fourth embodiment of the present invention. As shown in FIG. 4, according to one or more embodiments of the present invention, in the survival probability model establishment step S102, the step S1022 is further included: using the historical equity ratio data and at least one market information as input to the random forest algorithm Value and establish a survival probability model.

請參閱圖5,為本發明的第五實施例的股債比趨勢預測方法的細部流程圖。如圖5所示,根據本發明一或多個實施例,於生存機率模型建立步驟S102中,更包括步驟S1023:依據各特徵值的不同的條件,將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料;以及步驟S1024:依據該些第一歷史股債比資料建立生存機率模型。Please refer to FIG. 5, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the fifth embodiment of the present invention. As shown in FIG. 5, according to one or more embodiments of the present invention, in the survival probability model establishment step S102, the step S1023 is further included: according to different conditions of each characteristic value, the historical equity and debt ratio data are divided into more A first historical stock-to-debt ratio data and a plurality of second historical stock-to-debt ratio data; and step S1024: establishing a survival probability model based on the first historical stock-to-debt ratio data.

再者,請參閱圖6,為本發明的第六實施例的股債比趨勢預測方法的細部流程圖。如圖6所示,根據本發明一或多個實施例,於生存機率模型建立步驟S102中,除了前述步驟S1023、S1024外,更包括步驟S1025:依據該些第二歷史股債比資料取得母體混淆矩陣以及多個子樣本混淆矩陣,其中母體混淆矩陣對應受選預測趨勢具有母體準確率,各子樣本混淆矩陣對應受選預測趨勢具有子樣本準確率;步驟S1026:判斷各第一歷史股債比資料滿足分群條件,其中分群條件對應該些子樣本混淆矩陣中之受選子樣本混淆矩陣;以及步驟S1027:根據母體混淆矩陣的母樣本準確率與受選子樣本混淆矩陣的子樣本準確率之較高者的受選預測趨勢做為各第一歷史股債比資料的受選預測趨勢。Furthermore, please refer to FIG. 6, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the sixth embodiment of the present invention. As shown in FIG. 6, according to one or more embodiments of the present invention, in the survival probability model establishment step S102, in addition to the aforementioned steps S1023 and S1024, it further includes a step S1025: obtaining the parent body based on the second historical equity-debt ratio data Confusion matrix and multiple sub-sample confusion matrices, where the parent confusion matrix has a maternal accuracy rate corresponding to the selected prediction trend, and each sub-sample confusion matrix has a sub-sample accuracy rate corresponding to the selected prediction trend; Step S1026: Determine each first historical equity ratio The data meets the grouping condition, where the grouping condition corresponds to the selected sub-sample confusion matrix in the confusion matrix of some sub-samples; and Step S1027: According to the accuracy rate of the mother sample of the parent confusion matrix and the sub-sample accuracy of the selected sub-sample confusion matrix The higher one’s selected forecast trend is used as the selected forecast trend of each first historical equity-debt ratio data.

請參閱圖7,為本發明的第七實施例的股債比趨勢預測方法的細部流程圖。如圖7所示,根據本發明一或多個實施例,於步驟S1026中,更包括步驟S1028:當各第一歷史股債比資料中最高的生存機率大於高門檻值時,判斷各第一歷史股債比資料滿足分群條件。進一步言,在一或多個實施例中,高門檻值位於0.6至0.9之間。Please refer to FIG. 7, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the seventh embodiment of the present invention. As shown in FIG. 7, according to one or more embodiments of the present invention, in step S1026, step S1028 is further included: when the highest survival probability in each first historical equity ratio data is greater than the high threshold, determine each first The historical equity-to-debt ratio information satisfies the grouping conditions. Furthermore, in one or more embodiments, the high threshold is between 0.6 and 0.9.

請參閱圖8,為本發明的第八實施例的股債比趨勢預測方法的細部流程圖。如圖8所示,根據本發明一或多個實施例,於步驟S1026中,更包括步驟S1029:當各第一歷史股債比資料的對應該些預測趨勢中的其中之一的生存機率大於低門檻值時,判斷各第一歷史股債比資料滿足分群條件。進一步言,在一或多個實施例中,低門檻值位於0.4至0.5之間。Please refer to FIG. 8, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the eighth embodiment of the present invention. As shown in FIG. 8, according to one or more embodiments of the present invention, in step S1026, step S1029 is further included: when each of the first historical equity-debt ratio data corresponds to one of the predicted trends, the survival probability is greater than When the threshold is low, it is judged that the first historical equity-debt ratio data meets the grouping conditions. Furthermore, in one or more embodiments, the low threshold is between 0.4 and 0.5.

請參閱圖9,為本發明的第九實施例的股債比趨勢預測方法的細部流程圖。如圖9所示,根據本發明一或多個實施例,於操作策略決定步驟S103中,更包括步驟S1031:對該些歷史股債比資料的下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的強度值;以及步驟S1032:依據該些近期股債比資料的強度值以及該些近期股債比資料的該些受選預測趨勢的標準差決定下一個交易日的操作策略。Please refer to FIG. 9, which is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the ninth embodiment of the present invention. As shown in FIG. 9, according to one or more embodiments of the present invention, in the operation strategy determination step S103, the step S1031 is further included: a plurality of recent equity debt ratios before the next trading day of the historical equity debt ratio data The selected forecast trends corresponding to the data are calculated by moving weighted average to obtain the strength value of the recent equity-debt ratio data; and step S1032: According to the strength value of the recent equity-debt ratio data and the recent equity-debt ratio The standard deviation of the selected forecast trends of the data determines the operation strategy for the next trading day.

綜合上述內容,根據本發明一或多個實施例所述的股債比趨勢預測系統及其方法,係利用生存機率模型估算可能的趨勢而提供適當的操作策略。在一些實施例中,可以將歷史股債比資料分為第一歷史股債比資料與第二歷史股債比資料,並以第一歷史股債比資料作為訓練資料而輸入模型,而以第二歷史股債比資料做為驗證資料而對應產生母體混淆矩陣與子樣本混淆矩陣,並透過分群條件對第一歷史股債比資料的各筆資料進行情境切割,以提升預測準確性。再者,於一或多個實施例中,可以透過移動加權平均的方式使輸出訊號較為平滑,因此不需要頻繁地變換股債比例,而可有效地節省交易成本,進而提升獲利。In summary, the system and method for predicting the trend of equity-debt ratio according to one or more embodiments of the present invention use a survival probability model to estimate possible trends and provide appropriate operating strategies. In some embodiments, the historical stock-to-debt ratio data can be divided into the first historical stock-to-debt ratio data and the second historical stock-to-debt ratio data, and the first historical stock-to-debt ratio data is used as training data to input the model, and the 2. The historical equity-to-debt ratio data is used as the verification data to generate the parent confusion matrix and the sub-sample confusion matrix, and the first historical equity-to-debt ratio data is contextually cut through the grouping conditions to improve the accuracy of prediction. Furthermore, in one or more embodiments, the output signal can be made smoother by means of moving weighted average, so there is no need to frequently change the ratio of stocks and debts, which can effectively save transaction costs and increase profits.

80:預測系統 81:處理器 82:儲存模組 83:輸出模組 S101~S103、S1021~S1029、S1031~S1032:步驟 80: prediction system 81: processor 82: storage module 83: output module S101~S103, S1021~S1029, S1031~S1032: steps

[圖1]為本發明的第一實施例的股債比趨勢預測系統的架構示意圖。 [圖2]為本發明的第二實施例的股債比趨勢預測方法的步驟流程圖。 [圖3]為本發明的第三實施例的股債比趨勢預測方法的細部流程圖。 [圖4]為本發明的第四實施例的股債比趨勢預測方法的細部流程圖。 [圖5]為本發明的第五實施例的股債比趨勢預測方法的細部流程圖。 [圖6]為本發明的第六實施例的股債比趨勢預測方法的細部流程圖。 [圖7]為本發明的第七實施例的股債比趨勢預測方法的細部流程圖。 [圖8]為本發明的第八實施例的股債比趨勢預測方法的細部流程圖。 [圖9]為本發明的第九實施例的股債比趨勢預測方法的細部流程圖。 [Figure 1] is a schematic diagram of the structure of the stock-to-debt ratio trend prediction system according to the first embodiment of the present invention. [Fig. 2] is a flowchart of the steps of the method for predicting the trend of equity-debt ratio according to the second embodiment of the present invention. [Fig. 3] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the third embodiment of the present invention. [Fig. 4] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the fourth embodiment of the present invention. [Fig. 5] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the fifth embodiment of the present invention. [Fig. 6] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the sixth embodiment of the present invention. [Fig. 7] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the seventh embodiment of the present invention. [Fig. 8] is a detailed flowchart of the method for predicting the trend of equity-debt ratio according to the eighth embodiment of the present invention. [Fig. 9] is a detailed flow chart of the method for predicting the trend of equity-debt ratio according to the ninth embodiment of the present invention.

80:預測系統 80: prediction system

81:處理器 81: processor

82:儲存模組 82: storage module

83:輸出模組 83: output module

Claims (16)

一種股債比趨勢預測系統,適用於預測多個歷史股債比資料的下一個交易日的一操作策略,該預測系統包括:一處理器、一儲存模組以及一輸出模組,該處理器、該儲存模組以及該輸出模組彼此訊號連接,其中:該處理器自該儲存模組取得該些歷史股債比資料,其中各該歷史股債比資料包括多個特徵值;該處理器以該些歷史股債比資料建立一生存機率模型,其中該生存機率模型包括各該歷史股債比資料分別在多個預測趨勢的一生存機率,於各該歷史股債比資料中最高的該生存機率所對應的該預測趨勢為各該歷史股債比資料的一受選預測趨勢;該處理器以該些歷史股債比資料的該些受選預測趨勢決定該下一個交易日的該操作策略,並由該輸出模組輸出該操作策略;其中該處理器更依據各該特徵值的不同的條件,將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料;該處理器是依據該些第一歷史股債比資料建立該生存機率模型;其中該處理器更依據該些第二歷史股債比資料取得一母體混淆矩陣以及多個子樣本混淆矩陣,該母體混淆矩陣對應該受選預測趨勢具有一母體準確率,各該子樣本混淆矩陣對應該受選預測趨勢具有一子樣本準確率;該處理器判斷各該第一歷史股債比資料滿足一分群條件,該分群條件對應該些子樣本混淆矩陣中之一受選子樣本混淆矩陣;該處理器更根據該母體混淆矩陣的該母樣本準確率與該受選子樣本混淆矩陣的該子樣本準 確率之較高者的該受選預測趨勢做為各該第一歷史股債比資料的該受選預測趨勢。 A trend prediction system for stock-to-debt ratio, which is suitable for predicting an operation strategy for the next trading day of multiple historical stock-to-debt ratio data. The prediction system includes: a processor, a storage module, and an output module. The processor The storage module and the output module are signal-connected to each other, wherein: the processor obtains the historical equity-debt ratio data from the storage module, wherein each historical equity-debt ratio data includes a plurality of characteristic values; the processor Establish a survival probability model based on the historical equity-debt ratio data, wherein the survival probability model includes a survival probability of each historical equity-debt ratio data in a plurality of predicted trends, and the highest one among the historical equity-debt ratio data The predicted trend corresponding to the survival probability is a selected predicted trend of each historical equity-debt ratio data; the processor uses the selected predicted trends of the historical equity-debt ratio data to determine the operation on the next trading day Strategy, and the output module outputs the operation strategy; wherein the processor further divides the historical equity-debt ratio data into multiple first historical equity-debt ratio data and multiple data based on different conditions of each characteristic value The second historical equity-debt ratio data; the processor establishes the survival probability model based on the first historical equity-debt ratio data; wherein the processor further obtains a matrix confusion matrix and the number A sub-sample confusion matrix, the parent confusion matrix has a maternal accuracy rate for the selected prediction trend, and each sub-sample confusion matrix has a sub-sample accuracy rate for the selected prediction trend; the processor judges each of the first historical stocks The debt ratio data satisfies a grouping condition, and the grouping condition corresponds to the confusion matrix of one of the sub-sample confusion matrices; the processor further mixes the mother sample with the selected sub-sample according to the accuracy of the parent confusion matrix The subsample of the matrix The selected forecast trend of the higher accuracy rate is used as the selected forecast trend of each of the first historical equity-debt ratio data. 如請求項1所述的預測系統,其中該處理器是以該些歷史股債比資料以及至少一市場資訊建立該生存機率模型。 The prediction system according to claim 1, wherein the processor establishes the survival probability model based on the historical equity-debt ratio data and at least one market information. 如請求項2所述的預測系統,其中該處理器是以該些歷史股債比資料以及該至少一市場資訊作為隨機生存森林演算法的輸入值而建立該生存機率模型。 The prediction system according to claim 2, wherein the processor uses the historical stock-to-debt ratio data and the at least one market information as input values of the random survival forest algorithm to establish the survival probability model. 如請求項1所述的預測系統,其中當各該第一歷史股債比資料中最高的該生存機率大於一高門檻值時,該處理器判斷各該第一歷史股債比資料滿足該分群條件。 The prediction system according to claim 1, wherein when the highest survival probability among the first historical equity-debt ratio data is greater than a high threshold value, the processor determines that each of the first historical equity-debt ratio data satisfies the grouping condition. 如請求項4所述的預測系統,其中該高門檻值位於0.6至0.9之間。 The prediction system according to claim 4, wherein the high threshold is between 0.6 and 0.9. 如請求項1所述的預測系統,其中當各該第一歷史股債比資料的對應該些預測趨勢中的其中之一的該生存機率大於一低門檻值時,該處理器判斷各該第一歷史股債比資料滿足該分群條件。 The prediction system according to claim 1, wherein when the survival probability of each of the first historical equity-debt ratio data corresponding to one of the predicted trends is greater than a low threshold value, the processor determines each of the first A historical stock-to-debt ratio data satisfies the grouping condition. 如請求項6所述的預測系統,其中該低門檻值位於0.4至0.5之間。 The prediction system according to claim 6, wherein the low threshold is between 0.4 and 0.5. 如請求項1所述的預測系統,其中該處理器更對該些歷史股債比資料的該下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的一強度值;該處理器更依據該些近期股債比資料的該強度值以及該些近期股債 比資料的該些受選預測趨勢的一標準差決定該下一個交易日的該操作策略。 The prediction system according to claim 1, wherein the processor further performs moving weighting on the selected forecast trends corresponding to the multiple recent equity-debt ratio data before the next trading day of the historical equity-debt ratio data Calculate on average to obtain a strength value of the recent equity-debt ratio data; the processor is based on the strength value of the recent equity-debt ratio data and the recent equity-debt ratio data A standard deviation of the selected predicted trends from the data determines the operation strategy for the next trading day. 一種股債比趨勢預測方法,適用於預測多個歷史股債比資料的下一個交易日的一操作策略,該預測方法包括:歷史股債比資料取得步驟:利用一處理器自一儲存模組取得該些歷史股債比資料,其中各該歷史股債比資料包括多個特徵值;生存機率模型建立步驟:利用該處理器以該些歷史股債比資料建立一生存機率模型,其中該生存機率模型包括各該歷史股債比資料分別在多個預測趨勢的一生存機率,且於各該歷史股債比資料中最高的該生存機率所對應的該預測趨勢為各該歷史股債比資料的一受選預測趨勢;以及操作策略決定步驟:利用該處理器以該些歷史股債比資料的該些受選預測趨勢決定該下一個交易日的該操作策略;其中於該生存機率建立模型步驟中,更包括:依據各該特徵值的不同的條件,利用該處理器將該些歷史股債比資料分為多個第一歷史股債比資料與多個第二歷史股債比資料;依據該些第一歷史股債比資料,利用該處理器建立該生存機率模型;依據該些第二歷史股債比資料,利用該處理器取得一母體混淆矩陣以及多個子樣本混淆矩陣,其中該母體混淆矩陣對應該受選預測趨勢具有一母體準確率,各該子樣本混淆矩陣對應該受選預測趨勢具有一子樣本準確率; 利用該處理器判斷各該第一歷史股債比資料滿足一分群條件,其中該分群條件對應該些子樣本混淆矩陣中之一受選子樣本混淆矩陣;以及利用該處理器根據該母體混淆矩陣的該母樣本準確率與該受選子樣本混淆矩陣的該子樣本準確率之較高者的該受選預測趨勢做為各該第一歷史股債比資料的該受選預測趨勢。 A method for predicting the trend of stock-to-debt ratio, which is suitable for an operation strategy for predicting multiple historical stock-to-debt ratio data on the next trading day. The forecasting method includes: the step of obtaining historical stock-to-debt ratio data: using a processor to self-save a storage module Obtain the historical equity-debt ratio data, where each historical equity-debt ratio data includes multiple characteristic values; the survival probability model establishment step: use the processor to establish a survival probability model with the historical equity-debt ratio data, wherein the survival The probability model includes a survival probability of each historical equity-debt ratio data in multiple predicted trends, and the predicted trend corresponding to the highest survival probability in each historical equity-debt ratio data is each historical equity-debt ratio data A selected predicted trend of the; and the operation strategy decision step: using the processor to determine the operation strategy of the next trading day based on the selected predicted trends of the historical equity-to-debt ratio data; wherein a model is built on the survival probability In the step, it further includes: using the processor to divide the historical equity-debt ratio data into a plurality of first historical equity-debt ratio data and a plurality of second historical equity-debt ratio data according to different conditions of each characteristic value; According to the first historical equity-to-debt ratio data, the processor is used to establish the survival probability model; based on the second historical equity-to-debt ratio data, the processor is used to obtain a matrix confusion matrix and a plurality of sub-sample confusion matrices, where the The maternal confusion matrix has a maternal accuracy rate for the selected prediction trend, and each sub-sample confusion matrix has a sub-sample accuracy rate for the selected prediction trend; Use the processor to determine that each of the first historical equity-to-debt ratio data satisfies a grouping condition, wherein the grouping condition corresponds to one of the sub-sample confusion matrices; the selected sub-sample confusion matrix; and the processor is used according to the parent confusion matrix The selected predicted trend of the higher of the accuracy of the parent sample and the sub-sample of the confusion matrix of the selected sub-sample is used as the selected predicted trend of each of the first historical equity-debt ratio data. 如請求項9所述的預測方法,其中於該生存機率模型建立步驟中,更包括:以該些歷史股債比資料以及至少一市場資訊,利用該處理器建立該生存機率模型。 The prediction method according to claim 9, wherein the step of establishing the survival probability model further includes: using the processor to establish the survival probability model based on the historical equity ratio data and at least one market information. 如請求項10所述的預測方法,其中於該生存機率模型建立步驟中,更包括:以該些歷史股債比資料以及該至少一市場資訊作為隨機森林演算法的輸入值,而利用該處理器建立該生存機率模型。 The prediction method according to claim 10, wherein the step of establishing the survival probability model further includes: using the historical equity ratio data and the at least one market information as the input value of the random forest algorithm, and using the processing The device establishes the survival probability model. 如請求項9所述的預測方法,其中於該生存機率建立模型步驟中,更包括:當各該第一歷史股債比資料中最高的該生存機率大於一高門檻值時,利用該處理器判斷各該第一歷史股債比資料滿足該分群條件。 The prediction method according to claim 9, wherein the step of establishing the survival probability model further includes: when the highest survival probability in each of the first historical equity-to-debt ratio data is greater than a high threshold, using the processor Determine that each of the first historical stock-to-debt ratio data meets the grouping condition. 如請求項12所述的預測方法,其中該高門檻值位於0.6至0.9之間。 The prediction method according to claim 12, wherein the high threshold is between 0.6 and 0.9. 如請求項9所述的預測方法,其中於該生存機率建立模型步驟中,更包括: 其中當各該第一歷史股債比資料的對應該些預測趨勢中的其中之一的該生存機率大於一低門檻值時,利用該處理器判斷各該第一歷史股債比資料滿足該分群條件。 The prediction method according to claim 9, wherein the step of establishing the survival probability model further includes: When the survival probability of each of the first historical equity-debt ratio data corresponding to one of the predicted trends is greater than a low threshold value, the processor is used to determine that each of the first historical equity-debt ratio data satisfies the sub-group condition. 如請求項14所述的預測方法,其中該低門檻值位於0.4至0.5之間。 The prediction method according to claim 14, wherein the low threshold is between 0.4 and 0.5. 如請求項9所述的預測方法,其中於該操作策略決定步驟中,更包括:利用該處理器對該些歷史股債比資料的該下一個交易日之前的多個近期股債比資料所對應的該些受選預測趨勢進行移動加權平均計算而得到該些近期股債比資料的一強度值;以及依據該些近期股債比資料的該強度值以及該些近期股債比資料的該些受選預測趨勢的一標準差,利用該處理器決定該下一個交易日的該操作策略。 The forecasting method according to claim 9, wherein in the step of determining the operation strategy, it further includes: using the processor to obtain a plurality of recent stock-to-debt ratio data before the next trading day of the historical stock-to-debt ratio data. The corresponding selected forecast trends are calculated by moving weighted average to obtain a strength value of the recent equity-debt ratio data; and the strength value based on the recent equity-debt ratio data and the recent equity-debt ratio data A standard deviation of the selected predicted trends, using the processor to determine the operation strategy for the next trading day.
TW108113283A 2019-04-16 2019-04-16 Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method TWI708202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108113283A TWI708202B (en) 2019-04-16 2019-04-16 Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108113283A TWI708202B (en) 2019-04-16 2019-04-16 Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method

Publications (2)

Publication Number Publication Date
TWI708202B true TWI708202B (en) 2020-10-21
TW202040480A TW202040480A (en) 2020-11-01

Family

ID=74093954

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108113283A TWI708202B (en) 2019-04-16 2019-04-16 Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method

Country Status (1)

Country Link
TW (1) TWI708202B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI326053B (en) * 2006-08-25 2010-06-11
TW201025177A (en) * 2008-12-19 2010-07-01 Folion Financial Technology Co Ltd Money investment simulation system based on investment analysis, and combination of time compression and event schedule
CN107506925A (en) * 2017-08-25 2017-12-22 璇玑智能(北京)科技有限公司 A kind of data processing equipment and method for Asset Allocation
CN109615106A (en) * 2018-10-16 2019-04-12 平安科技(深圳)有限公司 Stock yield method for pushing, device, storage medium and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI326053B (en) * 2006-08-25 2010-06-11
TW201025177A (en) * 2008-12-19 2010-07-01 Folion Financial Technology Co Ltd Money investment simulation system based on investment analysis, and combination of time compression and event schedule
CN107506925A (en) * 2017-08-25 2017-12-22 璇玑智能(北京)科技有限公司 A kind of data processing equipment and method for Asset Allocation
CN109615106A (en) * 2018-10-16 2019-04-12 平安科技(深圳)有限公司 Stock yield method for pushing, device, storage medium and server

Also Published As

Publication number Publication date
TW202040480A (en) 2020-11-01

Similar Documents

Publication Publication Date Title
TWI769190B (en) Risk management method and device
US7873565B2 (en) Composite trading order processing
US20200057934A1 (en) Method and apparatus for accelerating data processing in neural network
US8442891B2 (en) Intermarket analysis
US11935122B2 (en) Systems and methods to implement an exchange messaging policy
Harris et al. The sound of silence
TWI708202B (en) Stock-to-bond ratio trend prediction system and stock-to-bond ratio trend prediction method
US10460010B2 (en) Computing scenario forecasts using electronic inputs
US8296214B1 (en) Methods and apparatus related to billing and accounting for assets that require more than two factors to establish asset value
CN115953245A (en) Stock trend prediction method and device based on sequence-to-graph
TWM584500U (en) Stock-bond ratio trend prediction system
Zhou et al. Evolution of high-frequency systematic trading: a performance-driven gradient boosting model
CA3151974A1 (en) Automated real time mortgage servicing and whole loan valuation
US20200233932A1 (en) Providing ability to simulate production systems at scale in a fast, scalable way
KR102632591B1 (en) Apparatus and method for recommending fund
US20240005102A1 (en) Contextualized content delivery for mortgages
US20240127080A1 (en) Systems and methods of optimizing resource allocation using machine learning and predictive control
US20230245230A1 (en) System and method for generating and controlling celebrity investment stock currency
CN116306985A (en) Predictive model training method, apparatus, computer device and storage medium
TWM630951U (en) Warning system based on liquidity coverage ratio
TWM638596U (en) Financial management game interactive device
Roy et al. Time-varying global financial market inefficiency: an instance of pre-, during, and post-subprime crisis
Mai et al. A multivariate default model with spread and event risk
Griffin et al. Is Financial Analysis Doomed? The Birth of “Reactive Valuation” Analysis
TWM642113U (en) Investment protfolio analysis system