1
Follow
0
Followers
En la actualidad, la mayoría de los usuarios de FMZ están usando el servidor de pruebas público de FMZ, que funciona bien.
El error se produce cuando se utiliza el propio servidor, GetOrder ((4216312375): invalid order id
No sé cuál es el problema, no lo hice el año pasado, este año reinstalado el servidor, este año se me ocurrió, el código de la política no se movió
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
