Type/to search
1
Follow
0
Followers
Einen Fehler in Gate Futures melden
Help
Created 2021-10-13 22:01:51  
 6
 1179

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

Der obige Code ist ein Beispiel
In einem perpetual contract ist der tatsächliche Auftrag des Gates 0.01, wenn der Parameter des Auftragswertes 1 ist, der Parameter des Auftragswertes entspricht nicht.

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)