摘要
文章深入探讨了融合ChatGPT自然语言处理能力与金融数据接口的智能选股及回测系统。通过将ChatGPT的对话交互功能与Tushare、东方财富等金融数据接口相结合,实现了从用户自然语言需求到量化指标的自动转换,并高效筛选出符合条件的股票集合。同时,进一步拓展开发了智能回测功能,利用backtest回测接口完成对选股策略的精准计算与验证。系统采用Flask框架构建后端,支持多轮对话,确保交互连贯性。经测试,该系统在功能、性能及准确性上表现优异,为投资者提供了智能化、高效化的选股与回测解决方案,未来可期待在更多金融领域拓展应用。
This paper delves into an intelligent stock selection and backtesting system that integrates ChatGPT Natural Language Processing capability with financial data interfaces.By combining the dialogue interaction function of ChatGPT withfinancial data interfaces such as Tushare and Oriental Wealth,automatic conversion from user natural language needs to quantitative indicators is achieved,and a set of stocks that meets the criteria is efficiently screened.Meanwhile,the intelligent backtesting function is further expanded and developed,utilizing the backtest backtesting interface to accurately calculate and verify stock selection strategies.The system adopts Flask framework to build the backend,supports multiple rounds of dialogue,and ensures the coherence of interaction.After testing,the system shows excellent performance in terms of functionality,performance,and accuracy,providing investors with intelligent and efficient stock selection and backtesting solutions.It is expected to expand its applications in morefinancialfields in the future.
作者
刘逸凯
汪煌俊
吴瑰
LIU Yikai;WANG Huangjun;WU Gui(School of Artificial Intelligence,Jianghan University,Wuhan 430056,China)
出处
《现代信息科技》
2025年第17期62-67,72,共7页
Modern Information Technology
基金
湖北省大学生创新创业训练计划(S202411072072)。
关键词
ChatGPT
智能选股
网络爬虫
智能回测
多轮对话
ChatGPT
intelligent stock selection
Web crawler
intelligent backtesting
multiple rounds of dialogue