public void onBookAtomicLevelEntryDelta(
     MamdaSubscription subscription,
     MamdaBookAtomicListener listener,
     MamaMsg msg,
     MamdaBookAtomicLevelEntry levelEntry)
 {
     if (myQuietModeLevel < 2)
     {
         prettyPrint(subscription, levelEntry);
     }
 }
            void prettyPrint(MamdaSubscription subscription,
                             MamdaBookAtomicLevelEntry levelEntry)
            {
                // Print Entry Level Info
                string symbol        = subscription.getSymbol();
                long   actNumEntries = levelEntry.getPriceLevelActNumEntries();
                char   entryAction   = levelEntry.getPriceLevelEntryAction();
                string entryId       = levelEntry.getPriceLevelEntryId();
                long   entrySize     = levelEntry.getPriceLevelEntrySize();

                Console.WriteLine("\tENTRY | " + symbol + " | " + actNumEntries + " | "
                                  + entryAction + " | " + entryId + " | " + entrySize);
            }
Example #3
0
            void prettyPrint(MamdaSubscription subscription,
                            MamdaBookAtomicLevelEntry levelEntry)
            {
                // Print Entry Level Info
                string	symbol        = subscription.getSymbol ();
                long	actNumEntries = levelEntry.getPriceLevelActNumEntries ();
                char	entryAction   = levelEntry.getPriceLevelEntryAction ();
                string  entryId       = levelEntry.getPriceLevelEntryId ();
                long    entrySize     = levelEntry.getPriceLevelEntrySize ();

                Console.WriteLine ("\tENTRY | " + symbol + " | " + actNumEntries + " | "
                    + entryAction + " | " + entryId + " | " + entrySize );
            }
Example #4
0
 public void onBookAtomicLevelEntryRecap(
     MamdaSubscription             subscription,
     MamdaBookAtomicListener       listener,
     MamaMsg                       msg,
     MamdaBookAtomicLevelEntry     levelEntry)
 {
     if (myQuietModeLevel<2)
     {
         prettyPrint (subscription, levelEntry);
     }
 }