IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2603.16434.html

From Natural Language to Executable Option Strategies via Large Language Models

Author

Listed:
  • Haochen Luo
  • Zhengzhao Lai
  • Junjie Xu
  • Yifan Li
  • Tang Pok Hin
  • Yuan Zhang
  • Chen Liu

Abstract

Large Language Models (LLMs) excel at general code generation, yet translating natural-language trading intents into correct option strategies remains challenging. Real-world option design requires reasoning over massive, multi-dimensional option chain data with strict constraints, which often overwhelms direct generation methods. We introduce the Option Query Language (OQL), a domain-specific intermediate representation that abstracts option markets into high-level primitives under grammatical rules, enabling LLMs to function as reliable semantic parsers rather than free-form programmers. OQL queries are then validated and executed deterministically by an engine to instantiate executable strategies. We also present a new dataset for this task and demonstrate that our neuro-symbolic pipeline significantly improves execution accuracy and logical consistency over direct baselines.

Suggested Citation

  • Haochen Luo & Zhengzhao Lai & Junjie Xu & Yifan Li & Tang Pok Hin & Yuan Zhang & Chen Liu, 2026. "From Natural Language to Executable Option Strategies via Large Language Models," Papers 2603.16434, arXiv.org.
  • Handle: RePEc:arx:papers:2603.16434
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Haochen Luo & Yuan Zhang & Chen Liu, 2025. "EFS: Evolutionary Factor Searching for Sparse Portfolio Optimization Using Large Language Models," Papers 2507.17211, arXiv.org.
    2. Xiao-Yang Liu & Guoxuan Wang & Hongyang Yang & Daochen Zha, 2023. "FinGPT: Democratizing Internet-scale Data for Financial Large Language Models," Papers 2307.10485, arXiv.org, revised Nov 2023.
    3. Feliks Ba'nka & Jaros{l}aw A. Chudziak, 2025. "DeltaHedge: A Multi-Agent Framework for Portfolio Options Optimization," Papers 2509.12753, arXiv.org.
    4. 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.
    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. Ben Abdallah, Skander & Lasserre, Pierre, 2016. "Asset retirement with infinitely repeated alternative replacements: Harvest age and species choice in forestry," Journal of Economic Dynamics and Control, Elsevier, vol. 70(C), pages 144-164.
    2. Kau, James B. & Keenan, Donald C., 1999. "Patterns of rational default," Regional Science and Urban Economics, Elsevier, vol. 29(6), pages 765-785, November.
    3. Domagoj Demeterfi & Kathrin Glau & Linus Wunderlich, 2025. "Function approximations for counterparty credit exposure calculations," Papers 2507.09004, arXiv.org.
    4. Carol Alexandra & Leonardo M. Nogueira, 2005. "Optimal Hedging and Scale Inavriance: A Taxonomy of Option Pricing Models," ICMA Centre Discussion Papers in Finance icma-dp2005-10, Henley Business School, University of Reading, revised Nov 2005.
    5. William R. Morgan, 2023. "Finance Must Be Defended: Cybernetics, Neoliberalism and Environmental, Social, and Governance (ESG)," Sustainability, MDPI, vol. 15(4), pages 1-21, February.
    6. Filipe Fontanela & Antoine Jacquier & Mugad Oumgari, 2019. "A Quantum algorithm for linear PDEs arising in Finance," Papers 1912.02753, arXiv.org, revised Feb 2021.
    7. Weihan Li & Jin E. Zhang & Xinfeng Ruan & Pakorn Aschakulporn, 2024. "An empirical study on the early exercise premium of American options: Evidence from OEX and XEO options," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 44(7), pages 1117-1153, July.
    8. Jun, Doobae & Ku, Hyejin, 2015. "Static hedging of chained-type barrier options," The North American Journal of Economics and Finance, Elsevier, vol. 33(C), pages 317-327.
    9. Thomas Kokholm & Martin Stisen, 2015. "Joint pricing of VIX and SPX options with stochastic volatility and jump models," Journal of Risk Finance, Emerald Group Publishing Limited, vol. 16(1), pages 27-48, January.
    10. Gordian Rättich & Kim Clark & Evi Hartmann, 2011. "Performance measurement and antecedents of early internationalizing firms: A systematic assessment," Working Papers 0031, College of Business, University of Texas at San Antonio.
    11. Paul Ormerod, 2010. "La crisis actual y la culpabilidad de la teoría macroeconómica," Revista de Economía Institucional, Universidad Externado de Colombia - Facultad de Economía, vol. 12(22), pages 111-128, January-J.
    12. An Chen & Thai Nguyen & Thorsten Sehner, 2022. "Unit-Linked Tontine: Utility-Based Design, Pricing and Performance," Risks, MDPI, vol. 10(4), pages 1-27, April.
    13. Kearney, Fearghal & Shang, Han Lin & Sheenan, Lisa, 2019. "Implied volatility surface predictability: The case of commodity markets," Journal of Banking & Finance, Elsevier, vol. 108(C).
    14. Álvarez Echeverría Francisco & López Sarabia Pablo & Venegas Martínez Francisco, 2012. "Valuación financiera de proyectos de inversión en nuevas tecnologías con opciones reales," Contaduría y Administración, Accounting and Management, vol. 57(3), pages 115-145, julio-sep.
    15. Vorst, A. C. F., 1988. "Option Pricing And Stochastic Processes," Econometric Institute Archives 272366, Erasmus University Rotterdam.
    16. Joao Felipe Gueiros & Hemanth Chandravamsi & Steven H. Frankel, 2025. "Deep Learning vs. Black-Scholes: Option Pricing Performance on Brazilian Petrobras Stocks," Papers 2504.20088, arXiv.org.
    17. Dybvig, Philip H. & Gong, Ning & Schwartz, Rachel, 2000. "Bias of Damage Awards and Free Options in Securities Litigation," Journal of Financial Intermediation, Elsevier, vol. 9(2), pages 149-168, April.
    18. Zhao, Zhibiao & Wu, Wei Biao, 2009. "Nonparametric inference of discretely sampled stable Lévy processes," Journal of Econometrics, Elsevier, vol. 153(1), pages 83-92, November.
    19. Antoine Jacquier & Patrick Roome, 2015. "Black-Scholes in a CEV random environment," Papers 1503.08082, arXiv.org, revised Nov 2017.
    20. Yonggu Kim & Keeyoung Shin & Joseph Ahn & Eul-Bum Lee, 2017. "Probabilistic Cash Flow-Based Optimal Investment Timing Using Two-Color Rainbow Options Valuation for Economic Sustainability Appraisement," Sustainability, MDPI, vol. 9(10), pages 1-16, October.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:2603.16434. 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.