cs.AIMar 17, 2026

From Natural Language to Executable Option Strategies via Large Language Models

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

Organizations: City University of Hong Kong · The Chinese University of Hong Kong (Shenzhen) · University of Science and Technology of China · Shanghai University of Finance and Economics

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.

Figures & tables

Explore similar work

CardsList
  1. LiveOption: Evaluating LLM Agents in Structured Option Trading with Nonlinear Payoffs

    Sep 27, 2026Haochen Luo, Yifan Li, Binh Minh An +4Quantitative FinanceLLM Agent Evaluation