884 lines
22 KiB
C++
884 lines
22 KiB
C++
/**
|
|
* \file
|
|
* \brief Declare ICE iMpact enumerations
|
|
*/
|
|
/*
|
|
* Copyright (c) 2005-2016 Onix Solutions Limited. All rights reserved.
|
|
*
|
|
* This software owned by Onix Solutions Limited and is protected by copyright law
|
|
* and international copyright treaties.
|
|
*
|
|
* Access to and use of the software is governed by the terms of the applicable ONIXS Software
|
|
* Services Agreement (the Agreement) and Customer end user license agreements granting
|
|
* a non-assignable, non-transferable and non-exclusive license to use the software
|
|
* for it's own data processing purposes under the terms defined in the Agreement.
|
|
*
|
|
* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
|
|
* of this source code or associated reference material to any other location for further reproduction
|
|
* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
|
|
*
|
|
* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ostream>
|
|
#include <string>
|
|
#include <OnixS/ICE/iMpact/MarketData/ABI.h>
|
|
#include <OnixS/ICE/iMpact/MarketData/Types.h>
|
|
|
|
namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
|
|
|
|
/// Trading side constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API Side
|
|
{
|
|
/// \copydoc Side
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Bid side.
|
|
Bid = '1',
|
|
/// Offer side.
|
|
Offer = '2'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Aggressor side constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API AggressorSide
|
|
{
|
|
/// \copydoc AggressorSide
|
|
enum Enum
|
|
{
|
|
/// No aggressor.
|
|
NoAggressor = ' ',
|
|
/// Buy side.
|
|
Buy = '1',
|
|
/// Sell side.
|
|
Sell = '2'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Security type constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API SecurityType
|
|
{
|
|
/// \copydoc SecurityType
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Futures/OTC.
|
|
Futures = 'F',
|
|
/// Options.
|
|
Options = 'O',
|
|
/// UDS Options markets.
|
|
UdsOptionsMarkets = 'U',
|
|
/// UDS Futures markets.
|
|
UdsFuturesMarkets = 'D'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Settlement type constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API SettlementType
|
|
{
|
|
/// \copydoc SettlementType
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Financial.
|
|
Financial = '0',
|
|
/// Physical.
|
|
Physical = '1'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Option type constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API OptionType
|
|
{
|
|
/// \copydoc OptionType
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Call.
|
|
Call = 'C',
|
|
/// Put.
|
|
Put = 'P'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Option settlement type constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API OptionsStyle
|
|
{
|
|
/// \copydoc OptionsStyle
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// American.
|
|
American = 'A',
|
|
/// European.
|
|
European = 'E',
|
|
/// None.
|
|
None = '0',
|
|
/// Asian.
|
|
Asian = '3',
|
|
/// One time.
|
|
OneTime = '4'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Option expiration type constants.
|
|
struct ONIXS_ICE_IMPACT_MD_API OptionsExpirationType
|
|
{
|
|
/// \copydoc OptionsExpirationType
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Monthly.
|
|
Monthly = 'M',
|
|
/// Daily.
|
|
Daily = 'D'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Defines known trade investigation statuses.
|
|
struct ONIXS_ICE_IMPACT_MD_API TradeInvestigationStatus
|
|
{
|
|
/// \copydoc TradeInvestigationStatus
|
|
enum Enum
|
|
{
|
|
/// Investigation status is not defined yet.
|
|
Undefined = ' ',
|
|
/// Trade is under investigation.
|
|
UnderInvestigation = '1',
|
|
/// Trade investigation is completed.
|
|
InvestigationCompleted = '2'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known types of block trade.
|
|
struct ONIXS_ICE_IMPACT_MD_API OffMarketTradeType
|
|
{
|
|
/// \copydoc OffMarketTradeType
|
|
enum Enum
|
|
{
|
|
/// Regular trade is an order book trade. When someone sends a buy order
|
|
/// and a sell order with a matching price, that is a regular trade.
|
|
Regular = ' ',
|
|
/// ICE EFRP.
|
|
IceEfrp = '2',
|
|
/// ICE BLK.
|
|
IceBlk = '3',
|
|
/// Basis Trade.
|
|
Basis = '4',
|
|
/// Guaranteed Cross.
|
|
GuaranteedCross = '5',
|
|
/// Volatility Contingent Trade.
|
|
VolatilityContingent = '6',
|
|
/// Stock Contingent Trade.
|
|
StockContingent = '7',
|
|
/// CCX EFP Trade.
|
|
CxcEfp = '9',
|
|
/// Other Clearing Venue.
|
|
OtherClearingVenue = 'A',
|
|
/// N2EX Trade.
|
|
N2ex = 'D',
|
|
/// EFP Trade.
|
|
Efp = 'E',
|
|
/// EEX Trade.
|
|
Eex = 'G',
|
|
/// EFP/EFS Contra Trade.
|
|
EfpEfsContra = 'F',
|
|
/// EFM Trade.
|
|
Efm = 'I',
|
|
/// EFR Trade.
|
|
Efr = 'J',
|
|
/// Block Trade.
|
|
Block = 'K',
|
|
/// NG EFP/EFS Trade.
|
|
NgEfpEfs = 'O',
|
|
/// EOO Trade (for US Futures Options only).
|
|
Eoo = 'Q',
|
|
/// EFS Trade.
|
|
Efs = 'S',
|
|
/// Contra Trade.
|
|
Contra = 'T',
|
|
/// CPBLK Trade.
|
|
Cpblk = 'U',
|
|
/// Bilateral Off-Exchange Trade.
|
|
BilateralOffExchange = 'V',
|
|
/// Bilateral Cross Contra Trade.
|
|
BilateralCrossContra = 'Y',
|
|
/// Asset Allocation (AA).
|
|
AssetAllocation = 16705
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Extra flags for trade message.
|
|
struct ONIXS_ICE_IMPACT_MD_API TradeExtraFlags
|
|
{
|
|
/// \copydoc TradeExtraFlags
|
|
enum Enum
|
|
{
|
|
/// No special flags.
|
|
None = 0,
|
|
/// Indicates this is a RFC Crossing Deal.
|
|
isRfcCrossing = 1,
|
|
/// Indicates the deal is outside of IPL (when IPL is enabled) if set to
|
|
/// 1. When set to 1, such deal should not be included in market stats.
|
|
/// This could only happen in leg markets due to implied orders.
|
|
isLegDealOutsideIPL = 2,
|
|
/// Indicate that the originator side of the deal resulted from
|
|
/// implied order if set to 1. This field should not be used to
|
|
/// determine how market statistics are calculated.
|
|
isImplied = 4,
|
|
/// Indicates if the trade is a system priced leg from a composite
|
|
/// strategy.
|
|
isVerticalSplit = 8
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Extra flags for Add/Modify Order message.
|
|
struct ONIXS_ICE_IMPACT_MD_API AddModifyOrderExtraFlags
|
|
{
|
|
/// \copydoc AddModifyOrderExtraFlags
|
|
enum Enum
|
|
{
|
|
/// No special flags.
|
|
None = 0,
|
|
/// Indicate this is to Modify existing order.
|
|
isModifyOrder = 1
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known trading statuses.
|
|
struct ONIXS_ICE_IMPACT_MD_API TradingStatus
|
|
{
|
|
/// \copydoc TradingStatus
|
|
enum Enum
|
|
{
|
|
/// Trading status is not defined.
|
|
Undefined = ' ',
|
|
/// Trading is open.
|
|
Open = 'O',
|
|
/// Trading is closed.
|
|
Close = 'C',
|
|
/// Trading is expired.
|
|
Expired = 'E',
|
|
/// Trading is about to be opened.
|
|
PreOpen = '1',
|
|
/// Trading is about to be closed.
|
|
PreClose = '2',
|
|
/// Trading is suspended.
|
|
Suspended = 'S'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known market event types.
|
|
struct ONIXS_ICE_IMPACT_MD_API MarketEventType
|
|
{
|
|
/// \copydoc MarketEventType
|
|
enum Enum
|
|
{
|
|
/// Market event type is not defined.
|
|
Undefined = ' ',
|
|
/// Implication Disabled for the Market.
|
|
ImplicationDisabled = 'A'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known marker index prices statuses.
|
|
struct ONIXS_ICE_IMPACT_MD_API MarkerIndexPricesStatus
|
|
{
|
|
/// \copydoc MarkerIndexPricesStatus
|
|
enum Enum
|
|
{
|
|
/// For non-Endex Spot markets.
|
|
Undefined = ' ',
|
|
/// Current.
|
|
Current = 'C',
|
|
/// Default.
|
|
Default = 'D',
|
|
/// Final.
|
|
Final = 'F'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known message bundle markers.
|
|
struct ONIXS_ICE_IMPACT_MD_API StartOrEnd
|
|
{
|
|
/// \copydoc StartOrEnd
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Start of a message bundle.
|
|
Start = 'S',
|
|
/// End of a message bundle.
|
|
End = 'E'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known event codes.
|
|
struct ONIXS_ICE_IMPACT_MD_API EventCode
|
|
{
|
|
/// \copydoc EventCode
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Normal trade.
|
|
NormalTrade = '0',
|
|
/// Cancelled trade.
|
|
CancelledTrade = '1',
|
|
/// Adjusted trade.
|
|
AdjustedTrade = '2'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known IPL bound violation types.
|
|
struct ONIXS_ICE_IMPACT_MD_API IPLBoundViolation
|
|
{
|
|
/// \copydoc IPLBoundViolation
|
|
enum Enum
|
|
{
|
|
/// N/A when end of hold.
|
|
Undefined = ' ',
|
|
/// IPL Upper bound violation (Bidding too high).
|
|
BiddingTooHigh = 'Y',
|
|
/// IPL Lower bound violation (Asking too low).
|
|
AskingTooLow = 'N'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known types of system priced legs.
|
|
struct ONIXS_ICE_IMPACT_MD_API SystemPricedLegType
|
|
{
|
|
/// \copydoc SystemPricedLegType
|
|
enum Enum
|
|
{
|
|
/// Undefined type.
|
|
Undefined = ' ',
|
|
/// Identifies system priced crack spread leg.
|
|
SpreadLeg = 'C',
|
|
/// Identifies system priced leg.
|
|
Leg = 'S'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Known security sub types.
|
|
struct ONIXS_ICE_IMPACT_MD_API SecuritySubType
|
|
{
|
|
/// \copydoc SecuritySubType
|
|
enum Enum
|
|
{
|
|
/// None.
|
|
NONE = 0,
|
|
/// Call.
|
|
CALL = 1,
|
|
/// Put.
|
|
PUT = 2,
|
|
/// Futures Butterfly.
|
|
FFLY = 3,
|
|
/// Call Butterfly.
|
|
CALLFLY = 4,
|
|
/// Put Butterfly.
|
|
PUTFLY = 5,
|
|
/// Call Spread.
|
|
CALLSPR = 6,
|
|
/// Put Spread.
|
|
PUTSPR = 7,
|
|
/// Diagonal Call Spread.
|
|
CALLDIAGSP = 9,
|
|
/// Diagonal Put Spread.
|
|
PUTDIAGSP = 10,
|
|
/// Gut Strangle.
|
|
GUT = 11,
|
|
/// 1x2 Call Spread (to the 2).
|
|
RATIOCSPR = 12,
|
|
/// 1x2 Put Spread (to the 2).
|
|
RATIOPSPR = 13,
|
|
/// Iron Butterfly.
|
|
IFLY = 14,
|
|
/// Cleared Combo.
|
|
COMBO = 15,
|
|
/// Strangle.
|
|
STRANGLE = 16,
|
|
/// Call Ladder (tree).
|
|
CALLLADR = 17,
|
|
/// Put Ladder (tree).
|
|
PUTLADR = 18,
|
|
/// Straddle Spread.
|
|
CALSTRD = 19,
|
|
/// Reversal/Conversion (to the Call).
|
|
REVCON = 21,
|
|
/// Straddle.
|
|
STRADDLE = 22,
|
|
/// Futures Condor.
|
|
FCONDR = 23,
|
|
/// Call Condor.
|
|
CALLCONDR = 24,
|
|
/// Put Condor.
|
|
PUTCONDR = 25,
|
|
/// Box.
|
|
BOX = 26,
|
|
/// Synthetic Underlying.
|
|
SYN = 33,
|
|
/// Call Spread vs Put : 3 way.
|
|
CALLSPRP = 34,
|
|
/// Put Spread vs Call : 3 way.
|
|
PUTSPRC = 35,
|
|
/// Straddle vs Call : 3 way.
|
|
CALL3WAY = 36,
|
|
/// Straddle vs Put : 3 way.
|
|
PUT3WAY = 37,
|
|
/// Call Calendar Spread.
|
|
CALLCALSPR = 38,
|
|
/// Put Calendar Spread.
|
|
PUTCALSPR = 39,
|
|
/// Iron Condor.
|
|
ICONDR = 40,
|
|
/// Jelly Roll.
|
|
JROLL = 41,
|
|
/// Hedged 1x2 Call Spread (to the 2).
|
|
RATIOCSPRX = 42,
|
|
/// Hedged 1x2 Put Spread (to the 2).
|
|
RATIOPSPRX = 43,
|
|
/// Call Spread versus Sell Put - Hedge.
|
|
SPRVSPX = 44,
|
|
/// Put Spread versus Sell Call + Hedge.
|
|
SPRVSCX = 45,
|
|
/// Hedged Call Calendar.
|
|
CALLCALX = 46,
|
|
/// Hedged Put Calendar.
|
|
PUTCALX = 47,
|
|
/// Hedged Call Ladder (tree).
|
|
CALLLADRX = 48,
|
|
/// Hedged Put Ladder (tree).
|
|
PUTLADRX = 49,
|
|
/// Hedged Call Spread.
|
|
CALLSPRX = 50,
|
|
/// Hedged Put Spread.
|
|
PUTSPRX = 51,
|
|
/// Hedged Straddle.
|
|
STRDX = 53,
|
|
/// Hedged Strangle.
|
|
STRGX = 54,
|
|
/// Hedged Call.
|
|
CALLX = 55,
|
|
/// Hedged Put.
|
|
PUTX = 56,
|
|
/// Custom.
|
|
CUST = 58,
|
|
/// Hedged Straddle Spread.
|
|
CALSTRDX = 59,
|
|
/// Hedged Call Condor.
|
|
CCONDRX = 60,
|
|
/// Hedged Put Condor.
|
|
PCONDRX = 61,
|
|
/// Hedged Diagonal Call Spread.
|
|
CDIAGX = 63,
|
|
/// Hedged Diagonal Put Spread.
|
|
PDIAGX = 64,
|
|
/// Hedged Call Butterlfy.
|
|
CFLYX = 65,
|
|
/// Hedged Put Butterlfy.
|
|
PFLYX = 66,
|
|
/// Hedged Guts Strangle.
|
|
GUTX = 67,
|
|
/// Hedged Iron Condor.
|
|
ICONDRX = 68,
|
|
/// Hedged Iron Butterfly.
|
|
IFLYX = 69,
|
|
/// Fence (to the call).
|
|
FENCECALL = 70,
|
|
/// Fence (to the put).
|
|
FENCEPUT = 71,
|
|
/// Hedged Fence (to the call).
|
|
FENCECALLX = 72,
|
|
/// Hedged Fence (to the put).
|
|
FENCEPUTX = 73,
|
|
/// 1x2 Call Spread (to the 1).
|
|
RATIOCSPR1 = 74,
|
|
/// 1x2 Put Spread (to the 1).
|
|
RATIOPSPR1 = 75,
|
|
/// Hedged 1x2 Call Spread (to the 1).
|
|
RATIOCSPR1X = 76,
|
|
/// Hedged 1x2 Put Spread (to the 1).
|
|
RATIOPSPR1X = 77,
|
|
/// Discount Spreads.
|
|
DISCSPR = 88,
|
|
/// Location Spreads.
|
|
LOCSPR = 89,
|
|
/// Platts Diff Spread.
|
|
PLATDIFSPR = 90,
|
|
/// Platts Spread.
|
|
PLATTSPR = 91,
|
|
/// OTC Gas Oil Crack.
|
|
OILCRACK = 92,
|
|
/// Balmo over Month.
|
|
BALMOSPR = 93,
|
|
/// Ratio Spread.
|
|
RATIOSPR = 94,
|
|
/// Volumetric Spread.
|
|
VOLSPR = 95,
|
|
/// Heat Rate.
|
|
HEATRATE = 96,
|
|
/// CRACK Spread.
|
|
CRACK = 97,
|
|
/// Combo Spread.
|
|
COMBOSPR = 98,
|
|
/// Spread S.
|
|
SPR = 99,
|
|
/// Pack(no color).
|
|
PACK = 100,
|
|
/// Pack (White).
|
|
WHTPACK = 101,
|
|
/// Pack (Red).
|
|
REDPACK = 102,
|
|
/// Pack (Green).
|
|
GRNPACK = 103,
|
|
/// Pack (Blue).
|
|
BLUPACK = 104,
|
|
/// Pack (Gold).
|
|
GLDPACK = 105,
|
|
/// Pack (Purple).
|
|
PURPACK = 106,
|
|
/// Pack (Orange).
|
|
ORNPACK = 107,
|
|
/// Pack (Pink).
|
|
PNKPACK = 108,
|
|
/// Pack (Silver).
|
|
SILPACK = 109,
|
|
/// Pack (Copper).
|
|
COPPACK = 110,
|
|
/// Call Location Spread.
|
|
CALLLOCSPR = 138,
|
|
/// Put Location Spread.
|
|
PUTLOCSPR = 139,
|
|
/// Hedged Call Location Spread.
|
|
CALLLOCSPRX = 140,
|
|
/// Hedged Put Location Spread.
|
|
PUTLOCSPRX = 141,
|
|
/// Bundle (no color).
|
|
BNDL = 200,
|
|
/// Bundle (2yr).
|
|
BNDLY2 = 201,
|
|
/// Bundle (3yr).
|
|
BNDLY3 = 202,
|
|
/// Bundle (4yr).
|
|
BNDLY4 = 203,
|
|
/// Bundle (5yr).
|
|
BNDLY5 = 204,
|
|
/// Bundle (6yr).
|
|
BNDLY6 = 205,
|
|
/// Bundle (7yr).
|
|
BNDLY7 = 206,
|
|
/// Bundle (8yr).
|
|
BNDLY8 = 207,
|
|
/// Bundle (9yr).
|
|
BNDLY9 = 208,
|
|
/// Bundle (10yr).
|
|
BNDLY10 = 209,
|
|
/// Location basket - month.
|
|
LOCBMONTH = 300,
|
|
/// Location basket - quarter.
|
|
LOCBQUARTER = 301,
|
|
/// Location basket - period.
|
|
LOCBPERIOD = 302,
|
|
/// Location basket - year.
|
|
LOCBYEAR = 303,
|
|
/// Balmo.
|
|
BALMO = 400,
|
|
/// Next Day.
|
|
NEXTDAY = 410,
|
|
/// CFD.
|
|
CFD = 411,
|
|
/// Weekend.
|
|
WKND = 412,
|
|
/// Single Day.
|
|
SINGLEDAY = 413,
|
|
/// Custom Daily.
|
|
CUSTDAILY = 414,
|
|
/// Hourly.
|
|
HOURLY = 415,
|
|
/// Month.
|
|
MONTH = 416,
|
|
/// Balweek.
|
|
BALWK = 450,
|
|
/// Basket.
|
|
KYOTO = 500,
|
|
/// Custom Monthly.
|
|
CUSTMONTHLY = 550,
|
|
/// NextWeek.
|
|
NEXTWK = 600,
|
|
/// Period.
|
|
PERIOD = 700,
|
|
/// Custom Daily CFD.
|
|
CUSTDAILYCFD = 711,
|
|
/// Custom Daily 7X8.
|
|
CUSTDAILY7X8 = 712,
|
|
/// Custom Daily 7X16.
|
|
CUSTDAILY7X16 = 713,
|
|
/// Custom Daily 7X6.
|
|
CUSTDAILY7X6 = 714,
|
|
/// Custom Daily Off-Peak X16.
|
|
CUSTDAILYOPX16 = 715,
|
|
/// Quarter.
|
|
QTR = 800,
|
|
/// Year.
|
|
YEAR = 900
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Exchange silo code for the market.
|
|
struct ONIXS_ICE_IMPACT_MD_API ExchangeSilo
|
|
{
|
|
/// \copydoc ExchangeSilo
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// ICE.
|
|
ICE = '0',
|
|
/// Endex.
|
|
Endex = '1',
|
|
/// Liffe.
|
|
LIFFE = '2'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Indicates Strategy Publication Preference.
|
|
struct ONIXS_ICE_IMPACT_MD_API StrategyPreference
|
|
{
|
|
/// \copydoc StrategyPreference
|
|
enum Enum
|
|
{
|
|
/// Legacy Strategy Information (Default if not sent).
|
|
Legacy = '0',
|
|
/// New Strategy Information.
|
|
New = '1'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Fixing Transition Status.
|
|
struct ONIXS_ICE_IMPACT_MD_API FixingTransitionStatus
|
|
{
|
|
/// \copydoc FixingTransitionStatus
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Closed.
|
|
Closed = 'C',
|
|
/// Preopen.
|
|
Preopen = 'P',
|
|
/// Lockdown.
|
|
Lockdown = 'L'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Block Type.
|
|
struct ONIXS_ICE_IMPACT_MD_API BlockType
|
|
{
|
|
/// \copydoc BlockType
|
|
enum Enum
|
|
{
|
|
/// Undefined.
|
|
Undefined = ' ',
|
|
/// Regular.
|
|
Regular = '0',
|
|
/// Private and Confidential.
|
|
PrivateAndConfidential = '1',
|
|
/// Delayed Publication.
|
|
DelayedPublication = '2',
|
|
/// Large In Scale (LIS).
|
|
LargeInScale = '3'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Market Transparency Type.
|
|
struct ONIXS_ICE_IMPACT_MD_API MarketTransparencyType
|
|
{
|
|
/// \copydoc MarketTransparencyType
|
|
enum Enum
|
|
{
|
|
/// ICE market.
|
|
ICE = 0,
|
|
/// Platts market.
|
|
Platts = 1
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
/// Multicast Channel Group Type.
|
|
struct ONIXS_ICE_IMPACT_MD_API MulticastChannelGroupType
|
|
{
|
|
/// \copydoc MulticastChannelGroupType
|
|
enum Enum
|
|
{
|
|
/// Futures Regular.
|
|
FuturesRegular = '1',
|
|
/// Futures Full Implied.
|
|
FuturesFullImplied = '2',
|
|
/// Options TOB.
|
|
OptionsTOB = '3',
|
|
/// Options Top10PL.
|
|
OptionsTop10PL = '4'
|
|
};
|
|
|
|
/// Deserializes constant from string representation.
|
|
static Enum deserialize(const char*);
|
|
|
|
/// Returns string representation.
|
|
static const char* toString(Enum);
|
|
};
|
|
|
|
}}}} // namespace MarketData, iMpact, ICE, OnixS
|