liveUntilCancelled=true and it works. Both orders will be triggered while trading session, but if I add to the two long orders a short order with
liveUntilCancelled=true parameter the short order will never be executed. The Long orders comes first in source code. If i switch the position (short order first and then the long order), the long orders will never be executed.
At the output screen i got the message:
"Ignored PlaceOrder() method at 03.03.2009 10:00:00: Action=SellShort OrderType=Stop Quantity=500 LimitPrice=0 StopPrice=7,57 SignalName=Short Entry1' FromEntrySignal='' Reason='An Enter() method to submit an entry order has been ignore. Please search on the term 'Internal Order Handling Rules ..."
Why it doesn't work?

Comment