Please enable JavaScript.
Coggle requires JavaScript to display documents.
🛒 check status and place OCO order - Coggle Diagram
🛒 check status and place OCO order
start
%ocoProcessing=on
%ordersLength=null
%ordersLength=$.orders.length %trade
?ordersLength>0
$.orders %trade each(%orderC)
next
%binanceOrder=null
%binanceOrder=$.binance %orderC
2 more items...
exit
%ocoProcessing=null
%errLen=$.length %errors
2 more items...
%errLen=null
%order=null
%orderC=null
%errors=[]
%success=[]
%canceled=[]
%id=null
%orderId=null
%symbol=null
else
%trade=null
%ocoProcessing=null
root