OrderXXXXX commands
Hi,
I'm wondering if someone can go into intimate detail about the Order functions. It seems pretty easy to open them, but selecting and closing them, the right ones, gives me a headache. It seems easy to just let one run until it hits a stop loss - I have trailing stop code I have downloaded that seems to work ok.
But I have systems that I want to stop and reverse, or close when an event or indicator fires. In this case, I need to be able to get the open order and close it.
I am interested in seeing code for both a single order, and one that handles multiple orders.
THANKS!
burn0050
__________________
He who laughs last thinks slowest
|