Type/to search
1
Follow
0
Followers
Signaler un bug dans Gate Futures
Help
Created 2021-10-13 22:01:51  
 6
 1179

exchange.SetContractType('swap')
exchange.SetDirection('sell');
exchange.Sell(5000, 1)

Ceci est un exemple de code
Dans les contrats à durée indéterminée, le paramètre de la quantité de commande inférieure est 1, alors que la quantité de commande sous la porte est en fait de 0,01, et la quantité sous la porte ne correspond pas au paramètre.

Related Recommendations
Comment
All comments (6)

    合约乘数不同

    5 years ago

    这个不是BUG,期货合约下单量是合约张数,不是币数。

    5 years ago

    这个永续usdt的,同样的api,币安那边是币数,gate这里就成张数了啊。。被整懵了哈哈

    5 years ago

    每个交易所合约定义都有差别,合约价值也不同,币安永续合约,U本位,BTC为例:一张就是一个币。

    5 years ago

    好的,谢谢啦

    5 years ago

    不客气。

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