public IBMessageHandler(IBaseLogic consumer) { SecurityDataDic = new Dictionary <int, SecuirtyDataWrapper>(); OrderStatusDic = new Dictionary <int, IBOrderStatusWrapper>(); AccountSummary = new AccountSummaryData(); Consumer = consumer; ManagedSecurityList = new List <Contract>(); GeneralTimer.GeneralTimerInstance.AddTask(TimeSpan.FromSeconds(3), PublishSecurities, true); _contractWaiters = new Dictionary <int, ContractDetailsWaiter>(); }
///////////////////////////////////////////////////////////////////////////// #region code // // template is in Templates.cs // Tag ModifyTags( AccountSummaryData.Data data, int row, int column, Tag tag ) { // ****** Tag returnTag = null; // ****** if( 0 == row && column > 3 ) { returnTag = new QuickTag( "s" ); returnTag.Value = tag.Value; tag.Value = null; } // ****** if( 6 == column && data.Col7 < 0 ) { tag.AddStyles( "color : red" ); } // ****** return returnTag; }
public void UpdateAccountData(AccountSummaryData accountSummaryData) { }