The native API of okex allows for a variety of transactions through the type field 1: open more 2: open space 3: plain more 4: plain. But how do you write an API that is quantified by the inventor? Is it like this below?
exchange.SetDirection(“buy”) exchange.Buy(Price, Amount)
exchange.SetDirection(“closebuy”) exchange.Sell(Price, Amount)
exchange.SetDirection(“sell”) exchange.sell(Price, Amount)
exchange.SetDirection(“closesell”) exchange.buy(Price, Amount)
Inventors quantify - small dreamsYes, I did.
Inventors quantify - small dreamsBuy. Opening is not possible, but will not return errors, neither will the real disk, although it is possible to execute as buy more open. Or buy flat. So this setting must be correct.
wlThat exchange.SetDirection (("buy") exchange.Sell (Price, Amount) and exchange.SetDirection (("sell") exchange.buy ((Price, Amount)) Literal logic means that the corresponding pump sells more pumps and the pump buys more pumps in the program will have a corresponding operation execution; it seems that there is no error in the analogue feedback.