OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
Users' manual and API documentation
Loading...
Searching...
No Matches
ExchangeListener Class Reference

#include <ExchangeListener.h>

Public Member Functions

virtual ~ExchangeListener ()
User callback's
virtual void onAddModifyOrder (const AddModifyOrder &msg, const MessageInfo &msgInfo)
virtual void onAddPriceLevel (const AddPriceLevel &msg, const MessageInfo &msgInfo)
virtual void onBundleMarker (const BundleMarker &msg, const MessageInfo &msgInfo)
virtual void onCancelledTrade (const CancelledTrade &msg, const MessageInfo &msgInfo)
virtual void onChangePriceLevel (const ChangePriceLevel &msg, const MessageInfo &msgInfo)
virtual void onClosePrice (const ClosePrice &msg, const MessageInfo &msgInfo)
virtual void onDeleteOrder (const DeleteOrder &msg, const MessageInfo &msgInfo)
virtual void onDeletePriceLevel (const DeletePriceLevel &msg, const MessageInfo &msgInfo)
virtual void onEndOfDayMarketSummary (const EndOfDayMarketSummary &msg, const MessageInfo &msgInfo)
virtual void onFixingIndicativePrice (const FixingIndicativePrice &msg, const MessageInfo &msgInfo)
virtual void onFixingLockdown (const FixingLockdown &msg, const MessageInfo &msgInfo)
virtual void onFixingTransition (const FixingTransition &msg, const MessageInfo &msgInfo)
virtual void onFuturesProductDefinition (const FuturesProductDefinition &msg, bool &isInterested)
virtual void onFuturesStrategyDefinition (const FuturesStrategyDefinition &msg, bool &isInterested)
virtual void onIntervalTieredPriceLimitNotification (const IntervalTieredPriceLimitNotification &msg, const MessageInfo &msgInfo)
virtual void onInvestigatedTrade (const InvestigatedTrade &msg, const MessageInfo &msgInfo)
virtual void onLoginResponse (const LoginResponse &msg)
virtual void onMarkerIndexPrices (const MarkerIndexPrices &msg, const MessageInfo &msgInfo)
virtual void onMarketEvent (const MarketEvent &msg, const MessageInfo &msgInfo)
virtual void onMarketSnapshot (const MarketSnapshot &msg, const MessageInfo &msgInfo)
virtual void onMarketSnapshotOrder (const MarketSnapshotOrder &msg, const MessageInfo &msgInfo)
virtual void onMarketSnapshotPriceLevel (const MarketSnapshotPriceLevel &msg, const MessageInfo &msgInfo)
virtual void onMarketStateChange (const MarketStateChange &msg, const MessageInfo &msgInfo)
virtual void onMarketStatistics (const MarketStatistics &msg, const MessageInfo &msgInfo)
virtual void onNewExpiry (const NewExpiry &msg, bool &isInterested, const MessageInfo &msgInfo)
virtual void onNewFuturesStrategyDefinition (const NewFuturesStrategyDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
virtual void onNewOptionsMarketDefinition (const NewOptionsMarketDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
virtual void onNewOptionsStrategyDefinition (const NewOptionsStrategyDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
virtual void onOldStyleOptionsTradeAndMarketStats (const OldStyleOptionsTradeAndMarketStats &msg, const MessageInfo &msgInfo)
virtual void onOpenInterest (const OpenInterest &msg, const MessageInfo &msgInfo)
virtual void onOpenPrice (const OpenPrice &msg, const MessageInfo &msgInfo)
virtual void onOptionOpenInterest (const OptionOpenInterest &msg, const MessageInfo &msgInfo)
virtual void onOptionSettlementPrice (const OptionSettlementPrice &msg, const MessageInfo &msgInfo)
virtual void onOptionsProductDefinition (const OptionsProductDefinition &msg, bool &isInterested)
virtual void onOptionsStrategyDefinition (const OptionsStrategyDefinition &msg, bool &isInterested)
virtual void onPreOpenPriceIndicator (const PreOpenPriceIndicator &msg, const MessageInfo &msgInfo)
virtual void onRfq (const Rfq &msg, const MessageInfo &msgInfo)
virtual void onSettlementPrice (const SettlementPrice &msg, const MessageInfo &msgInfo)
virtual void onSpecialField (const SpecialField &msg, const MessageInfo &msgInfo)
virtual void onSpotMarketTrade (const SpotMarketTrade &msg, const MessageInfo &msgInfo)
virtual void onStripInfo (const StripInfo &msg)
virtual void onSystemText (const SystemText &msg, const MessageInfo &msgInfo)
virtual void onTrade (const Trade &msg, const MessageInfo &msgInfo)

Detailed Description

Definition at line 34 of file ExchangeListener.h.

Constructor & Destructor Documentation

◆ ~ExchangeListener()

virtual ~ExchangeListener ( )
inlinevirtual

Definition at line 37 of file ExchangeListener.h.

Member Function Documentation

◆ onAddModifyOrder()

virtual void onAddModifyOrder ( const AddModifyOrder & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Add/Modify Order Message.

Default implementation do nothing.

Parameters
msgis a AddModifyOrder message structure.
msgInfoinformation about this particular message.

◆ onAddPriceLevel()

virtual void onAddPriceLevel ( const AddPriceLevel & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Add Price Level Message.

Default implementation do nothing.

Parameters
msgis a AddPriceLevel message structure.
msgInfoinformation about this particular message.

◆ onBundleMarker()

virtual void onBundleMarker ( const BundleMarker & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Message Bundle Marker.

Default implementation do nothing.

Parameters
msgis a BundleMarker message structure.
msgInfoinformation about this particular message.

◆ onCancelledTrade()

virtual void onCancelledTrade ( const CancelledTrade & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Cancelled Trade Message.

Default implementation do nothing.

Parameters
msgis a CancelledTrade message structure.
msgInfoinformation about this particular message.

◆ onChangePriceLevel()

virtual void onChangePriceLevel ( const ChangePriceLevel & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Change Price Level Message.

Default implementation do nothing.

Parameters
msgis a ChangePriceLevel message structure.
msgInfoinformation about this particular message.

◆ onClosePrice()

virtual void onClosePrice ( const ClosePrice & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Close Price Message.

Default implementation do nothing.

Parameters
msgis a ClosePrice message structure.
msgInfoinformation about this particular message.

◆ onDeleteOrder()

virtual void onDeleteOrder ( const DeleteOrder & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Delete Order Message.

Default implementation do nothing.

Parameters
msgis a DeleteOrder message structure.
msgInfoinformation about this particular message.

◆ onDeletePriceLevel()

virtual void onDeletePriceLevel ( const DeletePriceLevel & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Delete Price Level Message.

Default implementation do nothing.

Parameters
msgis a DeletePriceLevel message structure.
msgInfoinformation about this particular message.

◆ onEndOfDayMarketSummary()

virtual void onEndOfDayMarketSummary ( const EndOfDayMarketSummary & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about End of Day Market Summary Message.

Default implementation do nothing.

Parameters
msgis a EndOfDayMarketSummary message structure.
msgInfoinformation about this particular message.

◆ onFixingIndicativePrice()

virtual void onFixingIndicativePrice ( const FixingIndicativePrice & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Fixing Indicative Price Message.

Default implementation do nothing.

Parameters
msgis a FixingIndicativePrice message structure.
msgInfoinformation about this particular message.

◆ onFixingLockdown()

virtual void onFixingLockdown ( const FixingLockdown & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Fixing Lockdown Message.

Default implementation do nothing.

Parameters
msgis a FixingLockdown message structure.
msgInfoinformation about this particular message.

◆ onFixingTransition()

virtual void onFixingTransition ( const FixingTransition & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Fixing Transition Message.

Default implementation do nothing.

Parameters
msgis a FixingTransition message structure.
msgInfoinformation about this particular message.

◆ onFuturesProductDefinition()

virtual void onFuturesProductDefinition ( const FuturesProductDefinition & msg,
bool & isInterested )
virtual

Implement this member to get notified about Futures/OTC Product Definition Response Message.

Default implementation do nothing.

Parameters
msgis a FuturesProductDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.

◆ onFuturesStrategyDefinition()

virtual void onFuturesStrategyDefinition ( const FuturesStrategyDefinition & msg,
bool & isInterested )
virtual

Implement this member to get notified about Futures Strategy Definition Response Message.

Default implementation do nothing.

Parameters
msgis a FuturesStrategyDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.

◆ onIntervalTieredPriceLimitNotification()

virtual void onIntervalTieredPriceLimitNotification ( const IntervalTieredPriceLimitNotification & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Interval/Tiered Price Limit Notification Message.

Default implementation do nothing.

Parameters
msgis a IntervalTieredPriceLimitNotification message structure.
msgInfoinformation about this particular message.

◆ onInvestigatedTrade()

virtual void onInvestigatedTrade ( const InvestigatedTrade & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Investigated Trade Message.

Default implementation do nothing.

Parameters
msgis a InvestigatedTrade message structure.
msgInfoinformation about this particular message.

◆ onLoginResponse()

virtual void onLoginResponse ( const LoginResponse & msg)
virtual

Implement this member to get notified about Login Response Message.

Default implementation do nothing.

Parameters
msgis a LoginResponse message structure.

◆ onMarkerIndexPrices()

virtual void onMarkerIndexPrices ( const MarkerIndexPrices & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Marker/Index Prices Message.

Default implementation do nothing.

Parameters
msgis a MarkerIndexPrices message structure.
msgInfoinformation about this particular message.

◆ onMarketEvent()

virtual void onMarketEvent ( const MarketEvent & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market Event Message.

Default implementation do nothing.

Parameters
msgis a MarketEvent message structure.
msgInfoinformation about this particular message.

◆ onMarketSnapshot()

virtual void onMarketSnapshot ( const MarketSnapshot & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market Snapshot Message.

Default implementation do nothing.

Parameters
msgis a MarketSnapshot message structure.
msgInfoinformation about this particular message.

◆ onMarketSnapshotOrder()

virtual void onMarketSnapshotOrder ( const MarketSnapshotOrder & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market Snapshot Order Message.

Default implementation do nothing.

Parameters
msgis a MarketSnapshotOrder message structure.
msgInfoinformation about this particular message.

◆ onMarketSnapshotPriceLevel()

virtual void onMarketSnapshotPriceLevel ( const MarketSnapshotPriceLevel & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market Snapshot Price Level Message.

Default implementation do nothing.

Parameters
msgis a MarketSnapshotPriceLevel message structure.
msgInfoinformation about this particular message.

◆ onMarketStateChange()

virtual void onMarketStateChange ( const MarketStateChange & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market State Change Message.

Default implementation do nothing.

Parameters
msgis a MarketStateChange message structure.
msgInfoinformation about this particular message.

◆ onMarketStatistics()

virtual void onMarketStatistics ( const MarketStatistics & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Market Statistics Message.

Default implementation do nothing.

Parameters
msgis a MarketStatistics message structure.
msgInfoinformation about this particular message.

◆ onNewExpiry()

virtual void onNewExpiry ( const NewExpiry & msg,
bool & isInterested,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about New Expiry Message.

Default implementation do nothing.

Parameters
msgis a NewExpiry message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.
Parameters
msgInfoinformation about this particular message.

◆ onNewFuturesStrategyDefinition()

virtual void onNewFuturesStrategyDefinition ( const NewFuturesStrategyDefinition & msg,
bool & isInterested,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about New Futures Strategy Definition Message.

Default implementation do nothing.

Parameters
msgis a NewFuturesStrategyDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.
Parameters
msgInfoinformation about this particular message.

◆ onNewOptionsMarketDefinition()

virtual void onNewOptionsMarketDefinition ( const NewOptionsMarketDefinition & msg,
bool & isInterested,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about New Options Market Definition Message.

Default implementation do nothing.

Parameters
msgis a NewOptionsMarketDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.
Parameters
msgInfoinformation about this particular message.

◆ onNewOptionsStrategyDefinition()

virtual void onNewOptionsStrategyDefinition ( const NewOptionsStrategyDefinition & msg,
bool & isInterested,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about New Options Strategy Definition Message.

Default implementation do nothing.

Parameters
msgis a NewOptionsStrategyDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.
Parameters
msgInfoinformation about this particular message.

◆ onOldStyleOptionsTradeAndMarketStats()

virtual void onOldStyleOptionsTradeAndMarketStats ( const OldStyleOptionsTradeAndMarketStats & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Old Style Options Trade and Market Stats Message.

Default implementation do nothing.

Parameters
msgis a OldStyleOptionsTradeAndMarketStats message structure.
msgInfoinformation about this particular message.

◆ onOpenInterest()

virtual void onOpenInterest ( const OpenInterest & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Open Interest Message.

Default implementation do nothing.

Parameters
msgis a OpenInterest message structure.
msgInfoinformation about this particular message.

◆ onOpenPrice()

virtual void onOpenPrice ( const OpenPrice & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Open Price Message.

Default implementation do nothing.

Parameters
msgis a OpenPrice message structure.
msgInfoinformation about this particular message.

◆ onOptionOpenInterest()

virtual void onOptionOpenInterest ( const OptionOpenInterest & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Option Open Interest Message.

Default implementation do nothing.

Parameters
msgis a OptionOpenInterest message structure.
msgInfoinformation about this particular message.

◆ onOptionSettlementPrice()

virtual void onOptionSettlementPrice ( const OptionSettlementPrice & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Option Settlement Price Message.

Default implementation do nothing.

Parameters
msgis a OptionSettlementPrice message structure.
msgInfoinformation about this particular message.

◆ onOptionsProductDefinition()

virtual void onOptionsProductDefinition ( const OptionsProductDefinition & msg,
bool & isInterested )
virtual

Implement this member to get notified about Options Product Definition Message.

Default implementation do nothing.

Parameters
msgis a OptionsProductDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.

◆ onOptionsStrategyDefinition()

virtual void onOptionsStrategyDefinition ( const OptionsStrategyDefinition & msg,
bool & isInterested )
virtual

Implement this member to get notified about Options Strategy Definition Message.

Default implementation do nothing.

Parameters
msgis a OptionsStrategyDefinition message structure.
isInterestedis a flag allows the caller to specify that the product is interested to user.
Note
By default all products marked as interested to user.

◆ onPreOpenPriceIndicator()

virtual void onPreOpenPriceIndicator ( const PreOpenPriceIndicator & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Pre-Open Price Indicator Message.

Default implementation do nothing.

Parameters
msgis a PreOpenPriceIndicator message structure.
msgInfoinformation about this particular message.

◆ onRfq()

virtual void onRfq ( const Rfq & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about RFQ Message.

Default implementation do nothing.

Parameters
msgis a Rfq message structure.
msgInfoinformation about this particular message.

◆ onSettlementPrice()

virtual void onSettlementPrice ( const SettlementPrice & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Settlement Price Message.

Default implementation do nothing.

Parameters
msgis a SettlementPrice message structure.
msgInfoinformation about this particular message.

◆ onSpecialField()

virtual void onSpecialField ( const SpecialField & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Special Field Message.

Default implementation do nothing.

Parameters
msgis a SpecialField message structure.
msgInfoinformation about this particular message.

◆ onSpotMarketTrade()

virtual void onSpotMarketTrade ( const SpotMarketTrade & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Spot Market Trade Message.

Default implementation do nothing.

Parameters
msgis a SpotMarketTrade message structure.
msgInfoinformation about this particular message.

◆ onStripInfo()

virtual void onStripInfo ( const StripInfo & msg)
virtual

Implement this member to get notified about Strip Info Message.

Default implementation do nothing.

Parameters
msgis a StripInfo message structure.

◆ onSystemText()

virtual void onSystemText ( const SystemText & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about System Text Message.

Default implementation do nothing.

Parameters
msgis a SystemText message structure.
msgInfoinformation about this particular message.

◆ onTrade()

virtual void onTrade ( const Trade & msg,
const MessageInfo & msgInfo )
virtual

Implement this member to get notified about Trade Message.

Default implementation do nothing.

Parameters
msgis a Trade message structure.
msgInfoinformation about this particular message.