This paper proposes an innovative Transformer model, Single-directional representative from Transformer (SERT), for US large capital stock pricing. It also innovatively applies the pre-trained Transformer models under the stock pricing and factor investment context. They are compared with standard Transformer models and encoder-only Transformer models in three periods covering the entire COVID-19 pandemic to examine the model adaptivity and suitability during the extreme market fluctuations. Namely, pre-COVID-19 period, COVID-19 period and 1-year post-COVID-19. The best proposed SERT model achieves the highest out-of-sample $R^2$, 11.94\% and 11.47\% respectively, when extreme market fluctuation takes place, followed by pre-trained Transformer models (11.13\% and 9.72\%). Their Trend-following-based strategy's performance also proves their excellent capability for hedging downside risks during market shocks. The proposed SERT model achieves a Sortino ratio 47\% higher than the buy-and-hold benchmark in the equal-weighted portfolio and 28\% higher in the value-weighted portfolio in the static transaction cost scenario when the pandemic period is considered. It proves that Transformer models have a strong ability to capture patterns of temporal sparsity in asset pricing factor models, especially with high volatility. I also find the softmax signal filter as the common configuration of Transformer models in alternative contexts, which only eliminates differences between models, but does not improve strategy-wise performance, while increasing attention heads improves the model performance insignificantly and applying the 'layer normalization first' method does not boost the model performance in our case.
Pricing multi-asset derivatives by variational quantum algorithms
多资产衍生产品的定价问题是金融工程中的一个重要理论和实践问题。虽然数值求解偏微分方程来计算某些类型的衍生品的价格是合适的,但是在一些经典方法中,例如有限差分法,计算复杂度随着基础资产数量的增加而呈指数级增加。因此,存在通过使用量子计算来降低计算复杂度的努力。然而,当用朴素量子算法求解时,目标衍生物价格嵌入在量子态的一个基的振幅中,因此需要指数复杂度来获得解。为了避免瓶颈,以前的研究~[Miyamoto and Kubo,IEEE Transactions on Quantum Engineering,\textbf{3},1- 25(2022)]利用了衍生品的当前价格可以通过其在任何未来时间点的贴现期望值获得的事实,并表明量子算法可以降低复杂度。为了使该算法在小型量子计算机上运行,我们采用变分量子模拟求解Black-Scholes方程,并由解与概率分布之间的内积计算导数价格.这避免了朴素方法的测量瓶颈,即使在嘈杂的量子计算机中也能提供量子加速。我们还进行了数值实验来验证我们的方法。我们的方法将是使用小型量子计算机进行衍生品定价的重要突破。
End-to-End PDE-Based Quantum Algorithms for Multi-Asset Option Pricing under Local and Stochastic Volatility
Global College, Shanghai Jiao Tong University(上海交通大学全球学院);Institute of Natural Sciences, School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院自然科学研究院);Ministry of Education Key Laboratory in Scientific and Engineering Computing, Shanghai Jiao Tong University(上海交通大学教育部科学与工程计算重点实验室);SPMS, Nanyang Technological University(南洋理工大学理学院)