Type/to search
1
Follow
0
Followers
Informar un error en Gate Futures
Help
Created 2021-10-13 22:01:51  
 6
 1175

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

Este es un ejemplo de código
En un contrato de perpetuidad, cuando el parámetro de la cantidad de pedido es 1, la cantidad de pedido real en la puerta es de 0.01, y la cantidad real no coincide con el parámetro

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)