Classes Files

Wombat::MamdaMultiParticipantHandler

More…

#include <MamdaMultiParticipantHandler.h>

Public Functions

  Name
virtual void onConsolidatedCreate(MamdaSubscription * subscription, MamdaMultiParticipantManager & manager) =0
virtual void onParticipantCreate(MamdaSubscription * subscription, MamdaMultiParticipantManager & manager, const char * particpantId, bool isPrimary) =0
virtual ~MamdaMultiParticipantHandler()

Detailed Description

class Wombat::MamdaMultiParticipantHandler;

The MamdaMultiParticipantHandler class is an interface that allows a developer to be notified dynamically when participants are added to the list. This is useful for handling information such as NYSE, AMEX and NASDAQ listed securities (including NQDS). Access to consolidated information (i.e., best bid and offer and consolidated trade info) is also available.

Note that any actions to register per-participant or consolidated listeners can be added up front (and this callback omitted or left empty) if the participant IDs are known beforehand.

Public Functions Documentation

function onConsolidatedCreate

virtual void onConsolidatedCreate(
    MamdaSubscription * subscription,
    MamdaMultiParticipantManager & manager
) =0

Method invoked when the consolidated trade and BBO quote information for the security has become available. This method is invoked only if there is BBO or consolidated trade information available.

function onParticipantCreate

virtual void onParticipantCreate(
    MamdaSubscription * subscription,
    MamdaMultiParticipantManager & manager,
    const char * particpantId,
    bool isPrimary
) =0

Method invoked when the trade and quote information for a participant has become available for the security. This method is invoked only if there is participant quote or trade information available. isPrimary is not yet supported!

function ~MamdaMultiParticipantHandler

inline virtual ~MamdaMultiParticipantHandler()

Updated on 2023-03-31 at 15:29:57 +0100