IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2207.00493.html
   My bibliography  Save this paper

Simulating financial time series using attention

Author

Listed:
  • Weilong Fu
  • Ali Hirsa
  • Jorg Osterrieder

Abstract

Financial time series simulation is a central topic since it extends the limited real data for training and evaluation of trading strategies. It is also challenging because of the complex statistical properties of the real financial data. We introduce two generative adversarial networks (GANs), which utilize the convolutional networks with attention and the transformers, for financial time series simulation. The GANs learn the statistical properties in a data-driven manner and the attention mechanism helps to replicate the long-range dependencies. The proposed GANs are tested on the S&P 500 index and option data, examined by scores based on the stylized facts and are compared with the pure convolutional GAN, i.e. QuantGAN. The attention-based GANs not only reproduce the stylized facts, but also smooth the autocorrelation of returns.

Suggested Citation

  • Weilong Fu & Ali Hirsa & Jorg Osterrieder, 2022. "Simulating financial time series using attention," Papers 2207.00493, arXiv.org.
  • Handle: RePEc:arx:papers:2207.00493
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2207.00493
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Magnus Wiese & Robert Knobloch & Ralf Korn & Peter Kretschmer, 2020. "Quant GANs: deep generation of financial time series," Quantitative Finance, Taylor & Francis Journals, vol. 20(9), pages 1419-1440, September.
    2. Takahashi, Shuntaro & Chen, Yu & Tanaka-Ishii, Kumiko, 2019. "Modeling financial time-series with generative adversarial networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 527(C).
    3. Hofert, Marius & Prasad, Avinash & Zhu, Mu, 2022. "Multivariate time-series modeling with generative neural networks," Econometrics and Statistics, Elsevier, vol. 23(C), pages 147-164.
    4. Magnus Wiese & Ben Wood & Alexandre Pachoud & Ralf Korn & Hans Buehler & Phillip Murray & Lianjun Bai, 2021. "Multi-Asset Spot and Option Market Simulation," Papers 2112.06823, arXiv.org.
    5. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    6. Magnus Wiese & Lianjun Bai & Ben Wood & Hans Buehler, 2019. "Deep Hedging: Learning to Simulate Equity Option Markets," Papers 1911.01700, arXiv.org.
    7. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    8. Black, Fischer & Scholes, Myron S, 1973. "The Pricing of Options and Corporate Liabilities," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 637-654, May-June.
    9. Heston, Steven L, 1993. "A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options," The Review of Financial Studies, Society for Financial Studies, vol. 6(2), pages 327-343.
    10. Madan, Dilip B & Seneta, Eugene, 1990. "The Variance Gamma (V.G.) Model for Share Market Returns," The Journal of Business, University of Chicago Press, vol. 63(4), pages 511-524, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Magnus Wiese & Robert Knobloch & Ralf Korn & Peter Kretschmer, 2019. "Quant GANs: Deep Generation of Financial Time Series," Papers 1907.06673, arXiv.org, revised Dec 2019.
    2. Xiaoyu Tan & Zili Zhang & Xuejun Zhao & Shuyi Wang, 2022. "DeepPricing: pricing convertible bonds based on financial time-series generative adversarial networks," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-38, December.
    3. Björn Lutz, 2010. "Pricing of Derivatives on Mean-Reverting Assets," Lecture Notes in Economics and Mathematical Systems, Springer, number 978-3-642-02909-7, July.
    4. Ricardo Crisóstomo, 2017. "Speed and biases of Fourier-based pricing choices: Analysis of the Bates and Asymmetric Variance Gamma models," CNMV Working Papers CNMV Working Papers no. 6, CNMV- Spanish Securities Markets Commission - Research and Statistics Department.
    5. Giulia Di Nunno & Kk{e}stutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From constant to rough: A survey of continuous volatility modeling," Papers 2309.01033, arXiv.org, revised Sep 2023.
    6. Francesca Biagini & Lukas Gonon & Niklas Walter, 2024. "Universal randomised signatures for generative time series modelling," Papers 2406.10214, arXiv.org, revised Sep 2024.
    7. Göncü, Ahmet & Karahan, Mehmet Oğuz & Kuzubaş, Tolga Umut, 2016. "A comparative goodness-of-fit analysis of distributions of some Lévy processes and Heston model to stock index returns," The North American Journal of Economics and Finance, Elsevier, vol. 36(C), pages 69-83.
    8. David Edelman & Thomas Gillespie, 2000. "The Stochastically Subordinated Poisson Normal Process for Modelling Financial Assets," Annals of Operations Research, Springer, vol. 100(1), pages 133-164, December.
    9. Fig-Talamanca, Gianna, 2009. "Testing volatility autocorrelation in the constant elasticity of variance stochastic volatility model," Computational Statistics & Data Analysis, Elsevier, vol. 53(6), pages 2201-2218, April.
    10. Di Zhang & Qiang Niu & Youzhou Zhou, 2022. "Modeling Randomly Walking Volatility with Chained Gamma Distributions," Papers 2207.01151, arXiv.org, revised Oct 2022.
    11. Alexander Subbotin & Thierry Chauveau & Kateryna Shapovalova, 2009. "Volatility Models: from GARCH to Multi-Horizon Cascades," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00390636, HAL.
    12. Samuel N. Cohen & Christoph Reisinger & Sheng Wang, 2022. "Estimating risks of option books using neural-SDE market models," Papers 2202.07148, arXiv.org.
    13. Abdou Kélani & François Quittard-Pinon, 2017. "Pricing and Hedging Variable Annuities in a Lévy Market: A Risk Management Perspective," Journal of Risk & Insurance, The American Risk and Insurance Association, vol. 84(1), pages 209-238, March.
    14. Ben Hambly & Renyuan Xu & Huining Yang, 2023. "Recent advances in reinforcement learning in finance," Mathematical Finance, Wiley Blackwell, vol. 33(3), pages 437-503, July.
    15. Subbotin, Alexandre, 2009. "Volatility Models: from Conditional Heteroscedasticity to Cascades at Multiple Horizons," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 15(3), pages 94-138.
    16. Cadogan, Godfrey, 2010. "Canonical Representation Of Option Prices and Greeks with Implications for Market Timing," MPRA Paper 23426, University Library of Munich, Germany.
    17. Anatoliy Swishchuk, 2013. "Modeling and Pricing of Swaps for Financial and Energy Markets with Stochastic Volatilities," World Scientific Books, World Scientific Publishing Co. Pte. Ltd., number 8660, August.
    18. Eduardo Abi Jaber, 2022. "The characteristic function of Gaussian stochastic volatility models: an analytic expression," Working Papers hal-02946146, HAL.
    19. Peter Carr & Liuren Wu, 2014. "Static Hedging of Standard Options," Journal of Financial Econometrics, Oxford University Press, vol. 12(1), pages 3-46.
    20. Eduardo Abi Jaber, 2022. "The characteristic function of Gaussian stochastic volatility models: an analytic expression," Finance and Stochastics, Springer, vol. 26(4), pages 733-769, October.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2207.00493. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.