33
Follow
63
Followers
Pourquoi le type de contrat bitmex ne peut-il pas être transmis lorsqu'il est défini ?
Created 2018-09-27 17:04:51
1
1880
exchanges[0].SetContractType(leixing_bitmex);
leixing_bitmex est un paramètre externe, défini comme str XBTUSD
Cependant, après avoir défini le type de contrat, il retourne true, mais il est toujours rétroactif lors de l'obtention de la profondeur.
Si vous utilisez directement les exchanges[0].SetContractType (('XBTUSD'); si tout va bien, le type de contrat ne peut-il pas être transmis avec des paramètres externes ?
Demander conseil
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

