TWM642113U - Investment protfolio analysis system - Google Patents

Investment protfolio analysis system Download PDF

Info

Publication number
TWM642113U
TWM642113U TW112202043U TW112202043U TWM642113U TW M642113 U TWM642113 U TW M642113U TW 112202043 U TW112202043 U TW 112202043U TW 112202043 U TW112202043 U TW 112202043U TW M642113 U TWM642113 U TW M642113U
Authority
TW
Taiwan
Prior art keywords
investment
return
investment portfolio
rate
target
Prior art date
Application number
TW112202043U
Other languages
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 王淳恆
Priority to TW112202043U priority Critical patent/TWM642113U/en
Publication of TWM642113U publication Critical patent/TWM642113U/en

Links

Images

Landscapes

  • Investigating Or Analysing Biological Materials (AREA)
  • Saccharide Compounds (AREA)

Abstract

An investment portfolio analysis system includes a basic model training module, a SHAP value calculation module, an investment portfolio ratio calculation module, an integrated calculation module and a determination module. The investment portfolio ratio calculation module is configured to set environmental parameters, and calculate the environmental parameters and estimated return rate obtained by the basic model training module to obtain an investment portfolio ratio. The integrated calculation module is configured to obtain the estimated return rate of the investment portfolio, and calculate the corresponding SHAP values of the investment portfolio according to the proportion of the investment portfolio. The determination module is configured to determine the degree of influence of each of factors according to the SHAP values corresponding to factor data, so as to select a plurality of key factors.

Description

投資組合分析系統Portfolio Analysis System

本申請係關於一種投資組合分析系統,特別是指一種判斷影響金融商品的價格的關鍵因素的系統。This application relates to a portfolio analysis system, in particular to a system for judging key factors affecting the price of financial commodities.

金融商品種類眾多,包含各式不同的投資標的,例如基金及股票即為多數人最普遍的投資標的。金融商品的價格因為各種因素的影響而變動,例如利率的走升或下跌、景氣因供需有週期性的循環、公司營收、甚至天災人禍及政府政策等等,都會造成市場價格的上下波動,而如何預測價格走勢是大多數投資人最感興趣的議題。為了輔助投資人對金融商品的價格走勢的判斷,各種預測金融商品變化的方法也因應而生,例如從歷史價格、價量強弱、技術面、基本面及/或籌碼面等資訊來進行判斷。There are many types of financial products, including various investment targets. For example, funds and stocks are the most common investment targets for most people. The price of financial commodities changes due to various factors, such as the rise or fall of interest rates, the cyclical supply and demand cycle of the business climate, company revenue, and even natural and man-made disasters and government policies, etc., which will cause market price fluctuations. How to predict the price trend is the most interesting topic for most investors. In order to assist investors in judging the price trend of financial commodities, various methods of predicting changes in financial commodities have also emerged accordingly, such as judging from information such as historical prices, price strength, technical aspects, fundamentals and/or chips.

然而,金融商品的市場瞬息萬變,尤其對於投資組合的比例及潛在風險往往對投資人來說是個黑盒子,不知道什麼狀況下會有什麼變化,要準確預測市場未來的漲跌是十分困難的。然而,若能掌握影響價格的關鍵因素,依然可以判斷出金融商品的價格漲跌的大方向及目前處在景氣或產品循環的位置。因此,為了在眾多影響金融商品市場的因素中,找出主要影響價格走勢的關鍵因素,並幫助投資者能簡單且清楚地了解投資策略是如何擬定,使投資資訊與投資者之間可以建立一種信任與透明的關係,實為當下亟需解決的課題。However, the market of financial commodities is changing rapidly, especially the proportion of investment portfolio and potential risks are often a black box for investors. It is very difficult to accurately predict the future rise and fall of the market without knowing what changes will occur under what conditions. However, if we can grasp the key factors affecting the price, we can still judge the general direction of the rise and fall of the price of financial commodities and the current position of the boom or product cycle. Therefore, in order to find out the key factors that mainly affect the price trend among the many factors that affect the financial commodity market, and help investors to understand how the investment strategy is formulated simply and clearly, so that a relationship between investment information and investors can be established. The relationship between trust and transparency is an urgent issue that needs to be resolved.

在本申請之一技術態樣中提出一種投資組合分析系統,包含一記憶體及一電連接該記憶體之處理器,且該投資組合分析系統運作於一電子裝置內,並包含一基礎模型訓練模組,用以基於影響一投資標的之複數個因素各自所對應的複數個因素資料和歷史價格中一預設時間段的一歷史報酬率,以機器學習方法訓練一基礎模型,並獲得所對應的投資標的之預估報酬率。一SHAP值計算模組,用以將該等因素資料代入該基礎模型,並對該基礎模型執行SHAP演算法處理,以獲得該等因素資料各自所對應的SHAP值。一投資組合比例計算模組,用以設定一環境參數,並將該環境參數及該預估報酬率進行計算,以獲得包含複數個投資標的之投資組合的投資組合比例。一整合計算模組,用以將該預估報酬率依照該投資組合比例計算,以獲得投資組合預估報酬率,並根據該投資組合比例計算該投資組合所對應的SHAP值。一判斷模組,用以根據該等因素資料各自所對應的SHAP值判斷該等因素中各者的影響程度,以選出複數個關鍵因素。In one technical aspect of this application, an investment portfolio analysis system is proposed, which includes a memory and a processor electrically connected to the memory, and the investment portfolio analysis system operates in an electronic device, and includes a basic model training The module is used to train a basic model with a machine learning method based on a plurality of factor data corresponding to each of a plurality of factors affecting an investment target and a historical rate of return in a preset period of time in historical prices, and obtain the corresponding The estimated return rate of the investment target. A SHAP value calculation module is used for substituting the factor data into the basic model, and executing the SHAP algorithm processing on the basic model to obtain the respective SHAP values corresponding to the factor data. An investment portfolio ratio calculation module is used to set an environmental parameter, and calculate the environmental parameter and the estimated rate of return to obtain the investment portfolio ratio of the investment portfolio including multiple investment targets. An integrated calculation module is used to calculate the estimated rate of return according to the proportion of the investment portfolio to obtain the estimated rate of return of the investment portfolio, and calculate the corresponding SHAP value of the investment portfolio according to the proportion of the investment portfolio. A judgment module, used for judging the degree of influence of each of these factors according to the SHAP value corresponding to each of the data of these factors, so as to select a plurality of key factors.

在一些實施例中,該複數個投資標的包含個股、共同基金、第一類型指數股票型基金(exchange-traded funds, ETF) 及/或債券型ETF、第二類型指數股票型基金及/或債券型ETF,且該第一類型ETF的上市期間大於該第二類型ETF的上市期間。In some embodiments, the plurality of investment targets includes individual stocks, mutual funds, a first type of index stock funds (exchange-traded funds, ETFs) and/or bond ETFs, a second type of index stock funds and/or bonds Type ETF, and the listing period of the first type ETF is longer than the listing period of the second type ETF.

在一些實施例中,投資組合分析系統更包含一風險係數計算模組,用以針對該投資標的為該個股或該第二類型ETF時,計算該投資標的之風險係數,並執行以下步驟:設定該第一類型ETF或加權指數作為參考標的,並計算該參考標的之參考報酬率。將該參考報酬率代入一定價模型,以計算出該投資標的與該參考標的之間的風險係數。將該風險係數代入該基礎模型,以獲得對應該投資標的之預估報酬率。In some embodiments, the investment portfolio analysis system further includes a risk coefficient calculation module, which is used to calculate the risk coefficient of the investment target when the investment target is the individual stock or the second type ETF, and perform the following steps: setting The first type of ETF or weighted index is used as the reference target, and the reference return rate of the reference target is calculated. Substitute the reference rate of return into a pricing model to calculate the risk coefficient between the investment target and the reference target. Substitute the risk coefficient into the basic model to obtain the estimated rate of return corresponding to the investment target.

在一些實施例中,該風險係數計算模組還用以針對該投資標的為該第一類型ETF時,設定該第一類型ETF的風險係數為1。In some embodiments, the risk coefficient calculation module is also used to set the risk coefficient of the first type ETF to 1 when the investment target is the first type ETF.

在一些實施例中,該投資組合比例計算模組所設定的該環境參數是選自該投資標的之歷史價格、價格波動度、預估報酬率及預估信心比例所構成的群組,且該環境參數及該預估報酬率是透過一預設模型進行計算。In some embodiments, the environmental parameters set by the investment portfolio ratio calculation module are selected from the group consisting of the historical price, price volatility, estimated rate of return, and estimated confidence ratio of the investment target, and the The environmental parameters and the estimated rate of return are calculated through a default model.

在一些實施例中,投資組合分析系統更包含一資料收集模組,用以自總體經濟指標、基本面指標、原物料指標、籌碼指標、外匯、技術面指標所構成的群組中選取該等因素及收集該等因素各自所對應的該等因素資料,以供該基礎模型訓練模組進行存取。In some embodiments, the investment portfolio analysis system further includes a data collection module for selecting these from the group consisting of overall economic indicators, fundamental indicators, raw material indicators, bargaining chip indicators, foreign exchange, and technical indicators. Factors and the data of the factors corresponding to the factors are collected for the basic model training module to access.

在一些實施例中,投資組合分析系統更包含一歷史數據計算模組,用以根據該投資標的之歷史價格計算該預設時間段的該歷史報酬率,以供該基礎模型訓練模組進行存取。In some embodiments, the investment portfolio analysis system further includes a historical data calculation module, which is used to calculate the historical rate of return in the preset time period according to the historical price of the investment target for storage by the basic model training module. Pick.

在一些實施例中,投資組合分析系統更包含一資料庫模組,包括一影響因素資料庫、一歷史數據資料庫、一模型資料庫及一報酬率數據資料庫。In some embodiments, the investment portfolio analysis system further includes a database module, including an influencing factor database, a historical data database, a model database and a rate of return data database.

下文係舉實施例配合所附圖式作詳細說明,但所描述的具體實施例僅僅用以解釋本新型,並不用來限定本新型,而結構操作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本新型揭示內容所涵蓋的範圍。The following is a detailed description of the embodiments in conjunction with the accompanying drawings, but the described specific embodiments are only used to explain the present invention, not to limit the present invention, and the description of the structure and operation is not used to limit the order of its execution, any Devices with equivalent functions produced by the recombination of components are within the scope of the disclosure of the present invention.

此外,本新型所提到的“第一”及“第二”等用語並不代表任何順序、數量或者重要性,只是用於區分不同的部分,且附圖僅僅用以示意性地加以說明。In addition, terms such as "first" and "second" mentioned in the present invention do not represent any order, quantity or importance, but are only used to distinguish different parts, and the drawings are only used for schematic illustration.

在全篇說明書與申請專利範圍所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在此揭露之內容中與特殊內容中的平常意義。某些用以描述本揭露之用詞將於下或在此說明書的別處討論,以提供本領域技術人員在有關本揭露之描述上額外的引導。The terms (terms) used throughout the specification and claims, unless otherwise noted, generally have the ordinary meaning of each term used in the field, in the disclosed content and in the special content. Certain terms used to describe the disclosure are discussed below or elsewhere in this specification to provide those skilled in the art with additional guidance in describing the disclosure.

本申請提供一種投資組合分析系統及方法,用於從影響金融商品的投資組合之眾多因素中,判斷出較為關鍵的一或多個因素。該投資組合包括複數個投資標的,且該複數個投資標的包含個股、共同基金、第一類型指數股票型基金(exchange-traded funds, ETF)及/或債券型ETF、第二類型指數股票型基金及/或債券型ETF等,其中該第一類型ETF亦可稱為大型ETF,該第二類型ETF亦可稱為小型ETF,且該第一類型ETF的上市期間大於該第二類型ETF的上市期間。The application provides an investment portfolio analysis system and method, which are used to determine one or more key factors among many factors affecting the investment portfolio of financial commodities. The investment portfolio includes multiple investment targets, and the multiple investment targets include individual stocks, mutual funds, the first type of index stock funds (exchange-traded funds, ETFs) and/or bond ETFs, and the second type of index stock funds And/or bond ETF, etc., where the first type ETF can also be called large ETF, the second type ETF can also be called small ETF, and the listing period of the first type ETF is longer than that of the second type ETF period.

首先,先以本申請的投資組合分析方法作為示例說明。在一些實施例中,本申請的投資組合分析方法由一處理器執行。請參閱圖1,圖1為本申請之一實施例的投資組合分析方法100之流程圖。本申請的投資組合分析方法100包含步驟S110~S180等,需要注意的是,所述步驟順序並不以此為限,可以依據實際需求而變更順序。本申請的投資組合分析方法100的具體步驟內容如下: 步驟S110:收集影響投資組合中每一投資標的之複數個因素各自所對應的複數個因素資料。 步驟S120:計算每一投資標的之歷史價格中一預設時間段的一歷史報酬率,並以機器學習方法針對每一投資標的訓練一基礎模型。 步驟S130:利用訓練好的該基礎模型獲得所對應的投資標的之預估報酬率。 步驟S140:將該等因素資料代入所對應的基礎模型,並對該基礎模型執行SHAP (SHapley Additive exPlanations)演算法處理,以獲得該等因素資料各自所對應的SHAP值。 步驟S150:設定環境參數,並將該環境參數及該預估報酬率進行計算,以獲得該等投資標的之投資組合比例。 步驟S160:將該預估報酬率依照該投資組合比例計算,以獲得投資組合預估報酬率。 步驟S170:以該投資組合比例計算該投資組合所對應的SHAP值。 步驟S180:根據該等因素資料各自所對應的SHAP值判斷該等因素中各者的影響程度,以選出複數個關鍵因素。 First, the investment portfolio analysis method of the present application is used as an example for illustration. In some embodiments, the investment portfolio analysis method of the present application is executed by a processor. Please refer to FIG. 1 . FIG. 1 is a flowchart of an investment portfolio analysis method 100 according to an embodiment of the present application. The portfolio analysis method 100 of the present application includes steps S110-S180, etc. It should be noted that the order of the steps is not limited thereto, and the order can be changed according to actual needs. The specific steps of the portfolio analysis method 100 of the present application are as follows: Step S110: Collect multiple factor data corresponding to multiple factors affecting each investment target in the investment portfolio. Step S120: Calculate a historical rate of return in a preset period of time in the historical price of each investment target, and train a basic model for each investment target with a machine learning method. Step S130: Use the trained basic model to obtain the estimated rate of return of the corresponding investment target. Step S140: Substituting the factor data into the corresponding basic model, and performing SHAP (SHapley Additive exPlanations) algorithm processing on the basic model to obtain the respective SHAP values corresponding to the factor data. Step S150: Set environmental parameters, and calculate the environmental parameters and the estimated rate of return to obtain the investment portfolio ratio of the investment targets. Step S160: Calculate the estimated rate of return according to the proportion of the investment portfolio to obtain an estimated rate of return for the investment portfolio. Step S170: Calculate the SHAP value corresponding to the investment portfolio based on the investment portfolio ratio. Step S180: Determine the degree of influence of each of the factors according to the SHAP values corresponding to the factor data, so as to select a plurality of key factors.

在一些實施例中,步驟S110的投資組合可由股票及第一類型ETF等多個投資標所構成。分別收集影響每一投資標的複數個因素各自所對應的複數個因素資料。例如,針對股票產品A,收集可能影響其價格(股價)的因素於某一時間點或某一時間段所對應的數據資料。具體地,可透過處理器自動化收集影響股價的因素各自所對應的因素資料,並儲存於資料庫中。或者,使用者也可自行輸入因素及相對應的因素資料以儲存於資料庫中。而影響股價的因素例如選自總體經濟指標、基本面指標、原物料指標、籌碼指標、外匯、技術面指標所構成的群組。In some embodiments, the investment portfolio in step S110 may be composed of multiple investment targets such as stocks and first-type ETFs. Separately collect multiple factor data corresponding to multiple factors affecting each investment target. For example, for stock product A, data corresponding to factors that may affect its price (stock price) at a certain point in time or a certain period of time are collected. Specifically, the factor data corresponding to the factors affecting the stock price can be collected automatically through the processor, and stored in the database. Alternatively, the user can also input factors and corresponding factor data to be stored in the database. The factors affecting the stock price are selected from the group consisting of overall economic indicators, fundamental indicators, raw material indicators, bargaining chip indicators, foreign exchange, and technical indicators, for example.

在一些實施例中,總體經濟指標包括例如恐慌指數、10年期公債利率、10年期減2年期公債利差、美國30年期抵押貸款利率、美國高收益指數選擇權調整利差、美國整體庫存、美國製造業耐久財新訂單、美國耐久財消費支出、美國初領失業救濟金人數、美國非農就業人口、和美國五周內失業人口等等。In some embodiments, aggregate economic indicators include, for example, the Fear Index, 10-Year Treasury Rate, 10-Year-2-Year Spread, U.S. 30-Year Mortgage Rate, U.S. High Yield Index Option-Adjusted Spread, U.S. Overall inventory, new orders for durable goods in the U.S. manufacturing sector, consumer spending on durable goods in the U.S., initial jobless claims in the U.S., non-farm payrolls in the U.S., and unemployment in the U.S. within five weeks, among others.

基本面指標包括例如公告或經過季節調整後的月營收、月營收與股價的比率、過去財報計算得本益比、利用公告財報與營收預估的本益比、過去財報計算得股價淨值比、利用公告財報與營收預估的股價淨值比、已公告營收預估的現金殖利率、和過去或即將的股息殖利率等等。Fundamental indicators include, for example, announced or seasonally adjusted monthly revenue, ratio of monthly revenue to stock price, price-to-earnings ratio calculated from past financial reports, price-to-earnings ratio using announced financial reports to revenue estimates, stock price calculated from past financial reports Ratio to book value, price-to-book ratio using announced earnings and revenue estimates, cash yields on announced revenue estimates, past or upcoming dividend yields, and more.

原物料指標包括例如布蘭特原油、WTI原油、天然氣、黃金、銀、銅、鐵、錫、美國黃豆、美國小麥、美國玉米、和CRB商品指數等等。Raw material indicators include, for example, Brent Crude Oil, WTI Crude Oil, Natural Gas, Gold, Silver, Copper, Iron, Tin, US Soybeans, US Wheat, US Corn, and the CRB Commodity Index, among others.

籌碼指標包括例如股東持有平均張數、股東持有600張以上比例、股東持有1000張以上比例、外資買賣超(含5日、20日、60日等平均值)、投信買賣超(含5日、20日、60日等平均值)、自營商買賣超(含5日、20日、60日等平均值)、融資餘額(含5日、20日、60日平均值)、和融券餘額(含5日、20日、60日平均值)等等。Chip indicators include, for example, the average number of shares held by shareholders, the proportion of shareholders holding more than 600 shares, the proportion of shareholders holding more than 1,000 shares, foreign capital buying and selling (including the average value of 5 days, 20 days, 60 days, etc.), credit trading exceeding (including 5-day, 20-day, 60-day average value), self-dealer trading super (including 5-day, 20-day, 60-day average value), financing balance (including 5-day, 20-day, 60-day average value), and Balance of securities lending (including 5-day, 20-day, 60-day average value) and so on.

外匯包括例如美金指數、美金對台幣匯率、和澳幣對美金匯率等等。Foreign exchange includes, for example, the U.S. dollar index, the U.S. dollar to Taiwan dollar exchange rate, and the Australian dollar to U.S. dollar exchange rate, etc.

技術面指標包括例如交易量(含5日、20日、60日等平均值)和過去的價格等等。應理解的是,本新型的投資組合分析方法100所收集的因素資料並不限於取自上述例子,任何可能影響股價的因素皆可應用於本新型所揭示的投資組合分析方法100。Technical indicators include, for example, trading volume (including 5-day, 20-day, 60-day averages) and past prices. It should be understood that the factor data collected by the investment portfolio analysis method 100 of the present invention are not limited to the above examples, and any factors that may affect stock prices can be applied to the investment portfolio analysis method 100 disclosed in the present invention.

在一些實施例中,影響投資標的之因素所對應的因素資料可例如為各個因素於固定時間間隔的成長率等數據資料。舉例來說,可根據使用者需求,收集有關股票產品A的各個因素於過去任意時間段的成長率。在另一實施例中,亦可應實際需要,將影響股價的因素所對應的因素資料進行取log值等數值轉換,本新型對此不作任何限制。In some embodiments, the factor data corresponding to the factors affecting the investment target may be, for example, data such as the growth rate of each factor at a fixed time interval. For example, according to user needs, the growth rate of various factors related to the stock product A in any past period of time can be collected. In another embodiment, according to actual needs, the factor data corresponding to the factors affecting the stock price can be converted into numerical values such as log values, and the present invention does not impose any restrictions on this.

在步驟S120中,計算每一投資標的之歷史價格中一預設時間段的一歷史報酬率,並以機器學習方法針對每一投資標的訓練一基礎模型。詳細來說,歷史報酬率是指買進金融商品持有t天後的報酬率。一般而言,報酬率可包括簡單報酬率及對數報酬率兩種。在一些實施例中,在第d天進場持有t天的簡單報酬率為: r =

Figure 02_image001
該簡單報酬率計算方式的值域為-1~+∞,數值偏重於正的方向。 In step S120, a historical rate of return in a preset period of time in the historical price of each investment target is calculated, and a basic model is trained for each investment target by a machine learning method. Specifically, the historical rate of return refers to the rate of return after buying a financial product and holding it for t days. Generally speaking, the rate of return can include simple rate of return and logarithmic rate of return. In some embodiments, the simple rate of return for entering the market on day d and holding for t days is: r =
Figure 02_image001
The value range of this simple rate of return calculation method is -1~+∞, and the value is biased towards the positive direction.

在一些實施例中,在第d天進場持有t天的對數報酬率為: R =

Figure 02_image003
該對數報酬率計算方式的值域為-∞~+∞,值域上為對稱。本申請以機器學習方法訓練該基礎模型是透過自動化機器學習。換句話說,在資料平衡的情況下,訓練效果較佳,故對數報酬率計算方式更適合使用在機器學習的報酬率預估上。例如:針對股票產品A,收集其於過去一段預設時間的報酬率。例如,投資組合分析方法100可收集股票產品A過去數年、數月、數周、或任意時間區間的歷史報酬率。較佳地,投資組合分析方法100在步驟S110中是收集前述因素資料的時間點之後一段預設時間的報酬率。舉例來說,當收集的因素資料為各影響因素於時間點T1的資料,則透過上述報酬率的計算方法計算收集時間點T1之後一段預設時間的歷史報酬率。 In some embodiments, the logarithmic return of entering the market on day d and holding for t days is: R =
Figure 02_image003
The value range of the logarithmic rate of return calculation method is -∞~+∞, and the value range is symmetrical. This application uses machine learning methods to train the base model through automated machine learning. In other words, when the data is balanced, the training effect is better, so the logarithmic rate of return calculation method is more suitable for the rate of return estimation of machine learning. For example: for stock product A, collect its rate of return for a predetermined period of time in the past. For example, the investment portfolio analysis method 100 can collect the historical rate of return of the stock product A in the past years, months, weeks, or any time interval. Preferably, in the investment portfolio analysis method 100, in step S110, the rate of return for a predetermined period of time after the time point when the aforementioned factor data is collected. For example, when the collected factor data is the data of each influencing factor at time point T1, the historical rate of return for a preset period of time after the collection time point T1 is calculated through the above method of calculating the rate of return.

接者,將在步驟S110所收集的因素資料及在步驟S120計算出的歷史報酬率,透過機器學習方法來訓練基礎模型。詳細來說,以因素資料作為訓練模型的輸入,而歷史報酬率作為訓練模型的目標,透過機器學習訓練出最符合的基礎模型。Next, the factor data collected in step S110 and the historical rate of return calculated in step S120 are used to train the basic model through a machine learning method. In detail, the factor data is used as the input of the training model, and the historical rate of return is used as the target of the training model, and the most suitable basic model is trained through machine learning.

在步驟S130中,利用訓練好的該基礎模型獲得所對應的投資標的之預估報酬率。在一些實施例中,為了提高預估報酬率的精確度,該預估報酬率根據不同類型的投資標的而對應有不同的計算條件。在一些實施例中,若為第一類型EFT(大型ETF)且上市期間較長,一般來說為至少5年以上,由於該類型的投資標的之訓練資料足夠,則上述步驟S120的歷史報酬率即可作為該大型ETF的預估報酬率。在一些實施例中,若投資標的為個股、共同基金、或第二類型ETF(小型ETF)時,因為比較容易受到短期籌碼的影響,或者為上市時間較短時,歷史資料較少無法有效訓練出模型時,在預估報酬上較為困難。此時,該類型的投資標的之預估報酬率可改由一參考標的作為指標,例如以市場(如大盤)或大型ETF推估的報酬率,再根據過去投資標的(例如個股、共同基金)與市場間兩者之間的風險係數,進一步預估個股、共同基金未來的預估報酬率。In step S130, the estimated rate of return of the corresponding investment target is obtained by using the trained basic model. In some embodiments, in order to improve the accuracy of the estimated rate of return, the estimated rate of return has different calculation conditions corresponding to different types of investment targets. In some embodiments, if it is the first type of EFT (large ETF) and the listing period is longer, generally speaking, it is at least 5 years, since the training data of this type of investment target is sufficient, the historical rate of return in the above step S120 It can be used as the estimated rate of return of this large ETF. In some embodiments, if the investment target is individual stocks, mutual funds, or the second type of ETF (small ETF), because it is more likely to be affected by short-term bargaining chips, or when the listing time is short, there are few historical data and cannot be effectively trained It is more difficult to estimate the compensation when the model is produced. At this time, the estimated return rate of this type of investment target can be changed to a reference target as an indicator, such as the rate of return estimated by the market (such as the market) or a large ETF, and then based on past investment targets (such as individual stocks, mutual funds) The risk coefficient between the market and the market further predicts the estimated return rate of individual stocks and mutual funds in the future.

請參閱圖2,圖2為本申請之一實施例計算單一投資標的之預估報酬率的流程圖。在一些實施例中,當該投資標的為個股、共同基金或第二類型ETF時,利用訓練好的該基礎模型獲得所對應的投資標的之預估報酬率的步驟(S130)包含以下步驟: 步驟S131:設定該第一類型ETF或加權指數作為參考標的,並計算該參考標的之參考報酬率; 步驟S132:將該參考報酬率代入一定價模型,以計算出該投資標的與該參考標的之間的風險係數;以及 步驟S134:將該風險係數代入該基礎模型,以獲得對應該投資標的之預估報酬率。 較佳地,該定價模型可為資本資產定價模型,但並不以此為限。 Please refer to FIG. 2 . FIG. 2 is a flow chart of calculating the estimated rate of return of a single investment target according to an embodiment of the present application. In some embodiments, when the investment target is individual stocks, mutual funds or second-type ETFs, the step of obtaining the estimated rate of return of the corresponding investment target using the trained basic model (S130) includes the following steps: Step S131: Set the first type of ETF or weighted index as the reference target, and calculate the reference rate of return of the reference target; Step S132: Substituting the reference rate of return into a pricing model to calculate the risk coefficient between the investment target and the reference target; and Step S134: Substituting the risk coefficient into the basic model to obtain an estimated rate of return corresponding to the investment target. Preferably, the pricing model can be a capital asset pricing model, but it is not limited thereto.

續請參閱圖2。在一些實施例中,當該投資標的為第一類型ETF時,由於大型ETF的歷史資料足夠,則在步驟S130中可包含步驟S133:設定該第一類型ETF的風險係數為1。通過增加上述風險係數的評估,可有效提高投資標的之預估報酬率的精確度。See Figure 2 continued. In some embodiments, when the investment target is a first-type ETF, since the historical data of a large ETF is sufficient, step S133 may be included in step S130: set the risk coefficient of the first-type ETF to 1. By increasing the evaluation of the above risk coefficient, the accuracy of the estimated return rate of the investment target can be effectively improved.

在訓練完成該基礎模型後,在步驟S140中,將目前或欲分析的特定時間點的各因素資料代入該訓練好的基礎模型,並以該基礎模型執行SHAP (SHapley Additive exPlanations)演算法處理,以獲得各因素資料所對應的SHAP值,該SHAP值即表示每一個特徵(即因素資料)影響預估報酬率的程度,藉此對該基礎模型的預測分析達到解釋的效果。After the training of the basic model is completed, in step S140, the current or specific time points to be analyzed are substituted into the trained basic model, and the SHAP (SHapley Additive exPlanations) algorithm is executed with the basic model. To obtain the SHAP value corresponding to each factor data, the SHAP value indicates the degree to which each feature (ie factor data) affects the estimated rate of return, so that the predictive analysis of the basic model can achieve the effect of interpretation.

在一些實施例中,在步驟S120中訓練好的該基礎模型,代入步驟S110儲存的歷史報酬率所對應的預設時間段中的複數個時間區間所對應的各因素資料,並對基於每個時間區間的模型執行SHAP演算法,因此可獲得各因素資料於各個時間區間所對應的SHAP值。舉例來說,假設歷史報酬率所對應的預設時間段為數年,則預設時間段可例如以每年、每月、每周、或每日等為基本單位來劃分出複數個時間區間。應理解的是,預設時間段和時間區間可根據實際需求作調整,本申請並不作限制。In some embodiments, the basic model trained in step S120 is substituted into the factor data corresponding to the plurality of time intervals in the preset time period corresponding to the historical rate of return stored in step S110, and based on each The time interval model executes the SHAP algorithm, so the SHAP value corresponding to each factor data in each time interval can be obtained. For example, assuming that the preset time period corresponding to the historical rate of return is several years, the preset time period can be divided into a plurality of time intervals based on annual, monthly, weekly, or daily units, for example. It should be understood that the preset time period and time interval may be adjusted according to actual needs, which are not limited in this application.

在一些實施例中,將因素資料各自對應的複數個SHAP值進行加總,以獲得各因素資料各自對應的SHAP重要值。較佳地,可將因素資料各自對應的複數個SHAP值取絕對值後在進行加總,以獲得各因素資料各自對應的SHAP重要值。在一些實施例中,亦可將SHAP重要值進一步進行平均值計算或其他數值轉換,本申請並不加以限制。In some embodiments, the multiple SHAP values corresponding to each factor data are summed up to obtain the SHAP important value corresponding to each factor data. Preferably, the absolute values of the plurality of SHAP values corresponding to each factor data can be summed up to obtain the SHAP important value corresponding to each factor data. In some embodiments, the SHAP important value may also be further subjected to average calculation or other numerical conversion, which is not limited in the present application.

需要注意的是,從過去經驗中可發現在針對多個投資標的之投資組合時,若欠缺適當的投資比例,縱使取得單一投資標的之預估報酬率,依舊無法使投資組合達到最佳的投資效應。本申請的投資組合分析方法100提供了能提升投資效應的投資組合比例。在步驟S150中,透過設定環境參數,並將該環境參數及該預估報酬率進行計算,以獲得該等投資標的之投資組合比例。在一些實施例中,該環境參數選自該投資標的之歷史股價、股價波動度、預估報酬率及預估信心比例所構成的群組,且該環境參數及該預估報酬率是透過一預設模型進行計算。較佳地,該預設模型可為Black-Litterman模型,但並不以此為限。It should be noted that, from past experience, it can be found that if there is a lack of appropriate investment ratio for the investment portfolio of multiple investment targets, even if the estimated rate of return of a single investment target is obtained, the investment portfolio will still not be able to achieve the best investment effect. The investment portfolio analysis method 100 of the present application provides an investment portfolio ratio that can improve investment effects. In step S150, by setting environmental parameters and calculating the environmental parameters and the estimated rate of return, the investment portfolio ratios of the investment targets are obtained. In some embodiments, the environmental parameter is selected from the group consisting of the historical stock price, stock price volatility, estimated rate of return and estimated confidence ratio of the investment target, and the environmental parameter and the estimated rate of return are obtained through a Preset models for calculations. Preferably, the preset model may be a Black-Litterman model, but it is not limited thereto.

在步驟S160中,將每一投資標的之預估報酬率依照該投資組合比例計算,以獲得投資組合預估報酬率。需要注意的是,若單一投資標的之預估報酬率是使用對數報酬率的計算方法,則計算投資組合預估報酬率時須先換回簡單報酬率,再進行權重相加的組合。In step S160, the estimated rate of return of each investment target is calculated according to the proportion of the investment portfolio to obtain the estimated rate of return of the investment portfolio. It should be noted that if the estimated rate of return of a single investment target is calculated using the logarithmic rate of return, when calculating the estimated rate of return of the investment portfolio, it must first be converted back to the simple rate of return, and then the combination of weighted additions.

在步驟S170中,在取得該投資組合比例後,以該投資組合比例計算該投資組合所對應的SHAP值。需要注意的是,該投資組合所對應的SHAP值的計算是根據每一投資標的之報酬率是採用簡單報酬率或對數報酬率而有所區分。此外,該投資組合所對應的SHAP值是在評估了前述風險係數後獲得的SHAP值,故可大幅降低個股、共同基金或小型ETF這類型投資標的容易受到短期籌碼或上市期間較短而影響整體投資組合預估報酬率的程度。In step S170, after the investment portfolio ratio is obtained, the SHAP value corresponding to the investment portfolio is calculated based on the investment portfolio ratio. It should be noted that the calculation of the SHAP value corresponding to the investment portfolio is differentiated according to whether the rate of return of each investment target is simple rate of return or logarithmic rate of return. In addition, the SHAP value corresponding to this investment portfolio is the SHAP value obtained after evaluating the aforementioned risk coefficients, so it can greatly reduce the short-term chips or the short listing period of investment targets such as individual stocks, mutual funds or small ETFs that may affect the overall The degree to which a portfolio is projected to return.

最後,在步驟S180中,根據該等因素資料各自所對應的SHAP值判斷該等因素中各者的影響程度,以選出複數個關鍵因素。請參閱圖3及圖4A至AE。圖3為本申請之一實施例選出複數個關鍵因素的流程圖,圖4A為本申請之一實施例之關鍵因素排序結果示例圖,圖4B為圖4A之一關鍵因素與一投資組合一年報酬率的關係圖,圖4C為本申請之一實施例之關鍵因素排序結果示例圖,圖4D為圖4C之一關鍵因素與一投資組合一年報酬率的關係圖,及圖4E為本申請之一實施例之關鍵因素排序結果示例圖。步驟S180具體內容包含: 步驟S181:找出該等SHAP值在該預設時間段所累積最高的數個所對應的因素; 步驟S182:找出該等SHAP值在該預設時間段之最末時間點為正值所對應的因素;及 步驟S183:找出該等SHAP值中在該預設時間段之最末時間點為負值所對應的因素。 Finally, in step S180, the influence degree of each of these factors is judged according to the SHAP value corresponding to each of the factor data, so as to select a plurality of key factors. Please refer to Figure 3 and Figures 4A to AE. Fig. 3 is a flow chart of selecting a plurality of key factors in one embodiment of the present application, Fig. 4A is an example diagram of the sorting results of key factors in one embodiment of the present application, and Fig. 4B is a key factor in Fig. 4A and a portfolio for one year The relationship diagram of the rate of return, Figure 4C is an example figure of the key factor sorting results of one embodiment of the present application, Figure 4D is a relationship diagram of one of the key factors of Figure 4C and a portfolio's annual rate of return, and Figure 4E is the application An example diagram of ranking results of key factors in an embodiment. The specific content of step S180 includes: Step S181: find out the factors corresponding to the highest number of accumulated SHAP values in the preset time period; Step S182: find out the factors corresponding to the SHAP values being positive at the last time point of the preset time period; and Step S183: find out the factors corresponding to negative values at the last time point of the preset time period among the SHAP values.

圖4A繪示本申請之一實施例的歷史前十大關鍵因素排序結果示例圖,其中於圖4A的示例中可找出該等SHAP值在歷史上所累積最高的數個所對應的因素。以圖4A中CRB商品指數年增率關鍵因素分析影響投資組合報酬率為例,CRB商品指數年增率和此投資組合報酬率的關係圖(圖4B)中發現,當CRB商品指數年增率高時,此投資組合報酬率低。因此,以投資組合分析方法100作為輔助判斷的依據時,可判斷此投資組合無法抵抗通膨。FIG. 4A shows an example diagram of ranking results of the top ten key factors in history according to an embodiment of the present application. In the example in FIG. 4A , the factors corresponding to the highest accumulated SHAP values in history can be found. Taking the analysis of the key factors affecting the return rate of the investment portfolio on the annual growth rate of the CRB commodity index in Figure 4A as an example, the relationship between the annual growth rate of the CRB commodity index and the return rate of this investment portfolio (Figure 4B) finds that when the annual growth rate of the CRB commodity index When it is high, the return on this investment portfolio is low. Therefore, when the investment portfolio analysis method 100 is used as an auxiliary judgment basis, it can be judged that the investment portfolio cannot resist inflation.

應理解的是,圖4A僅為本申請實施例應用投資組合分析方法100的一個示例,其僅排序出某一時期的前十大關鍵因素,並未列出所有因素的當前排序,而因素的選擇、關鍵因素的數量及時間的設定等可根據使用者依實際需求作設計。It should be understood that FIG. 4A is only an example of the application of the investment portfolio analysis method 100 in the embodiment of the present application. It only ranks the top ten key factors in a certain period, and does not list the current ranking of all factors, and the selection of factors , the number of key factors and the setting of time can be designed according to the actual needs of users.

特別說明的是,SHAP演算法可測量模型中每個特徵(即因素資料)對每個預測(即歷史報酬率)的正面或負面貢獻的程度。舉例來說,當SHAP為正值時,其數值越大,則正面貢獻程度越大,而當SHAP值為負值時,其數值越小,則負面貢獻程度越大。簡單來說,SHAP值的絕對值越大,則貢獻程度越大。圖4C繪示本申請之一實施例前五大看漲關鍵因素排序結果示例圖。以圖4C中美國耐久財消費支出年增率為正值所對應的因素為例,由美國耐久財消費支出年增率和此投資組合報酬率的關係圖(圖4D)中發現,當美國耐久財消費支出年增率低時,此投資組合報酬率高,而目前因景氣趨緩,美國耐久財消費支出年增率為-11%,此投資組合在股債配置下,有較高的機率上漲。In particular, the SHAP algorithm measures the degree to which each feature in the model (ie factor data) contributes positively or negatively to each forecast (ie historical rate of return). For example, when SHAP is positive, the larger the value, the greater the positive contribution, and when the SHAP is negative, the smaller the value, the greater the negative contribution. Simply put, the greater the absolute value of the SHAP value, the greater the contribution. FIG. 4C shows an example diagram of the ranking results of the top five bullish key factors according to an embodiment of the present application. Taking the factors corresponding to the positive annual growth rate of U.S. durable goods consumption expenditure in Figure 4C as an example, it is found from the relationship diagram (Figure 4D) between the annual growth rate of U.S. durable goods consumption expenditure and the return rate of this investment portfolio that when the U.S. durable goods When the annual growth rate of financial consumption expenditure is low, the return rate of this investment portfolio is high. However, due to the slowdown in the current economy, the annual growth rate of US durable goods consumption expenditure is -11%. This investment portfolio has a higher probability under the allocation of stocks and bonds rise.

圖4E繪示本申請之一實施例前五大看跌關鍵因素排序結果示例圖。以圖4E中CRB商品指數年增率為負值所對應的因素為例,其中可看到銅年增率和CRB商品指數年增率都是跟通膨相關的因素,也都是導致目前投資組合相對較負向的影響,除此之外,近期負向影響的SHAP值相對於正向影響的SHAP值小,也可以表示此投資組合近期上漲的機會較大。FIG. 4E shows an example diagram of the ranking results of the top five bearish key factors according to an embodiment of the present application. Take the factors corresponding to the negative annual growth rate of the CRB commodity index in Figure 4E as an example. It can be seen that the annual growth rate of copper and the annual growth rate of the CRB commodity index are both factors related to inflation, and they are also factors that lead to the current investment The portfolio has a relatively negative impact. In addition, the SHAP value of the recent negative impact is smaller than the SHAP value of the positive impact, which can also indicate that this portfolio has a greater chance of rising in the near future.

如上所述,本申請投資組合分析方法利用機器學習,基於風險係數評估及最佳投資組合比例的條件下,獲得投資組合預估報酬率,並提供可解釋性的模型,可以清楚簡單地顯示出影響投資組合的關鍵領先指標因素,提供投資人目前投資組合下優勢與劣勢的資訊,進而使投資資訊與投資者之間可以建立一種信任與透明的關係。As mentioned above, the investment portfolio analysis method of this application uses machine learning to obtain the estimated return rate of the investment portfolio based on the risk coefficient evaluation and the optimal investment portfolio ratio, and provides an interpretable model, which can clearly and simply show The key leading indicator factors that affect the investment portfolio provide investors with information on the advantages and disadvantages of the current investment portfolio, thereby enabling the establishment of a trustful and transparent relationship between investment information and investors.

請參閱圖5、圖6及圖7。圖5為本申請之一實施例的投資組合分析系統的方塊示意圖,圖6為本申請之一實施例之一基礎模型訓練模組的架構圖,及圖7為本申請之一實施例之一投資組合分析系統的架構圖。如圖5所示,本申請的投資組合分析系統200包含一記憶體201及一電連接該記憶體201之處理器202,且投資組合分析系統200運作於一電子裝置300(如圖9所示,詳如後述),用以執行投資組合分析方法100。在一些實施例中,記憶體201用於儲存在處理器202上運行的電腦程式,亦即,處理器202用於執行投資組合分析方法100。如圖7所示,投資組合分析系統200至少包括一基礎模型訓練模組210、一SHAP值計算模組220、一投資組合比例計算模組230、一整合計算模組240及一判斷模組250。Please refer to Figure 5, Figure 6 and Figure 7. Fig. 5 is a schematic block diagram of an investment portfolio analysis system according to an embodiment of the present application, Fig. 6 is a structure diagram of a basic model training module of one embodiment of the present application, and Fig. 7 is one of one embodiment of the present application Architecture diagram of a portfolio analysis system. As shown in Figure 5, the portfolio analysis system 200 of the present application includes a memory 201 and a processor 202 electrically connected to the memory 201, and the portfolio analysis system 200 operates on an electronic device 300 (as shown in Figure 9 , which will be described in detail later), is used to execute the investment portfolio analysis method 100 . In some embodiments, the memory 201 is used to store computer programs running on the processor 202 , that is, the processor 202 is used to execute the investment portfolio analysis method 100 . As shown in Figure 7, the investment portfolio analysis system 200 at least includes a basic model training module 210, a SHAP value calculation module 220, a portfolio ratio calculation module 230, an integrated calculation module 240 and a judgment module 250 .

在一些實施例中,如圖6所示,投資組合分析系統200還包含一資料收集模組211、一歷史數據計算模組212、一影響因素資料庫213、一歷史數據資料庫214及一模型資料庫215。具體地,資料收集模組211用以自總體經濟指標、基本面指標、原物料指標、籌碼指標、外匯、技術面指標所構成的群組中選取該等因素及收集該等因素各自所對應的該等因素資料,以供該影響因素資料庫213進行存取。歷史數據計算模組212用以根據該投資標的之歷史價格計算該預設時間段的該歷史報酬率,以供該歷史數據資料庫214進行存取。此外,基礎模型訓練模組210訓練完成的基礎模型可儲存於模型資料庫215,其中模型資料庫215還用於儲存根據不同投資標的所訓練出的基礎模型,或基礎模型訓練模組210針對各時間點所訓練的一或多個模型,以供日後需要時取用。In some embodiments, as shown in Figure 6, the investment portfolio analysis system 200 also includes a data collection module 211, a historical data calculation module 212, an influencing factor database 213, a historical data database 214 and a model Database 215. Specifically, the data collection module 211 is used to select these factors from the group consisting of overall economic indicators, fundamental indicators, raw material indicators, bargaining chip indicators, foreign exchange, and technical indicators and collect the respective corresponding data of these factors. These factor data are for the influencing factor database 213 to access. The historical data calculation module 212 is used for calculating the historical rate of return in the preset time period according to the historical price of the investment target, for the historical data database 214 to access. In addition, the basic model trained by the basic model training module 210 can be stored in the model database 215, wherein the model database 215 is also used to store the basic models trained according to different investment targets, or the basic model training module 210 for each One or more models trained at a point in time for future use when needed.

在一些實施例中,如圖7所示,基礎模型訓練模組210用以執行例如投資組合分析方法100的步驟S120及S130,用以基於影響一投資標的之複數個因素各自所對應的複數個因素資料和歷史價格中一預設時間段的一歷史報酬率,以機器學習方法訓練一基礎模型,並獲得所對應的投資標的之預估報酬率,其中該預估報酬率儲存於一報酬率數據資料庫216。In some embodiments, as shown in FIG. 7 , the basic model training module 210 is used to execute, for example, steps S120 and S130 of the investment portfolio analysis method 100, based on the multiple factors corresponding to each of the multiple factors affecting an investment target Factor data and a historical rate of return for a preset period of time in historical prices, use machine learning methods to train a basic model, and obtain the estimated rate of return of the corresponding investment target, wherein the estimated rate of return is stored in a rate of return Data repository 216 .

SHAP值計算模組220用以執行例如投資組合分析方法100的步驟S140。具體地,SHAP值計算模組220用以將該等因素資料代入該基礎模型,並對該基礎模型執行SHAP演算法處理,以獲得影響該預估報酬率之該等因素資料各自所對應的SHAP值。The SHAP value calculation module 220 is used to execute, for example, step S140 of the investment portfolio analysis method 100 . Specifically, the SHAP value calculation module 220 is used to substitute these factor data into the basic model, and execute the SHAP algorithm processing on the basic model, so as to obtain the corresponding SHAP values of the respective factor data that affect the estimated rate of return. value.

續請參閱圖7,投資組合比例計算模組230用以執行例如投資組合分析方法100的步驟S150。具體地,投資組合比例計算模組230用以設定一環境參數,並將該環境參數及該預估報酬率進行計算,以獲得包含複數個投資標的之投資組合的投資組合比例。在一些實施例中,投資組合比例計算模組230所設定的該環境參數是選自該投資標的之歷史股價、股價波動度、預估報酬率及預估信心比例所構成的群組,且該環境參數及該預估報酬率是透過一預設模型進行計算。較佳地,該預設模型可為Black-Litterman模型,但並不以此為限。Please refer to FIG. 7 , the investment portfolio ratio calculation module 230 is used to execute, for example, step S150 of the investment portfolio analysis method 100 . Specifically, the investment portfolio ratio calculation module 230 is used to set an environmental parameter, and calculate the environmental parameter and the estimated rate of return to obtain the investment portfolio ratio of the investment portfolio including multiple investment targets. In some embodiments, the environmental parameter set by the investment portfolio ratio calculation module 230 is selected from the group consisting of the historical stock price, stock price volatility, estimated rate of return, and estimated confidence ratio of the investment target, and the The environmental parameters and the estimated rate of return are calculated through a default model. Preferably, the preset model may be a Black-Litterman model, but it is not limited thereto.

請參閱圖8,圖8繪示出投資組合分析系統200在多個投資標的所對應的SHAP值計算模組220與整合計算模組240之間的架構圖。如圖8所示,投資組合分析系統200還包括一風險係數計算模組241,用以執行例如投資組合分析方法100的步驟S131、S132、S133及S134。在一些實施例中,在透過SHAP值計算模組220獲得每一投資標的之SHAP值之後,投資組合分析系統200還將投資組合比例計算模組230所獲得之投資組合比例應用於於每一投資標的之SHAP值,並增加對每一投資標的之風險係數的計算。詳細來說,風險係數計算模組241用以針對投資標的為該個股、共同基金或該第二類型ETF時,計算該投資標的之風險係數,並執行以下步驟:設定該第一類型ETF或加權指數作為參考標的,並計算該參考標的之參考報酬率;接著,將該參考報酬率代入一定價模型,以計算出該投資標的與該參考標的之間的風險係數;最後,將該風險係數代入該基礎模型,以獲得對應該投資標的之預估報酬率。較佳地,該定價模型可為資本資產定價模型。特別說明的是,當該投資標的為該第一類型ETF時,風險係數計算模組241設定該第一類型ETF的投資標的之風險係數為1。Please refer to FIG. 8 . FIG. 8 shows a structure diagram of the investment portfolio analysis system 200 between the SHAP value calculation module 220 and the integration calculation module 240 corresponding to multiple investment targets. As shown in FIG. 8 , the investment portfolio analysis system 200 further includes a risk coefficient calculation module 241 for executing steps S131 , S132 , S133 and S134 of the investment portfolio analysis method 100 . In some embodiments, after obtaining the SHAP value of each investment target through the SHAP value calculation module 220, the investment portfolio analysis system 200 also applies the investment portfolio ratio obtained by the investment portfolio ratio calculation module 230 to each investment The SHAP value of the target, and increase the calculation of the risk coefficient of each investment target. In detail, the risk coefficient calculation module 241 is used to calculate the risk coefficient of the investment target when the investment target is the individual stock, mutual fund or the second type ETF, and perform the following steps: set the first type ETF or weighted Index as the reference target, and calculate the reference rate of return of the reference target; then, substitute the reference rate of return into a pricing model to calculate the risk coefficient between the investment target and the reference target; finally, substitute the risk factor into The basic model is used to obtain the estimated rate of return corresponding to the investment target. Preferably, the pricing model can be a capital asset pricing model. In particular, when the investment target is the first-type ETF, the risk coefficient calculation module 241 sets the risk coefficient of the investment target of the first-type ETF to 1.

如圖7及圖8所示,整合計算模組240用以執行例如投資組合分析方法100的步驟S160及S170。具體地,整合計算模組240用以將該預估報酬率依照該投資組合比例計算,以獲得投資組合預估報酬率,並根據該投資組合比例計算該投資組合所對應的SHAP值。As shown in FIG. 7 and FIG. 8 , the integrated computing module 240 is used to execute, for example, steps S160 and S170 of the investment portfolio analysis method 100 . Specifically, the integrated calculation module 240 is used to calculate the estimated rate of return according to the proportion of the investment portfolio to obtain the estimated rate of return of the investment portfolio, and calculate the corresponding SHAP value of the investment portfolio according to the proportion of the investment portfolio.

續請參閱圖7,判斷模組250用以執行投資組合分析方法100的步驟S180。具體地,判斷模組250用以根據該等因素資料各自所對應的SHAP值判斷該等因素中各者的影響程度,以選出複數個關鍵因素。具體地,判斷模組250根據整合計算模組240計算出的投資組合所對應的SHAP值判斷此等因素中各者的影響程度,以選出目前或某特定時間點的複數個關鍵因素,或者,根據投資組合所對應的SHAP值判斷每個特徵(即因素資料)對該投資組合預估報酬率的正面或負面貢獻的程度,以選出特定時期的複數個關鍵因素。判斷模組250所執行的詳細步驟流程可參考上述投資組合分析方法100的說明。Please refer to FIG. 7 , the judgment module 250 is used to execute the step S180 of the investment portfolio analysis method 100 . Specifically, the judging module 250 is used for judging the degree of influence of each of these factors according to the SHAP values corresponding to the respective factor data, so as to select a plurality of key factors. Specifically, the judging module 250 judges the degree of influence of each of these factors according to the SHAP value corresponding to the investment portfolio calculated by the integrated computing module 240, so as to select a plurality of key factors at present or at a specific time point, or, According to the corresponding SHAP value of the investment portfolio, the degree of positive or negative contribution of each feature (ie factor data) to the estimated return rate of the investment portfolio is judged, so as to select a plurality of key factors in a specific period. For the detailed steps and flow executed by the judging module 250 , please refer to the description of the investment portfolio analysis method 100 mentioned above.

請參閱圖9,圖9為本申請之一實施例之投資組合分析系統200的使用場景圖。如圖9所示,投資組合分析系統200例如可運作於一電子裝置300(即伺服器)中。伺服器300可供一或多個使用者設備進行存取。在一些實施例中,伺服器300可供使用者設備310a透過有線存取技術連接,以供其進一步使用投資組合分析系統200。此外,伺服器300亦可供另一使用者設備310b透過無線存取技術連接,以供其進一步使用投資組合分析系統200。在一些實施例中,所述使用者設備可為電腦、手機、或各種非移動式或攜帶型智慧型裝置,本申請並不加以限制。Please refer to FIG. 9 . FIG. 9 is a usage scenario diagram of the investment portfolio analysis system 200 according to an embodiment of the present application. As shown in FIG. 9 , the investment portfolio analysis system 200 can operate in an electronic device 300 (ie, a server), for example. The server 300 can be accessed by one or more user equipments. In some embodiments, the server 300 can be connected to the user equipment 310a through wired access technology, so that it can further use the investment portfolio analysis system 200 . In addition, the server 300 can also be connected to another user equipment 310b through wireless access technology, so that it can further use the investment portfolio analysis system 200 . In some embodiments, the user equipment may be a computer, a mobile phone, or various non-mobile or portable smart devices, which are not limited in this application.

特別說明的是,上文描述的投資組合分析系統的實施例可採用程式設計方式(諸如利用電腦、處理器)實施為模擬處理器等等。在其它實施例中,可以使用專業或專用電路實施元件、功能或元件中的一個或多個。如本文中使用的術語“模組”或“元件”旨在包括用於實施歸屬於模組或元件的功能的任何硬體、軟體、邏輯或前述組合。In particular, the embodiments of the investment portfolio analysis system described above can be implemented as analog processors by means of programming (such as using computers, processors, etc.). In other embodiments, specialized or dedicated circuitry may be used to implement one or more of the elements, functions or elements. The term "module" or "element" as used herein is intended to include any hardware, software, logic or combination of the foregoing for implementing the functionality attributed to the module or element.

雖然本新型之實施例已揭露如上,然其並非用以限定本新型,任何熟習此技藝者,在不脫離本新型之範圍內,當可做些許之更動與潤飾,因此本新型之保護範圍當以後附之申請專利範圍所界定為準。Although the embodiment of the present invention has been disclosed as above, it is not intended to limit the present invention. Anyone who is familiar with this technology can make some changes and modifications without departing from the scope of the present invention. Therefore, the protection scope of the present invention should be The scope of the attached patent application shall prevail.

100:投資組合分析方法 S110、S120、S130、S140、S150、S160、S170、S180:步驟 S131、S132、S133、S134:步驟 S181、S182、S183:步驟 200:投資組合分析系統 201:記憶體 202:處理器 210:基礎模型訓練模組 211:資料收集模組 212:歷史數據計算模組 213:影響因素資料庫 214:歷史數據資料庫 215:模型資料庫 216:報酬率數據資料庫 220:SHAP值計算模組 230:投資組合比例計算模組 240:整合計算模組 241:風險係數計算模組 250:判斷模組 300:電子裝置 310a、310b:使用者設備 100: Portfolio Analysis Methods S110, S120, S130, S140, S150, S160, S170, S180: steps S131, S132, S133, S134: steps S181, S182, S183: steps 200: Portfolio Analysis System 201: memory 202: Processor 210:Basic model training module 211: Data collection module 212:Historical data calculation module 213: Influencing Factor Database 214: Historical data database 215:Model database 216: Rate of return data database 220: SHAP value calculation module 230: Portfolio ratio calculation module 240: Integrated Computing Module 241:Risk coefficient calculation module 250: Judgment module 300: electronic device 310a, 310b: user equipment

圖1為本申請之一實施例的投資組合分析方法之流程圖。 圖2為本申請之一實施例的計算單一投資標的之預估報酬率的流程圖。 圖3為本申請之一實施例的選出複數個關鍵因素的流程圖。 圖4A為本申請之一實施例的關鍵因素排序結果示例圖。 圖4B為圖4A之一關鍵因素與一投資組合年報酬率的關係圖。 圖4C為本申請之一實施例的關鍵因素排序結果示例圖。 圖4D為圖4C之一關鍵因素與一投資組合年報酬率的關係圖。 圖4E為本申請之一實施例的關鍵因素排序結果示例圖。 圖5為本申請之一實施例的投資組合分析系統的方塊示意圖。 圖6為本申請之一實施例的基礎模型訓練模組的架構圖。 圖7為本申請之一實施例的投資組合分析系統的架構圖。 圖8為本申請之一實施例的投資組合分析系統的另一架構圖。 圖9為本申請之一實施例的投資組合分析系統使用場景圖。 FIG. 1 is a flowchart of a portfolio analysis method according to an embodiment of the present application. FIG. 2 is a flow chart of calculating the estimated rate of return of a single investment target according to an embodiment of the present application. FIG. 3 is a flow chart of selecting a plurality of key factors according to an embodiment of the present application. Fig. 4A is an example diagram of ranking results of key factors according to an embodiment of the present application. FIG. 4B is a graph showing the relationship between one of the key factors in FIG. 4A and the annual rate of return of an investment portfolio. Fig. 4C is an example diagram of the ranking results of key factors according to an embodiment of the present application. FIG. 4D is a relationship diagram between one of the key factors in FIG. 4C and the annual rate of return of an investment portfolio. Fig. 4E is an example diagram of the ranking results of key factors according to an embodiment of the present application. FIG. 5 is a schematic block diagram of an investment portfolio analysis system according to an embodiment of the present application. FIG. 6 is an architecture diagram of a basic model training module according to an embodiment of the present application. FIG. 7 is an architecture diagram of an investment portfolio analysis system according to an embodiment of the present application. FIG. 8 is another architecture diagram of an investment portfolio analysis system according to an embodiment of the present application. FIG. 9 is a usage scenario diagram of an investment portfolio analysis system according to an embodiment of the present application.

200:投資組合分析系統 200: Portfolio Analysis System

210:基礎模型訓練模組 210:Basic model training module

216:報酬率數據資料庫 216: Rate of return data database

220:SHAP值計算模組 220: SHAP value calculation module

230:投資組合比例計算模組 230: Portfolio ratio calculation module

240:整合計算模組 240: Integrated Computing Module

250:判斷模組 250: Judgment module

Claims (8)

一種投資組合分析系統,包含一記憶體及一電連接該記憶體之處理器,並運作於一電子裝置內,且該投資組合分析系統包含: 一基礎模型訓練模組,用以基於影響一投資標的之複數個因素各自所對應的複數個因素資料和歷史價格中一預設時間段的一歷史報酬率,以機器學習方法訓練一基礎模型,並獲得所對應的投資標的之預估報酬率; 一SHAP值計算模組,用以將該等因素資料代入該基礎模型,並對該基礎模型執行SHAP演算法處理,以獲得該等因素資料各自所對應的SHAP值; 一投資組合比例計算模組,用以設定一環境參數,並將該環境參數及該預估報酬率進行計算,以獲得包含複數個投資標的之投資組合的投資組合比例; 一整合計算模組,用以將該預估報酬率依照該投資組合比例計算,以獲得投資組合預估報酬率,並根據該投資組合比例計算該投資組合所對應的SHAP值;以及 一判斷模組,用以根據該等因素資料各自所對應的SHAP值判斷該等因素中各者的影響程度,以選出複數個關鍵因素。 An investment portfolio analysis system includes a memory and a processor electrically connected to the memory, and operates in an electronic device, and the investment portfolio analysis system includes: A basic model training module, which is used to train a basic model with a machine learning method based on a plurality of factor data corresponding to each of a plurality of factors affecting an investment target and a historical rate of return in a preset period of time in historical prices, And obtain the estimated rate of return of the corresponding investment target; A SHAP value calculation module, which is used to substitute the factor data into the basic model, and execute the SHAP algorithm processing on the basic model to obtain the respective SHAP values corresponding to the factor data; An investment portfolio ratio calculation module, which is used to set an environmental parameter, and calculate the environmental parameter and the estimated rate of return, so as to obtain the investment portfolio ratio of the investment portfolio containing multiple investment targets; An integrated calculation module, used to calculate the estimated rate of return according to the proportion of the investment portfolio to obtain the estimated rate of return of the investment portfolio, and calculate the corresponding SHAP value of the investment portfolio according to the proportion of the investment portfolio; and A judgment module, used for judging the degree of influence of each of these factors according to the SHAP value corresponding to each of the data of these factors, so as to select a plurality of key factors. 如請求項1所述之投資組合分析系統,其中該複數個投資標的包含個股、共同基金、第一類型指數股票型基金(exchange-traded funds, ETF) 及/或債券型ETF、第二類型指數股票型基金及/或債券型ETF,且該第一類型ETF的上市期間大於該第二類型ETF的上市期間。The investment portfolio analysis system as described in Claim 1, wherein the plurality of investment targets include individual stocks, mutual funds, the first type of index stock funds (exchange-traded funds, ETFs) and/or bond ETFs, and the second type of index Stock funds and/or bond ETFs, and the listing period of the first type ETF is longer than the listing period of the second type ETF. 如請求項2所述之投資組合分析系統,更包含一風險係數計算模組,用以針對該投資標的為該個股、共同基金或該第二類型ETF時,計算該投資標的之風險係數,並執行以下步驟: 設定該第一類型ETF或加權指數作為參考標的,並計算該參考標的之參考報酬率; 將該參考報酬率代入一定價模型,以計算出該投資標的與該參考標的之間的風險係數;以及 將該風險係數代入該基礎模型,以獲得對應該投資標的之預估報酬率。 The investment portfolio analysis system as described in claim 2 further includes a risk coefficient calculation module, which is used to calculate the risk coefficient of the investment target when the investment target is the individual stock, mutual fund or the second-type ETF, and Perform the following steps: Set the first type of ETF or weighted index as the reference target, and calculate the reference return rate of the reference target; Substituting the reference rate of return into a pricing model to calculate the risk coefficient between the investment target and the reference target; and Substitute the risk coefficient into the basic model to obtain the estimated rate of return corresponding to the investment target. 如請求項3所述之投資組合分析系統,其中該風險係數計算模組還用以針對該投資標的為該第一類型ETF時,設定該第一類型ETF的風險係數為1。The investment portfolio analysis system as described in Claim 3, wherein the risk coefficient calculation module is also used to set the risk coefficient of the first type ETF to 1 when the investment target is the first type ETF. 如請求項1所述之投資組合分析系統,其中該投資組合比例計算模組所設定的該環境參數是選自該投資標的之歷史股價、股價波動度、預估報酬率及預估信心比例所構成的群組,且該環境參數及該預估報酬率是透過一預設模型進行計算。The investment portfolio analysis system as described in Claim 1, wherein the environmental parameter set by the investment portfolio ratio calculation module is selected from the historical stock price, stock price volatility, estimated rate of return and estimated confidence ratio of the investment target. The group formed, and the environmental parameter and the estimated rate of return are calculated through a default model. 如請求項1所述之投資組合分析系統,更包含一資料收集模組,用以自總體經濟指標、基本面指標、原物料指標、籌碼指標、外匯、技術面指標所構成的群組中選取該等因素及收集該等因素各自所對應的該等因素資料,以供該基礎模型訓練模組進行存取。The investment portfolio analysis system as described in claim 1 further includes a data collection module for selecting from the group consisting of overall economic indicators, fundamental indicators, raw material indicators, bargaining chip indicators, foreign exchange, and technical indicators The factors and the factor data corresponding to the factors are collected for the basic model training module to access. 如請求項1所述之投資組合分析系統,更包含一歷史數據計算模組,用以根據該投資標的之歷史價格計算該預設時間段的該歷史報酬率,以供該基礎模型訓練模組進行存取。The investment portfolio analysis system as described in Claim 1 further includes a historical data calculation module, which is used to calculate the historical rate of return in the preset time period according to the historical price of the investment target for the basic model training module to access. 如請求項1所述之投資組合分析系統,更包含一資料庫模組,包括一影響因素資料庫、一歷史數據資料庫、一模型資料庫及一報酬率數據資料庫。The investment portfolio analysis system as described in Claim 1 further includes a database module, including an influencing factor database, a historical data database, a model database and a rate of return data database.
TW112202043U 2023-03-08 2023-03-08 Investment protfolio analysis system TWM642113U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112202043U TWM642113U (en) 2023-03-08 2023-03-08 Investment protfolio analysis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112202043U TWM642113U (en) 2023-03-08 2023-03-08 Investment protfolio analysis system

Publications (1)

Publication Number Publication Date
TWM642113U true TWM642113U (en) 2023-06-01

Family

ID=87804516

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112202043U TWM642113U (en) 2023-03-08 2023-03-08 Investment protfolio analysis system

Country Status (1)

Country Link
TW (1) TWM642113U (en)

Similar Documents

Publication Publication Date Title
Hirschey Do high-frequency traders anticipate buying and selling pressure?
Farboodi et al. Long-run growth of financial data technology
Gao et al. How to measure capital investment efficiency: a literature synthesis
Kang et al. Inflation risk in corporate bonds
US7949590B2 (en) Apparatus, method and system for designing and trading macroeconomic investment views
Leung et al. Forecasting stock indices: a comparison of classification and level estimation models
Hassani et al. Forecasting the price of gold
Cici et al. Missing the marks? Dispersion in corporate bond valuations across mutual funds
Xiao et al. Estimating the connectedness of commodity futures using a network approach
Bernales et al. Can we forecast the implied volatility surface dynamics of equity options? Predictability and economic value tests
US8577775B1 (en) Systems and methods for managing investments
Donders et al. Options and earnings announcements: an empirical study of volatility, trading volume, open interest and liquidity
KR101543643B1 (en) System for ranking stock and method for selecting stock using the same system
Hwang et al. Predicting issuer credit ratings using a semiparametric method
Creal et al. Market-based credit ratings
Allen et al. Volatility Spillovers from Australia's major trading partners across the GFC
US8442891B2 (en) Intermarket analysis
Mensi et al. Quantile dependencies between precious and industrial metals futures and portfolio management
de Boyrie et al. Equities and commodities comovements: evidence from emerging markets
Kim et al. A closer look at return predictability of the US stock market: evidence from new panel variance ratio tests
Chipili Macroeconomic effects of exchange rate volatility in Zambia
Lee et al. Investors’ perception of corporate governance: a spillover effect of Taiwan corporate scandals
Kearney et al. Implied volatility surface predictability: The case of commodity markets
TWI248007B (en) Method for evaluating market trade based on trend prediction
TWM642113U (en) Investment protfolio analysis system