33
Follow
63
Followers
exchanges[0].SetContractType(leixing_bitmex);
여기서, leixing_bitmex는 외부 변수이며, str XBTUSD로 정의됩니다.
그러나, 계약 유형을 정의한 후, true를 반환하지만, 깊이를 얻었을 때 항상 피드백을 얻습니다.
만약 여러분이 직접적으로[0].SetContractType (('XBTUSD'); 모든 것이 정상이라면, 계약 유형은 외부의 변수를 사용할 수 없나요?
조언을 구하다
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

