33
Follow
63
Followers
exchanges[0].SetContractType(leixing_bitmex);
leixing_bitmexは,str XBTUSDとして定義される外部パラメータです.
しかし,コンタクトの種類を定義すると,true が返されますが,深度を取得すると常に反<unk>が表示されます.
直接Exchangesで利用すると[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

