arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16434cs.AIq-fin.TR
收藏

从自然语言到可执行期权策略的大型语言模型

From Natural Language to Executable Option Strategies via Large Language Models

City University of Hong Kong(香港城市大学);The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳));Shanghai University of Finance and Economics(上海财经大学);University of Science and Technology of China(中国科学技术大学)

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

AI总结:

本文提出Option Query Language,通过语法规则将期权市场抽象为高层 primitives,使LLM能作为语义解析器生成可执行期权策略,并通过新数据集验证其优于直接生成方法。

摘要:

大型语言模型(LLMs)在通用代码生成方面表现出色,但将自然语言交易意图转化为正确期权策略仍具挑战性。现实中的期权设计需要在大规模、多维期权链数据上进行推理,且受严格约束,这往往超出了直接生成方法的能力。我们引入Option Query Language(OQL),一种领域特定的中间表示,通过语法规则将期权市场抽象为高层 primitives,使LLM能够作为可靠的语义解析器而非自由形式程序员。OQL查询随后由引擎验证和执行,以实例化可执行策略。我们还提出了一个新数据集,并证明我们的神经符号流水线在执行准确性和逻辑一致性方面显著优于直接基线方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑