What is reason 202? Is that my call to Cancel()?
The following are in chronological order:
20/02/2011 23:43:00 Order Order='1661912734/DU58298' Name='Stop loss' New state=Cancelled Instrument='$EURUSD' Action=Buy Limit price=0 Stop price=1.3778 Quantity=0.1M Type=Stop Filled=0 Fill price=0 Error=NoError Native error='Order Canceled - reason: (202)' 20/02/2011 23:43:00 Order Order='1661912731/DU58298' Name='Profit target' New state=Rejected Instrument='$GBPJPY' Action=Buy Limit price=134.89 Stop price=0 Quantity=0.1M Type=Limit Filled=0 Fill price=0 Error=OrderRejected Native error='Cancel attempted when order is not in a cancellable state. Order permId =1661912731 (161)' 20/02/2011 23:43:00 Order IB Simulated, Cancel attempted when order is not in a cancellable state. Order permId =1661912731 (161) affected Order: Buy 100000 Limit @ 134.89
Comment