Заказ с помощью этого кода exchanges[1].SetContractType(“XBTUSD”); exchanges[1].SetMarginLevel(80); exchanges[1].SetDirection(“buy”); exchanges[1].Buy(close+20,amout);
Ошибка Futures_BitMEX Ошибка Futures_OP 0: 503: {“error”:{“message”:“The system is currently overloaded. Please try again later.”,“name”:“HTTPError”}}
Я хотел бы попробовать снова с помощью следующей бесконечной циклической структуры, но не знаю, что это за ошибка? var id=null; while(id==null||id==false){ exchanges[1].SetContractType(“XBTUSD”); exchanges[1].SetMarginLevel(80); exchanges[1].SetDirection(“buy”); id=exchanges[1].Buy(close+20,amout); Sleep(100); }
Что должно быть в условиях while: null, false, undefined? или что-то другое?