1
Follow
0
Followers
使用fmz公共的测试服务器,就正常,
使用自己的服务器,就报错,GetOrder(4216312375): invalid order id
不知道问题在哪里,去年都不会,今年重新装了服务器,今年就提示这个了,策略代码没动过
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)
Comment
All comments (1)
您好,因为API接口增加了新功能,所以订单ID格式有调整,如果您使用的是FMZ其他接口中获取的ID,应该是没有问题的。
例如exchange.Buy函数返回的ID,传入GetOrder函数,这样是符合格式要求的,不会报错。
您是否直接使用了Info字段中记录的ID,作为GetOrder的参数?
2 years ago
- 1
