The code for adding a buy order and adding a sell order are 95% identical. Can you parameterize side and not repeat all that code?
The code for adding a buy order and adding a sell order are 95% identical. Can you parameterize side and not repeat all that code?