Type/to search
0
Follow
0
Followers
OKEX先物取引ヘルプ
FAQ
Created 2018-10-09 16:11:59  
 3
 2288

exchange.SetRate(1);
exchange.SetContractType("quarter");
exchange.SetMarginLevel(20);
exchange.SetDirection("buy");
exchange.Buy(price, 2);

exchange.SetDirection("sell"); exchange.Sell(price, 2); 实际交易发生的时候,发现我调整了amount没有用,实际成交为price*amount = 20美元. 请问是什么原因 ?
Related Recommendations
Comment
All comments (2)

    先手动交易了解一下,再程序化交易

    8 years ago

    原来okex是按一张(10美元)下的,不是按币的数量交易。

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