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); }
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 ); }
public void onBookAtomicLevelEntryRecap( MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicLevelEntry levelEntry) { if (myQuietModeLevel<2) { prettyPrint (subscription, levelEntry); } }