Ask for help Buy successfully, sell conditions reached, can't sell alive, always showing Sell ((0.11487, 45): Invalid direction
First, there is no problem with the progression behind the decimal point. Second: Set the sell direction to close buy, sell cheaply.
The code is as follows: I am using binary futures futures futures, any friends who have encountered and solved this problem can help me.
exchange.SetDirection(“buyclose”);
var order_id2 = exchange.Sell(now_records.Close, trade_amount);
Sleep(2000);
while (order_id2 == nullurutse typeof(order_id) == undefined order) // not sold, continue to sell with a slide point on the price
{pos (192,210) }
exchange.SetDirection (
xionglonghuiThe problem, of course, is that the wording is wrong...
The baby dinosaur exchange.SetDirection("closebuy");