I have written a for loop that returns whether there are any open orders, however, it returns, on occasion, no open orders even when there are open orders. Is there any way to make this more accurate? Below is my code, any help is appreciated.
int OpenOrdersThisPair(string pair)
for(int b=OrdersTotal()-1; b>0; b--)
for(int b=OrdersTotal()-1; b>=0; b--)
To add comments, please log in or register