[/code]The Output will be something like this:
Server Version: 59
TWS Time at connection:20131109 22:01:26 ICT
IB: OrderID =
>>> 4
IB: Server Response = nextValidId <nextValidId orderId=4>
IB: Server Response = error <error id=5, errorCode=399, errorMsg=Order Message:
Warning: your order will not be placed at the exchange until 2013-11-11 09:30:00 US/Eastern>
IB: Server Response = openOrder <openOrder orderId=5, contract=<ib.ext.Contract.Contract object at 0x012C3C90>, order=<ib.ext.Order.Order object at 0x012C3BB0>,
orderState=<ib.ext.OrderState.OrderState object at 0x012C3A50>>
IB: Server Response = orderStatus <orderStatus orderId=5, status=PreSubmitted, filled=0, remaining=100,
avgFillPrice=0.0, permId=XXXXXX, parentId=0, lastFillPrice=0.0, clientId=123, whyHeld=None>