33
Follow
63
Followers
¿Por qué no se puede pasar el tipo de contrato bitmex cuando está definido?
Created 2018-09-27 17:04:51
1
1880
exchanges[0].SetContractType(leixing_bitmex);
donde, leixing_bitmex es un parámetro externo, definido como str XBTUSD
Sin embargo, después de definir el tipo de contrato, se devuelve true, pero siempre se obtiene la respuesta de profundidad Your browser sent an invalid request.
Si usamos exchanges directamente[0].SetContractType (('XBTUSD'); si todo está bien, ¿no se puede transmitir el tipo de contrato con un parámetro externo?
Pedir consejo
Related Recommendations
Looking For PartnershipGreat news! Check out our platforms’ NEW features, the “Demands & Offers” page on our website.Our platform’s New design PC/MacOS local software client is released now!Flash collapse robot (teaching)Index equilibrium strategy (teaching)can anyone please explain how to start with this platformC++ API call exampleHow to break through the Tick receiving limit of commodity futuresMulti-platform Hedging Stabilization Arbitrage V2.1 (Annotation Edition)Pure english vesion of e-books about some basic systematic trading skills
Comment
All comments (1)
Python 语言 还是 JS , 如果是python 注意 全局变量 作用域 , 局部 有没有 重名的变量 等问题。
在这句 exchanges[0].SetContractType(leixing_bitmex); 设置合约之前, Log 一下leixing_bitmex 变量,确定一下是不是 XBTUSD 。
8 years ago
- 1

