Approaching (error 0) or exceeding (error 100) the API messaging rate errors generates an OID=-1. Such arrors show in the ibc messaging window but I have trouble detecting them in my code. I tried this:
OID = ibc.ModifyOrder( OID, Ticker, Action, Qty, Type, LmtPrice, StopPrice, TIF, Transmit, SizeTick, Attr, ParentOID );
if( OID == "-1" ) Trace( "~, " + Now( 2 ) + ", "+Ticker+", OID, "+OID+", Place Order Error: max IB-Messaging Rate exceeded" );
However these errors never show in my DBV window.
Anyone know why?