OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
ExchangeListener.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) Onix Solutions Limited. All rights reserved.
7 *
8 * This software owned by Onix Solutions Limited and is protected by copyright law
9 * and international copyright treaties.
10 *
11 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
12 * Services Agreement (the Agreement) and Customer end user license agreements granting
13 * a non-assignable, non-transferable and non-exclusive license to use the software
14 * for it's own data processing purposes under the terms defined in the Agreement.
15 *
16 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
17 * of this source code or associated reference material to any other location for further reproduction
18 * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
19 *
20 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
21 * the terms of the Agreement is a violation of copyright law.
22 */
23
24#pragma once
25
26#include "Export.h"
27#include "MessageInfo.h"
28#include "MessagesFwd.h"
29
30namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
31
34class ONIXS_ICEMDH_EXPORT ExchangeListener
35{
36public:
37 virtual ~ExchangeListener() {}
38
40
42
49 virtual void onAddModifyOrder(const AddModifyOrder& msg, const MessageInfo& msgInfo);
50
57 virtual void onAddPriceLevel(const AddPriceLevel& msg, const MessageInfo& msgInfo);
58
65 virtual void onBundleMarker(const BundleMarker& msg, const MessageInfo& msgInfo);
66
73 virtual void onCancelledTrade(const CancelledTrade& msg, const MessageInfo& msgInfo);
74
81 virtual void onChangePriceLevel(const ChangePriceLevel& msg, const MessageInfo& msgInfo);
82
89 virtual void onClosePrice(const ClosePrice& msg, const MessageInfo& msgInfo);
90
97 virtual void onDeleteOrder(const DeleteOrder& msg, const MessageInfo& msgInfo);
98
105 virtual void onDeletePriceLevel(const DeletePriceLevel& msg, const MessageInfo& msgInfo);
106
113 virtual void onEndOfDayMarketSummary(const EndOfDayMarketSummary& msg, const MessageInfo& msgInfo);
114
121 virtual void onFixingIndicativePrice(const FixingIndicativePrice& msg, const MessageInfo& msgInfo);
122
129 virtual void onFixingLockdown(const FixingLockdown& msg, const MessageInfo& msgInfo);
130
137 virtual void onFixingTransition(const FixingTransition& msg, const MessageInfo& msgInfo);
138
146 virtual void onFuturesProductDefinition(const FuturesProductDefinition& msg, bool& isInterested);
147
155 virtual void onFuturesStrategyDefinition(const FuturesStrategyDefinition& msg, bool& isInterested);
156
165 const MessageInfo& msgInfo
166 );
167
174 virtual void onInvestigatedTrade(const InvestigatedTrade& msg, const MessageInfo& msgInfo);
175
181 virtual void onLoginResponse(const LoginResponse& msg);
182
189 virtual void onMarkerIndexPrices(const MarkerIndexPrices& msg, const MessageInfo& msgInfo);
190
197 virtual void onMarketEvent(const MarketEvent& msg, const MessageInfo& msgInfo);
198
205 virtual void onMarketSnapshot(const MarketSnapshot& msg, const MessageInfo& msgInfo);
206
213 virtual void onMarketSnapshotOrder(const MarketSnapshotOrder& msg, const MessageInfo& msgInfo);
214
221 virtual void onMarketSnapshotPriceLevel(const MarketSnapshotPriceLevel& msg, const MessageInfo& msgInfo);
222
229 virtual void onMarketStateChange(const MarketStateChange& msg, const MessageInfo& msgInfo);
230
237 virtual void onMarketStatistics(const MarketStatistics& msg, const MessageInfo& msgInfo);
238
247 virtual void onNewExpiry(const NewExpiry& msg, bool& isInterested, const MessageInfo& msgInfo);
248
259 bool& isInterested,
260 const MessageInfo& msgInfo
261 );
262
273 bool& isInterested,
274 const MessageInfo& msgInfo
275 );
276
287 bool& isInterested,
288 const MessageInfo& msgInfo
289 );
290
299 const MessageInfo& msgInfo
300 );
301
308 virtual void onOpenInterest(const OpenInterest& msg, const MessageInfo& msgInfo);
309
316 virtual void onOpenPrice(const OpenPrice& msg, const MessageInfo& msgInfo);
317
324 virtual void onOptionOpenInterest(const OptionOpenInterest& msg, const MessageInfo& msgInfo);
325
332 virtual void onOptionSettlementPrice(const OptionSettlementPrice& msg, const MessageInfo& msgInfo);
333
341 virtual void onOptionsProductDefinition(const OptionsProductDefinition& msg, bool& isInterested);
342
350 virtual void onOptionsStrategyDefinition(const OptionsStrategyDefinition& msg, bool& isInterested);
351
358 virtual void onPreOpenPriceIndicator(const PreOpenPriceIndicator& msg, const MessageInfo& msgInfo);
359
366 virtual void onRfq(const Rfq& msg, const MessageInfo& msgInfo);
367
374 virtual void onSettlementPrice(const SettlementPrice& msg, const MessageInfo& msgInfo);
375
382 virtual void onSpecialField(const SpecialField& msg, const MessageInfo& msgInfo);
383
390 virtual void onSpotMarketTrade(const SpotMarketTrade& msg, const MessageInfo& msgInfo);
391
397 virtual void onStripInfo(const StripInfo& msg);
398
405 virtual void onSystemText(const SystemText& msg, const MessageInfo& msgInfo);
406
413 virtual void onTrade(const Trade& msg, const MessageInfo& msgInfo);
414
416};
417
418}}}} // namespace OnixS::ICE::iMpact::MarketData
Forward declarations of all ICE iMpact messages.
Defines an interface through which the Handler notifies subscribers about all received messages.
virtual void onCancelledTrade(const CancelledTrade &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Cancelled Trade Message.
virtual void onSpotMarketTrade(const SpotMarketTrade &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Spot Market Trade Message.
virtual void onSpecialField(const SpecialField &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Special Field Message.
virtual void onOldStyleOptionsTradeAndMarketStats(const OldStyleOptionsTradeAndMarketStats &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Old Style Options Trade and Market Stats Message.
virtual void onRfq(const Rfq &msg, const MessageInfo &msgInfo)
Implement this member to get notified about RFQ Message.
virtual void onFixingTransition(const FixingTransition &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Fixing Transition Message.
virtual void onFixingIndicativePrice(const FixingIndicativePrice &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Fixing Indicative Price Message.
virtual void onClosePrice(const ClosePrice &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Close Price Message.
virtual void onNewOptionsMarketDefinition(const NewOptionsMarketDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
Implement this member to get notified about New Options Market Definition Message.
virtual void onAddModifyOrder(const AddModifyOrder &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Add/Modify Order Message.
virtual void onDeleteOrder(const DeleteOrder &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Delete Order Message.
virtual void onOptionOpenInterest(const OptionOpenInterest &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Option Open Interest Message.
virtual void onChangePriceLevel(const ChangePriceLevel &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Change Price Level Message.
virtual void onNewFuturesStrategyDefinition(const NewFuturesStrategyDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
Implement this member to get notified about New Futures Strategy Definition Message.
virtual void onLoginResponse(const LoginResponse &msg)
Implement this member to get notified about Login Response Message.
virtual void onDeletePriceLevel(const DeletePriceLevel &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Delete Price Level Message.
virtual void onOpenPrice(const OpenPrice &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Open Price Message.
virtual void onNewExpiry(const NewExpiry &msg, bool &isInterested, const MessageInfo &msgInfo)
Implement this member to get notified about New Expiry Message.
virtual void onMarkerIndexPrices(const MarkerIndexPrices &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Marker/Index Prices Message.
virtual void onIntervalTieredPriceLimitNotification(const IntervalTieredPriceLimitNotification &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Interval/Tiered Price Limit Notification Message.
virtual void onFuturesProductDefinition(const FuturesProductDefinition &msg, bool &isInterested)
Implement this member to get notified about Futures/OTC Product Definition Response Message.
virtual void onMarketSnapshotPriceLevel(const MarketSnapshotPriceLevel &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market Snapshot Price Level Message.
virtual void onFuturesStrategyDefinition(const FuturesStrategyDefinition &msg, bool &isInterested)
Implement this member to get notified about Futures Strategy Definition Response Message.
virtual void onMarketEvent(const MarketEvent &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market Event Message.
virtual void onOpenInterest(const OpenInterest &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Open Interest Message.
virtual void onMarketSnapshotOrder(const MarketSnapshotOrder &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market Snapshot Order Message.
virtual void onMarketStateChange(const MarketStateChange &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market State Change Message.
virtual void onTrade(const Trade &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Trade Message.
virtual void onFixingLockdown(const FixingLockdown &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Fixing Lockdown Message.
virtual void onBundleMarker(const BundleMarker &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Message Bundle Marker.
virtual void onOptionsProductDefinition(const OptionsProductDefinition &msg, bool &isInterested)
Implement this member to get notified about Options Product Definition Message.
virtual void onSettlementPrice(const SettlementPrice &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Settlement Price Message.
virtual void onMarketSnapshot(const MarketSnapshot &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market Snapshot Message.
virtual void onMarketStatistics(const MarketStatistics &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Market Statistics Message.
virtual void onSystemText(const SystemText &msg, const MessageInfo &msgInfo)
Implement this member to get notified about System Text Message.
virtual void onOptionSettlementPrice(const OptionSettlementPrice &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Option Settlement Price Message.
virtual void onEndOfDayMarketSummary(const EndOfDayMarketSummary &msg, const MessageInfo &msgInfo)
Implement this member to get notified about End of Day Market Summary Message.
virtual void onNewOptionsStrategyDefinition(const NewOptionsStrategyDefinition &msg, bool &isInterested, const MessageInfo &msgInfo)
Implement this member to get notified about New Options Strategy Definition Message.
virtual void onOptionsStrategyDefinition(const OptionsStrategyDefinition &msg, bool &isInterested)
Implement this member to get notified about Options Strategy Definition Message.
virtual void onInvestigatedTrade(const InvestigatedTrade &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Investigated Trade Message.
virtual void onStripInfo(const StripInfo &msg)
Implement this member to get notified about Strip Info Message.
virtual void onPreOpenPriceIndicator(const PreOpenPriceIndicator &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Pre-Open Price Indicator Message.
virtual void onAddPriceLevel(const AddPriceLevel &msg, const MessageInfo &msgInfo)
Implement this member to get notified about Add Price Level Message.
This class represents the Add/Modify Order Message.
This class represents the Add Price Level Message.
This class represents the Message Bundle Marker.
This class represents the Cancelled Trade Message.
This class represents the Change Price Level Message.
This class represents the Close Price Message.
Definition ClosePrice.h:36
This class represents the Delete Order Message.
Definition DeleteOrder.h:36
This class represents the Delete Price Level Message.
This class represents the End of Day Market Summary Message.
This class represents the Fixing Indicative Price Message.
This class represents the Fixing Lockdown Message.
This class represents the Fixing Transition Message.
This class represents the Futures/OTC Product Definition Response Message.
This class represents the Futures Strategy Definition Response Message.
This class represents the Interval/Tiered Price Limit Notification Message.
This class represents the Investigated Trade Message.
This class represents the Login Response Message.
This class represents the Marker/Index Prices Message.
This class represents the Market Event Message.
Definition MarketEvent.h:37
This class represents the Market Snapshot Order Message.
This class represents the Market Snapshot Price Level Message.
This class represents the Market Snapshot Message.
This class represents the Market State Change Message.
This class represents the Market Statistics Message.
This class represents the New Expiry Message.
Definition NewExpiry.h:37
This class represents the New Futures Strategy Definition Message.
This class represents the New Options Market Definition Message.
This class represents the New Options Strategy Definition Message.
This class represents the Old Style Options Trade and Market Stats Message.
This class represents the Open Interest Message.
This class represents the Open Price Message.
Definition OpenPrice.h:36
This class represents the Option Open Interest Message.
This class represents the Option Settlement Price Message.
This class represents the Options Product Definition Message.
This class represents the Options Strategy Definition Message.
This class represents the Pre-Open Price Indicator Message.
This class represents the RFQ Message.
Definition Rfq.h:37
This class represents the Settlement Price Message.
This class represents the Special Field Message.
This class represents the Spot Market Trade Message.
This class represents the Strip Info Message.
Definition StripInfo.h:36
This class represents the System Text Message.
Definition SystemText.h:36
This class represents the Trade Message.
Definition Trade.h:37