Saving Strategy State in Moomoo Quantitative Platform - File Writing Forbidden""Moomoo量化平台中保存策略状态 - 禁止文件写入
I'm developing a quantitative trading strategy using the moomoo client's quantitative strategy platform. I've encountered an issue when trying to save and load the strategy state. The log shows an error: 'ERROR: Unexpected error while saving strategy state: Open file for writing is forbidden: strategy_state.json'.
Is file read/write operations not allowed in moomoo's quantitative strategy environment? If so, what are the recommended methods for persisting strategy state between runs? Are there any built-in functions or APIs provided by moomoo for storing and retrieving strategy data?
Any insights or alternative approaches to manage strategy state within the moomoo platform would be greatly appreciated. Thank you!
我正在使用moomoo客户端的量化策略平台开发一个量化交易策略。在尝试保存和加载策略状态时遇到了一个问题。日志显示以下错误:
'ERROR: Unexpected error while saving strategy state: Open file for writing is forbidden: strategy_state.json'
moomoo的量化策略环境中是否不允许进行文件读写操作?如果是这样,有什么推荐的方法可以在策略多次运行之间(或者关机重启后)保持或读取策略状态?moomoo是否提供了任何内置函数或API用于存储和检索策略数据?
非常感谢任何关于在moomoo平台内管理策略状态的见解或替代方法。谢谢!
Disclaimer: Community is offered by Moomoo Technologies Inc. and is for educational purposes only.
Read more
Comment
Sign in to post a comment