christan / Publications
Forum
Function to effectively close all orders.
I have been using this function to try and close all my orders, both pending and open. However for some unknown reason, there's always unclosed orders remaining. How do I ensure that every single pending/open order closes? // close all open and pending orders void closeAllOrders() { int total =