OKEX to seek help

Author: 13957180801, Created: 2018-10-09 16:11:59, Updated:

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美元.
请问是什么原因 ?

More

The grassLearn about transactions first, and then program them.

13957180801It turns out that the okex is traded on the basis of one (($10) and not the number of coins.