使用異質性財務知識圖譜實現學習式配對交易策略
Learning-based Pairs-trading Strategies Using Heterogeneous Financial Knowledge Graphs
摘要
配對交易是一種眾所周知的市場中性策略,當兩個具有強烈歷史相關性的金融資
產偏離其正常行為時,同時進行做多和做空。隨著人工智能技術在金融領域的蓬勃發
展,許多交易策略和金融模型可以通過新穎的機器學習算法和深度神經網絡進行改進。
然而,金融文獻中發表的傳統對沖交易策略在很大程度上依賴於統計假設檢驗,以確
定適合的股票配對,這使得在未來投資環境中建模複雜的時空相關性變得具有挑戰性。
為了解決這個限制,我們將資產選擇過程形式化為每對配對的利潤預測問題。為了解
決這個問題,我們採用了一個深度神經網絡,結合了財務報表因素、市場因素、共整
合檢驗因子和歷史交易價格的時間序列。此外,我們應用異質知識圖嵌入方法,使用
公司治理因素和金融領域知識來建模個別資產之間的相關性。最後,選擇排名靠前的
盈利對來構建最終的對沖交易組合決策。實驗結果表明,採用知識圖嵌入方法的提出
模型能夠在過去五年內將平均夏普比率最大提高到 1.9632,同時將最大回撤(MDD)
降低到 0.0189。通過廣泛的測試和統計分析,回報分佈顯示出顯著的正偏態表達較大
負回報的罕見發生。這表明,相對於基於統計方法或其他機器學習算法的傳統對沖交
易策略,提出的基於學習的方法在預測能力和夏普比率方面始終表現優越。
產偏離其正常行為時,同時進行做多和做空。隨著人工智能技術在金融領域的蓬勃發
展,許多交易策略和金融模型可以通過新穎的機器學習算法和深度神經網絡進行改進。
然而,金融文獻中發表的傳統對沖交易策略在很大程度上依賴於統計假設檢驗,以確
定適合的股票配對,這使得在未來投資環境中建模複雜的時空相關性變得具有挑戰性。
為了解決這個限制,我們將資產選擇過程形式化為每對配對的利潤預測問題。為了解
決這個問題,我們採用了一個深度神經網絡,結合了財務報表因素、市場因素、共整
合檢驗因子和歷史交易價格的時間序列。此外,我們應用異質知識圖嵌入方法,使用
公司治理因素和金融領域知識來建模個別資產之間的相關性。最後,選擇排名靠前的
盈利對來構建最終的對沖交易組合決策。實驗結果表明,採用知識圖嵌入方法的提出
模型能夠在過去五年內將平均夏普比率最大提高到 1.9632,同時將最大回撤(MDD)
降低到 0.0189。通過廣泛的測試和統計分析,回報分佈顯示出顯著的正偏態表達較大
負回報的罕見發生。這表明,相對於基於統計方法或其他機器學習算法的傳統對沖交
易策略,提出的基於學習的方法在預測能力和夏普比率方面始終表現優越。
Pairs trading is a well-known market neutral strategy that simultaneously involves longing
and shorting a pair of financial assets with a strong historical correlation when they deviate from
their regular behaviors. With the flourishing development of artificial intelligence technology in
financial field, many trading strategies and financial models can be improved by novel machine
learning algorithms and deep neural networks. However, traditional pairs trading strategies
published in financial literature heavily rely on statistical hypothesis testing to identify suit
able pairs of securities, which makes it challenging to model the complex spatial and temporal
correlations in the future investment environments. To address this limitation, we formulate
asset selection process as a profit prediction problem for each pair of securities. To solve this
problem, we employ a deep neural network that incorporates financial statement factors, market
factors, cointegration test factors, and time series of historical trading prices. Moreover, heterogeneous knowledge graph embedding methods are applied to model the correlation among
individual assets using corporate governance factors and financial domain knowledge. Finally,
the top ranked profitable pairs are selected to form the final pairs trading portfolio decision.
The experimental results demonstrate that the proposed model with knowledge graph embed
ding methods can effectively increase the average Sharpe ratio to a maximum of 1.9632 over
the previous five years while concurrently reducing the maximum drawdown (MDD) to 0.0189.
Through extensive testing and statistical analysis, the return distribution shows a significant positive skewness and a rare occurrence of larger negative returns. This indicates that the proposed
learning-based approach consistently outperforms traditional pairs trading strategies based on
statistical methods or other machine learning algorithms in terms of predictive ability and Sharpe
ratio.
and shorting a pair of financial assets with a strong historical correlation when they deviate from
their regular behaviors. With the flourishing development of artificial intelligence technology in
financial field, many trading strategies and financial models can be improved by novel machine
learning algorithms and deep neural networks. However, traditional pairs trading strategies
published in financial literature heavily rely on statistical hypothesis testing to identify suit
able pairs of securities, which makes it challenging to model the complex spatial and temporal
correlations in the future investment environments. To address this limitation, we formulate
asset selection process as a profit prediction problem for each pair of securities. To solve this
problem, we employ a deep neural network that incorporates financial statement factors, market
factors, cointegration test factors, and time series of historical trading prices. Moreover, heterogeneous knowledge graph embedding methods are applied to model the correlation among
individual assets using corporate governance factors and financial domain knowledge. Finally,
the top ranked profitable pairs are selected to form the final pairs trading portfolio decision.
The experimental results demonstrate that the proposed model with knowledge graph embed
ding methods can effectively increase the average Sharpe ratio to a maximum of 1.9632 over
the previous five years while concurrently reducing the maximum drawdown (MDD) to 0.0189.
Through extensive testing and statistical analysis, the return distribution shows a significant positive skewness and a rare occurrence of larger negative returns. This indicates that the proposed
learning-based approach consistently outperforms traditional pairs trading strategies based on
statistical methods or other machine learning algorithms in terms of predictive ability and Sharpe
ratio.