Пример #1
0
        public void Update(MarketDataSnapshotFullRefresh entry)
        {
            lock (LockObject)
            {
                string securityID = entry.getSecurityID().getValue();

                if (securityEntries.ContainsKey(securityID))
                {
                    SecurityEntry securityEntry = securityEntries[securityID];

                    if (securityEntry.HasFutureContract())
                    {
                        securityEntry.UpdateMDEntry(entry, SideController);

                        RaizeChanged(securityEntry);
                    }
                }
            }
        }
 public virtual void onMessage( MarketDataSnapshotFullRefresh message, QuickFix.SessionID session ) 
   { throw new QuickFix.UnsupportedMessageType(); }
Пример #3
0
 void InsertGroup(uint index, MarketDataSnapshotFullRefresh.NoMDEntries group, SideController sideController)
 {
     MDEntryGroups[index] = new Proposal(group, this, GetDatePair(), sideController);
 }
Пример #4
0
        internal void UpdateMDEntry(MarketDataSnapshotFullRefresh entry, SideController sideController)
        {
            MDReqID = entry.getMDReqID().getValue();

            ClearGroups();

            MDGroupCount = entry.getNoMDEntries().getValue();
            MDEntryGroups = new MDEntryGroup[MDGroupCount];
            MarketDataSnapshotFullRefresh.NoMDEntries group = new MarketDataSnapshotFullRefresh.NoMDEntries();
            for (uint i = 0; i < MDGroupCount; i++)
            {
                entry.getGroup(i + 1, group);
                InsertGroup(i, group, sideController);
            }

            IsMDUpdated = true;
        }
Пример #5
0
        public MDEntryGroup(MarketDataSnapshotFullRefresh.NoMDEntries group, SecurityEntry owner)
        {
            OwnerEntry = owner;

            MDEntryType = group.getMDEntryType().getValue();
            MDEntryPx = group.getMDEntryPx().getValue();
            MDEntrySize = group.getMDEntrySize().getValue();
        }
Пример #6
0
 public virtual void onMessage(MarketDataSnapshotFullRefresh message, QuickFix.SessionID session)
 {
     throw new QuickFix.UnsupportedMessageType();
 }
Пример #7
0
 internal void ProcessMessage(string exchange, string symbol, MarketDataSnapshotFullRefresh entry)
 {
     Get(exchange, symbol).Update(entry);
     RaizeChanged(Get(exchange, symbol));
 }