Type/to search
0
Follow
0
Followers
Problema con el parámetro GetOrder
FAQ
Created 2018-12-18 15:17:15  
 10
 1946

El id que se devuelve desde la interfaz de compra o venta de bitmex, a veces es de tipo numérico y otras veces de tipo string, y los parámetros de GetOrder son compatibles con ambos tipos, pero a menudo se equivocan:
GetOrder(45893259-c8ef-1e0c-33c4-xxxxxxxx): order not found

La solicitud de la herramienta de desbloqueo devuelve la información de la orden

Related Recommendations
Comment
All comments (9)

    img

    8 years ago

    您下单后需要间隔一点点时间 比如间隔2秒,再查询,有可能是 交易所 系统还没 录入这个订单 。

    8 years ago

    好的,我试试,谢谢

    8 years ago

    不客气 。

    8 years ago

    大神,我试过,有时候停顿2秒还是会报错说not found,停顿太长时间又影响策略,那有没办法可以过滤这个错误信息,让程序继续运行下去呢,因为我是一直在获取订单状态等待成交的,并且在使用GetOrder函数的时候还用了_C重试...

    7 years ago

    那应该是 确实没找到订单了。

    7 years ago

    就像这样 img

    7 years ago

    但是订单id都已经返回了,应该是下单成功才有id的吧...

    7 years ago

    返回的应当是 字符串的。
    方便的话 截图看下日志。

    8 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)