I found this code in the help guide, or something like it and implemented it.
else if (State == State.Realtime) { // one time only, as we transition from historical convert any old historical order object // references to the new live order submitted to the real-time account if( entryOrder != null ) { entryOrder = GetRealtimeOrder( entryOrder ); if( entryOrder != null ) { Print( entryOrder.ToString() ); } else { Print( "entryOrder is null" ); } } }
Since the doc (*Transitioning order references from historical to live) says GetRealtimeOrder() should return a real time order reference, I'm thinking at the very least, that method isn't working right, in addition to something either I'm not doing or don't understand.
Comment