Basically the following code works, exiting the short position, and entering the long via limit:
ExitShort();
EnterLongLimit(Quantity, 1000);
And this doesn't, as it never places any orders to exit the short position, despite the fact that both functions should place such an order:
ExitShortLimit(1000);
EnterLongLimit(Quantity, 1000);
I've tried manually setting the limits for both from 1 to 1000 (nominal price for the future I'm testing on is around 700) just in case I was somehow getting things backwards. I'm using the lastest/production NT 6.5. Any ideas what might be wrong?
Comment