PDA

View Full Version : How exactly the REVERSEPOSITION command work?


BCA
05-28-2006, 06:09 PM
Let's say I have a long possition with a strategy (one stop and one target orders). If I submit REVERSEPOSITION command with another strategy, what will happend? Will current strategy be closed (stop and targets orders cancelled)?

Thanks!

NinjaTrader_Ray
05-29-2006, 01:07 AM
Your understanding is correct.

BCA
06-07-2006, 05:23 PM
It looks like REVERSEPOSITION and Closeposition don't work at all...

NinjaTrader_Ray
06-08-2006, 12:07 AM
I just tested and it works. Please take a look at your code to ensure that the function is being called. Check the log file for any errors.