OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.20.0
Users' manual and API documentation
Loading...
Searching...
No Matches
Enumerations.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 "Types.h"
28
29#include <ostream>
30#include <string>
31
32namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
33
35struct ONIXS_ICEMDH_EXPORT Side
36{
38 enum Enum
39 {
41 Undefined = ' ',
43 Bid = '1',
45 Offer = '2'
46 };
47
49 static Enum deserialize(const char*);
50
52 static const char* toString(Enum);
53};
54
56struct ONIXS_ICEMDH_EXPORT AggressorSide
57{
59 enum Enum
60 {
64 Buy = '1',
66 Sell = '2'
67 };
68
70 static Enum deserialize(const char*);
71
73 static const char* toString(Enum);
74};
75
77struct ONIXS_ICEMDH_EXPORT SecurityType
78{
80 enum Enum
81 {
83 Undefined = ' ',
85 Futures = 'F',
87 Options = 'O',
92 };
93
95 static Enum deserialize(const char*);
96
98 static const char* toString(Enum);
99};
100
102struct ONIXS_ICEMDH_EXPORT BookDepth
103{
105 enum Enum
106 {
108 FOD = 0,
114 TOB = 3
115 };
116
118 static Enum deserialize(const char*);
119
121 static const char* toString(Enum);
122};
123
125struct ONIXS_ICEMDH_EXPORT MarketSubType
126{
128 enum Enum
129 {
134 };
135
137 static Enum deserialize(const char*);
138
140 static const char* toString(Enum);
141};
142
144struct ONIXS_ICEMDH_EXPORT SettlementType
145{
147 enum Enum
148 {
155 };
156
158 static Enum deserialize(const char*);
159
161 static const char* toString(Enum);
162};
163
165struct ONIXS_ICEMDH_EXPORT OptionType
166{
168 enum Enum
169 {
173 Call = 'C',
175 Put = 'P'
176 };
177
179 static Enum deserialize(const char*);
180
182 static const char* toString(Enum);
183};
184
186struct ONIXS_ICEMDH_EXPORT OptionsStyle
187{
189 enum Enum
190 {
194 American = 'A',
196 European = 'E',
198 None = '0',
200 Asian = '3',
203 };
204
206 static Enum deserialize(const char*);
207
209 static const char* toString(Enum);
210};
211
213struct ONIXS_ICEMDH_EXPORT OptionsExpirationType
214{
216 enum Enum
217 {
221 Monthly = 'M',
223 Daily = 'D'
224 };
225
227 static Enum deserialize(const char*);
228
230 static const char* toString(Enum);
231};
232
234struct ONIXS_ICEMDH_EXPORT TradeInvestigationStatus
235{
246
248 static Enum deserialize(const char*);
249
251 static const char* toString(Enum);
252};
253
255struct ONIXS_ICEMDH_EXPORT OffMarketTradeType
256{
258 enum Enum
259 {
262 Regular = ' ',
264 IceEfrp = '2',
266 IceBlk = '3',
268 Basis = '4',
276 CxcEfp = '9',
280 N2ex = 'D',
282 Efp = 'E',
284 Eex = 'G',
288 Efm = 'I',
290 Efr = 'J',
292 Block = 'K',
294 NgEfpEfs = 'O',
296 Eoo = 'Q',
298 Efs = 'S',
300 Contra = 'T',
302 Cpblk = 'U',
311 };
312
314 static Enum deserialize(const char*);
315
317 static const char* toString(Enum);
318};
319
321struct ONIXS_ICEMDH_EXPORT TradeExtraFlags
322{
349
351 static Enum deserialize(const char*);
352
354 static const char* toString(Enum);
355};
356
358struct ONIXS_ICEMDH_EXPORT AddModifyOrderExtraFlags
359{
361 enum Enum
362 {
364 None = 0,
367 };
368
370 static Enum deserialize(const char*);
371
373 static const char* toString(Enum);
374};
375
377struct ONIXS_ICEMDH_EXPORT TradingStatus
378{
380 enum Enum
381 {
385 Open = 'O',
387 Close = 'C',
389 Expired = 'E',
391 PreOpen = '1',
393 PreClose = '2',
399 };
400
402 static Enum deserialize(const char*);
403
405 static const char* toString(Enum);
406};
407
409struct ONIXS_ICEMDH_EXPORT MarketEventType
410{
423
425 static Enum deserialize(const char*);
426
428 static const char* toString(Enum);
429};
430
432struct ONIXS_ICEMDH_EXPORT MarkerIndexPricesStatus
433{
435 enum Enum
436 {
440 Current = 'C',
442 Default = 'D',
444 Final = 'F'
445 };
446
448 static Enum deserialize(const char*);
449
451 static const char* toString(Enum);
452};
453
455struct ONIXS_ICEMDH_EXPORT StartOrEnd
456{
458 enum Enum
459 {
463 Start = 'S',
465 End = 'E'
466 };
467
469 static Enum deserialize(const char*);
470
472 static const char* toString(Enum);
473};
474
476struct ONIXS_ICEMDH_EXPORT EventCode
477{
479 enum Enum
480 {
489 };
490
492 static Enum deserialize(const char*);
493
495 static const char* toString(Enum);
496};
497
499struct ONIXS_ICEMDH_EXPORT IPLBoundViolation
500{
502 enum Enum
503 {
510 };
511
513 static Enum deserialize(const char*);
514
516 static const char* toString(Enum);
517};
518
520struct ONIXS_ICEMDH_EXPORT SystemPricedLegType
521{
523 enum Enum
524 {
530 Leg = 'S'
531 };
532
534 static Enum deserialize(const char*);
535
537 static const char* toString(Enum);
538};
539
541struct ONIXS_ICEMDH_EXPORT SecuritySubType
542{
544 enum Enum
545 {
547 NONE = 0,
549 CALL = 1,
551 PUT = 2,
553 FFLY = 3,
567 GUT = 11,
573 IFLY = 14,
575 COMBO = 15,
585 REVCON = 21,
589 FCONDR = 23,
595 BOX = 26,
597 SYN = 33,
611 ICONDR = 40,
613 JROLL = 41,
635 STRDX = 53,
637 STRGX = 54,
639 CALLX = 55,
641 PUTX = 56,
643 CUST = 58,
651 CDIAGX = 63,
653 PDIAGX = 64,
655 CFLYX = 65,
657 PFLYX = 66,
659 GUTX = 67,
663 IFLYX = 69,
689 LOCSPR = 89,
701 VOLSPR = 95,
705 CRACK = 97,
709 SPR = 99,
711 PACK = 100,
713 WHTPACK = 101,
715 REDPACK = 102,
717 GRNPACK = 103,
719 BLUPACK = 104,
721 GLDPACK = 105,
723 PURPACK = 106,
725 ORNPACK = 107,
727 PNKPACK = 108,
729 SILPACK = 109,
731 COPPACK = 110,
741 FUTBOX = 142,
743 BNDL = 200,
745 BNDLY2 = 201,
747 BNDLY3 = 202,
749 BNDLY4 = 203,
751 BNDLY5 = 204,
753 BNDLY6 = 205,
755 BNDLY7 = 206,
757 BNDLY8 = 207,
759 BNDLY9 = 208,
761 BNDLY10 = 209,
769 LOCBYEAR = 303,
771 BALMO = 400,
773 NEXTDAY = 410,
775 CFD = 411,
777 WKND = 412,
783 HOURLY = 415,
785 MONTH = 416,
787 BALWK = 450,
789 KYOTO = 500,
793 NEXTWK = 600,
795 PERIOD = 700,
805 QTR = 800,
807 YEAR = 900
808 };
809
811 static Enum deserialize(const char*);
812
814 static const char* toString(Enum);
815};
816
818struct ONIXS_ICEMDH_EXPORT LoginResult
819{
821 enum Enum
822 {
824 Success = '0',
830 Other = 'X'
831 };
832
834 static Enum deserialize(const char*);
835
837 static const char* toString(Enum);
838};
839
841struct ONIXS_ICEMDH_EXPORT ExchangeSilo
842{
844 enum Enum
845 {
849 ICE = '0',
851 Endex = '1',
853 LIFFE = '2'
854 };
855
857 static Enum deserialize(const char*);
858
860 static const char* toString(Enum);
861};
862
864struct ONIXS_ICEMDH_EXPORT StrategyPreference
865{
867 enum Enum
868 {
870 Legacy = '0',
872 New = '1'
873 };
874
876 static Enum deserialize(const char*);
877
879 static const char* toString(Enum);
880};
881
883struct ONIXS_ICEMDH_EXPORT FixingTransitionStatus
884{
886 enum Enum
887 {
891 Closed = 'C',
893 Preopen = 'P',
896 };
897
899 static Enum deserialize(const char*);
900
902 static const char* toString(Enum);
903};
904
906struct ONIXS_ICEMDH_EXPORT BlockType
907{
922
924 static Enum deserialize(const char*);
925
927 static const char* toString(Enum);
928};
929
931struct ONIXS_ICEMDH_EXPORT MarketTransparencyType
932{
934 enum Enum
935 {
937 ICE = 0,
940 };
941
943 static Enum deserialize(const char*);
944
946 static const char* toString(Enum);
947};
948
950struct ONIXS_ICEMDH_EXPORT MulticastChannelGroupType
951{
964
966 static Enum deserialize(const char*);
967
969 static const char* toString(Enum);
970};
971
973struct ONIXS_ICEMDH_EXPORT IplTplHoldType
974{
976 enum Enum
977 {
981 Start = 'S',
983 End = 'E'
984 };
985
987 static Enum deserialize(const char*);
988
990 static const char* toString(Enum);
991};
992
994struct ONIXS_ICEMDH_EXPORT IplTplType
995{
997 enum Enum
998 {
1002 IPL = 'I',
1004 TPL = 'T'
1005 };
1006
1008 static Enum deserialize(const char*);
1009
1011 static const char* toString(Enum);
1012};
1013
1015struct ONIXS_ICEMDH_EXPORT KnownMarketTypes
1016{
1018 enum Enum
1019 {
1025 Oil = 2,
1057 Cocoa = 20,
1063 FcojA = 23,
1239 TestIpe = 600,
1248 };
1249
1251 static Enum deserialize(const char*);
1252
1254 static const char* toString(Enum);
1255};
1256
1257}}}} // namespace OnixS::ICE::iMpact::MarketData
Extra flags for Add/Modify Order message.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Extra flags for Add/Modify Order message.
@ isModifyOrder
Indicates modification of an existing order.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ PrivateAndConfidential
Private and Confidential.
Depth of order book constants.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Depth of order book constants.
@ TOB
Top Of Book (Options Only).
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Exchange silo code for the market.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Exchange silo code for the market.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ BiddingTooHigh
IPL Upper bound violation (Bidding too high).
@ AskingTooLow
IPL Lower bound violation (Asking too low).
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ EndexSingleStockOptions
Endex Single Stock Options.
@ MurbanPermianWtiSpread
Murban/Permian WTI Spread.
@ IpeUkElectricityFuturesPeak
IPE UK Electricity Futures Peak.
@ LiffeEquityDerivativesNonUsBased
Liffe Equity Derivatives - Non-US Based.
@ LiffeThreeMonthEuroAndEonia
Liffe Three Month Euro and EONIA.
@ IceRotterdamNewcastleCoalFuturesSpread
ICE Rotterdam/Newcastle Coal Futures Spread.
@ EuFinancialPowerFutures
EU Financial Power Futures.
@ LsGasoilBrentFuturesCrack
LS Gasoil/Brent Futures Crack.
@ IceHeatingOilWtiFuturesCrack
ICE Heating Oil/WTI Futures Crack.
@ OilAbuDhabiDubaiSpread
Oil Abu Dhabi/Dubai Spread.
@ NyhRbobGasolineHeatingOilSpread
NYH (RBOB) Gasoline/Heating Oil Spread.
@ RichardsBayGcNewcastleCoalFuturesSpread
Richards Bay/gC Newcastle Coal Futures Spread.
@ IceRotterdamCoalFutures
ICE Rotterdam Coal Futures.
@ NyhRbobGasolinePermianWtiFuturesCrack
NYH (RBOB) Gasoline/Permian WTI Futures Crack.
@ IceRotterdamRichardsBayCoalFuturesSpread
ICE Rotterdam/Richards Bay Coal Futures Spread.
@ LiffeIndexFuturesUsRestricted
Liffe Index Futures - US Restricted.
@ EuFinancialPowerSpreads
EU Financial Power Spreads.
@ IceRichardsBayCoalFutures
ICE Richards Bay Coal Futures.
@ LiffeIndexFuturesNonUsRestricted
Liffe Index Futures - Non-US Restricted.
@ EnvironmentalIndexFutures
Environmental Index Futures.
@ MurbanOilAbuDhabiSpread
Murban/Oil Abu Dhabi Spread.
@ NyhRbobGasolineLsGasoilFuturesSpread
NYH (RBOB) Gasoline/LS Gasoil Futures Spread.
@ IceNyhRbobGasolineWtiFuturesCrack
ICE NYH (RBOB) Gasoline/WTI Futures Crack.
@ HeatingOilLsGasoilFuturesSpread
Heating Oil/LS Gasoil Futures Spread.
@ IpeUkElectricityFuturesBase
IPE UK Electricity Futures Base.
@ HeatingOilBrentFuturesCrack
Heating Oil/Brent Futures Crack.
@ PermianBrentFuturesSpread
Permian/Brent Futures Spread.
@ NgxPhysicalEnvironmental
NGX Physical Environmental.
@ GcNewcastleFobIndoSubBitCoalFutures
gC Newcastle/FOB Indo sub-bit Coal Futures.
@ EndexSpotMarketIndices
Endex Spot Market Indices.
@ HeatingOilPermianWtiFuturesCrack
Heating Oil/Permian WTI Futures Crack.
@ GermanNaturalGasFutures
German Natural Gas Futures.
@ IceNyhRbobGasolineFutures
ICE NYH (RBOB) Gasoline Futures.
@ PermianWtiFuturesSpread
Permian/WTI Futures Spread.
@ GcNewcastleCoalFutures
gC Newcastle Coal Futures.
@ NyhRbobGasolineBrentFuturesCrack
NYH (RBOB) Gasoline/Brent Futures Crack.
@ LsGasoilPermianWtiFuturesCrack
LS Gasoil/Permian WTI Futures Crack.
@ ItalianNaturalGasFutures
Italian Natural Gas Futures.
@ IceBrentWtiFuturesSpread
ICE Brent-WTI Futures Spread.
@ OilAbuDhabiBrentSpread
Oil Abu Dhabi/Brent Spread.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ Undefined
Market event type is not defined.
@ ImplicationDisabled
Implication Disabled for the Market.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ NonImplied
The enhanced implication technology is disabled.
@ FullImplied
The enhanced implication technology is activated.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ Eoo
EOO Trade (for US Futures Options only).
@ VolatilityContingent
Volatility Contingent Trade.
@ BilateralCrossContra
Bilateral Cross Contra Trade.
@ BilateralOffExchange
Bilateral Off-Exchange Trade.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Option settlement type constants.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Option settlement type constants.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ REVCON
Reversal/Conversion (to the Call).
@ RATIOCSPRX
Hedged 1x2 Call Spread (to the 2).
@ RATIOCSPR1X
Hedged 1x2 Call Spread (to the 1).
@ RATIOPSPR1X
Hedged 1x2 Put Spread (to the 1).
@ CALLLOCSPRX
Hedged Call Location Spread.
@ SPRVSCX
Put Spread versus Sell Call + Hedge.
@ SPRVSPX
Call Spread versus Sell Put - Hedge.
@ INTEREXLOCSTRATEGY
Inter-Exchange Location Strategy.
@ RATIOPSPRX
Hedged 1x2 Put Spread (to the 2).
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Known message bundle markers.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Known message bundle markers.
Indicates Strategy Publication Preference.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Indicates Strategy Publication Preference.
@ Legacy
Legacy Strategy Information (Default if not sent).
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ SpreadLeg
Identifies system priced crack spread leg.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ isRfcCrossing
Indicates this is a RFC Crossing Deal.
Defines known trade investigation statuses.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Defines known trade investigation statuses.
@ Undefined
Investigation status is not defined yet.
@ InvestigationCompleted
Trade investigation is completed.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ Suspended
Trading is suspended. Only supported for IBA Precious Metals markets.
@ Undefined
Trading status is not defined.
@ PreOpen
Trading is about to be opened.
@ PreClose
Trading is about to be closed.
@ Expired
Trading is expired (only used for product/market definition messages).