use chrono_tz::{America, Asia, Australia, Europe, US, UTC};
use super::{FuturesSessionProfile, MarketHoursKey};
use crate::calendar::schedules::ALWAYS_OPEN_RULE;
use crate::calendar::schedules::futures::international::{
ASX_SPI_200_EXTENDED_DST, ASX_SPI_200_ORDER_ENTRY, ASX_SPI_200_REGULAR,
BME_IBEX_ORDER_ENTRY_CURRENT, BME_IBEX_REGULAR_CURRENT, EUREX_CURRENT_EXTENDED,
EUREX_CURRENT_ORDER_ENTRY, EUREX_CURRENT_REGULAR, EUREX_FIXED_INCOME_EXTENDED_CURRENT,
EUREX_FIXED_INCOME_ORDER_ENTRY_CURRENT, EUREX_FIXED_INCOME_REGULAR_CURRENT,
EUREX_SMI_ORDER_ENTRY_CURRENT, EUREX_SMI_REGULAR_CURRENT, EURONEXT_INDEX_FUTURES_REGULAR,
HKEX_INDEX_1630_REGULAR, HKEX_INDEX_AHT_0300_EXTENDED, HKEX_INDEX_PHASE2_ORDER_ENTRY,
ICE_EUROPE_GILTS_ORDER_ENTRY_CURRENT, ICE_EUROPE_GILTS_REGULAR_CURRENT, OANDA_BRENT_REGULAR,
OANDA_CHINA50_EXTENDED, OANDA_FX_REGULAR, OANDA_METALS_REGULAR, OANDA_SINGAPORE30_EXTENDED,
OANDA_TRY_FX_REGULAR, OANDA_US_CONTINUOUS_REGULAR, SGX_CURRENT_EXTENDED,
SGX_CURRENT_ORDER_ENTRY, SGX_CURRENT_REGULAR, SGX_EQUITY_INDEX_CHINA_EXTENDED_CURRENT,
SGX_EQUITY_INDEX_CHINA_ORDER_ENTRY_CURRENT, SGX_EQUITY_INDEX_CHINA_REGULAR_CURRENT,
SGX_EQUITY_INDEX_JAPAN_EXTENDED_CURRENT, SGX_EQUITY_INDEX_JAPAN_ORDER_ENTRY_CURRENT,
SGX_EQUITY_INDEX_JAPAN_REGULAR_CURRENT, SGX_EQUITY_INDEX_NTR_USD_EXTENDED_CURRENT,
SGX_EQUITY_INDEX_NTR_USD_ORDER_ENTRY_CURRENT, SGX_EQUITY_INDEX_NTR_USD_REGULAR_CURRENT,
SGX_EQUITY_INDEX_SINGAPORE_EXTENDED_CURRENT, SGX_EQUITY_INDEX_SINGAPORE_ORDER_ENTRY_CURRENT,
SGX_EQUITY_INDEX_SINGAPORE_REGULAR_CURRENT, SGX_EQUITY_INDEX_TAIWAN_EXTENDED_CURRENT,
SGX_EQUITY_INDEX_TAIWAN_ORDER_ENTRY_CURRENT, SGX_EQUITY_INDEX_TAIWAN_REGULAR_CURRENT,
};
use crate::calendar::schedules::futures::us::{
BITCOIN_EVENT_CONTRACTS_EXTENDED_CURRENT, BITCOIN_EVENT_CONTRACTS_ORDER_ENTRY_CURRENT,
CBOT_EXTENDED_CURRENT, CBOT_ORDER_ENTRY_CURRENT, CBOT_REGULAR_CURRENT, CFE_EXTENDED,
CFE_ORDER_ENTRY, CFE_REGULAR, CME_EXTENDED_CURRENT, CME_ORDER_ENTRY_CURRENT, CME_REGULAR,
COCOA_EXTENDED_CURRENT, COCOA_ORDER_ENTRY_CURRENT, COCOA_REGULAR_CURRENT,
COFFEE_EXTENDED_CURRENT, COFFEE_ORDER_ENTRY_CURRENT, COFFEE_REGULAR_CURRENT,
COPPER_TAS_EXTENDED_CURRENT, COTTON_EXTENDED_CURRENT, COTTON_ORDER_ENTRY_CURRENT,
COTTON_REGULAR_CURRENT, CRYPTOCURRENCY_CURRENT, ENERGY_METALS_EXTENDED_CURRENT,
ENERGY_METALS_ORDER_ENTRY_CURRENT, EVENT_CONTRACTS_EXTENDED_CURRENT,
EVENT_CONTRACTS_ORDER_ENTRY_CURRENT, FCOJ_EXTENDED_CURRENT, FCOJ_ORDER_ENTRY_CURRENT,
FCOJ_REGULAR_CURRENT, FX_CURRENT, GOLD_TAS_EXTENDED_CURRENT, ICE_US_FANG_EXTENDED_CURRENT,
ICE_US_FANG_ORDER_ENTRY_CURRENT, ICE_US_FANG_REGULAR_CURRENT, ICE_USDX_EXTENDED_CURRENT,
ICE_USDX_ORDER_ENTRY_CURRENT, ICE_USDX_REGULAR_CURRENT, INTEREST_RATES_CURRENT,
LIVESTOCK_CURRENT, METALS_TAS_ORDER_ENTRY_2016_01_03, MINI_EXTENDED_CURRENT,
MINI_ORDER_ENTRY_CURRENT, MINI_REGULAR_CURRENT, NKD_EXTENDED_CURRENT, NKD_ORDER_ENTRY_CURRENT,
NKD_REGULAR_CURRENT, PALLADIUM_TAS_EXTENDED_CURRENT, PGM_TAS_ORDER_ENTRY_CURRENT,
PLATINUM_TAS_EXTENDED_CURRENT, ROUGH_RICE_EXTENDED_CURRENT, ROUGH_RICE_ORDER_ENTRY_CURRENT,
ROUGH_RICE_REGULAR_CURRENT, SILVER_100OZ_EXTENDED_CURRENT, SILVER_TAS_EXTENDED_CURRENT,
SPOT_QUOTED_EXTENDED_CURRENT, SPOT_QUOTED_ORDER_ENTRY_CURRENT, SUGAR_EXTENDED_CURRENT,
SUGAR_ORDER_ENTRY_CURRENT, SUGAR_REGULAR_CURRENT, WEATHER_EXTENDED_CURRENT,
WEATHER_ORDER_ENTRY_CURRENT,
};
static FUTURES_OANDA_CHINA50: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: &[],
extended: OANDA_CHINA50_EXTENDED,
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ASX_SPI_200: FuturesSessionProfile = FuturesSessionProfile {
tz: Australia::Sydney,
regular: ASX_SPI_200_REGULAR,
extended: ASX_SPI_200_EXTENDED_DST,
order_entry: ASX_SPI_200_ORDER_ENTRY,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_HKEX_INDEX: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Hong_Kong,
regular: HKEX_INDEX_1630_REGULAR,
extended: HKEX_INDEX_AHT_0300_EXTENDED,
order_entry: HKEX_INDEX_PHASE2_ORDER_ENTRY,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_SINGAPORE30: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: &[],
extended: OANDA_SINGAPORE30_EXTENDED,
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_BME_IBEX: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Madrid,
regular: BME_IBEX_REGULAR_CURRENT,
extended: &[],
order_entry: BME_IBEX_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ICE_EUROPE_GILTS: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::London,
regular: ICE_EUROPE_GILTS_REGULAR_CURRENT,
extended: &[],
order_entry: ICE_EUROPE_GILTS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_FX: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: OANDA_FX_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_TRY_FX: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Berlin,
regular: OANDA_TRY_FX_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_METALS: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: OANDA_METALS_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_US_INDEX: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: OANDA_US_CONTINUOUS_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_US_COMMODITY: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: OANDA_US_CONTINUOUS_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_OANDA_BRENT: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::London,
regular: OANDA_BRENT_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_EQUITY_INDEX: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: CME_REGULAR,
extended: CME_EXTENDED_CURRENT,
order_entry: CME_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_ENERGY: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: ENERGY_METALS_EXTENDED_CURRENT,
order_entry: ENERGY_METALS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_SILVER_100OZ: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: SILVER_100OZ_EXTENDED_CURRENT,
order_entry: &[],
has_daily_close: true,
has_weekend_close: false,
};
static FUTURES_GLOBEX_GRAINS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: CBOT_REGULAR_CURRENT,
extended: CBOT_EXTENDED_CURRENT,
order_entry: CBOT_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_MINI_GRAINS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: MINI_REGULAR_CURRENT,
extended: MINI_EXTENDED_CURRENT,
order_entry: MINI_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_WEATHER: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: WEATHER_EXTENDED_CURRENT,
order_entry: WEATHER_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_SPOT_QUOTED: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: SPOT_QUOTED_EXTENDED_CURRENT,
order_entry: SPOT_QUOTED_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_EVENT_CONTRACTS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: EVENT_CONTRACTS_EXTENDED_CURRENT,
order_entry: EVENT_CONTRACTS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_EVENT_CONTRACTS_BTC: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: BITCOIN_EVENT_CONTRACTS_EXTENDED_CURRENT,
order_entry: BITCOIN_EVENT_CONTRACTS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: false,
};
static FUTURES_GLOBEX_GOLD_TAS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: GOLD_TAS_EXTENDED_CURRENT,
order_entry: METALS_TAS_ORDER_ENTRY_2016_01_03,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_SILVER_TAS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: SILVER_TAS_EXTENDED_CURRENT,
order_entry: METALS_TAS_ORDER_ENTRY_2016_01_03,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_COPPER_TAS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: COPPER_TAS_EXTENDED_CURRENT,
order_entry: METALS_TAS_ORDER_ENTRY_2016_01_03,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_PLATINUM_TAS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: PLATINUM_TAS_EXTENDED_CURRENT,
order_entry: PGM_TAS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_PALLADIUM_TAS: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: &[],
extended: PALLADIUM_TAS_EXTENDED_CURRENT,
order_entry: PGM_TAS_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_GLOBEX_ROUGH_RICE: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: ROUGH_RICE_REGULAR_CURRENT,
extended: ROUGH_RICE_EXTENDED_CURRENT,
order_entry: ROUGH_RICE_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_CFE_VIX: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: CFE_REGULAR,
extended: CFE_EXTENDED,
order_entry: CFE_ORDER_ENTRY,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_EUREX: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Berlin,
regular: EUREX_CURRENT_REGULAR,
extended: EUREX_CURRENT_EXTENDED,
order_entry: EUREX_CURRENT_ORDER_ENTRY,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ICE_US: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: ICE_US_FANG_REGULAR_CURRENT,
extended: ICE_US_FANG_EXTENDED_CURRENT,
order_entry: ICE_US_FANG_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ICE_US_SUGAR: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: SUGAR_REGULAR_CURRENT,
extended: SUGAR_EXTENDED_CURRENT,
order_entry: SUGAR_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_COFFEE: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: COFFEE_REGULAR_CURRENT,
extended: COFFEE_EXTENDED_CURRENT,
order_entry: COFFEE_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_COCOA: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: COCOA_REGULAR_CURRENT,
extended: COCOA_EXTENDED_CURRENT,
order_entry: COCOA_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_COTTON: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: COTTON_REGULAR_CURRENT,
extended: COTTON_EXTENDED_CURRENT,
order_entry: COTTON_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_FCOJ: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: FCOJ_REGULAR_CURRENT,
extended: FCOJ_EXTENDED_CURRENT,
order_entry: FCOJ_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ICE_USDX: FuturesSessionProfile = FuturesSessionProfile {
tz: America::New_York,
regular: ICE_USDX_REGULAR_CURRENT,
extended: ICE_USDX_EXTENDED_CURRENT,
order_entry: ICE_USDX_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_NKD: FuturesSessionProfile = FuturesSessionProfile {
tz: US::Central,
regular: NKD_REGULAR_CURRENT,
extended: NKD_EXTENDED_CURRENT,
order_entry: NKD_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_EUREX_FIXED_INCOME: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Berlin,
regular: EUREX_FIXED_INCOME_REGULAR_CURRENT,
extended: EUREX_FIXED_INCOME_EXTENDED_CURRENT,
order_entry: EUREX_FIXED_INCOME_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_EUREX_SMI: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Zurich,
regular: EUREX_SMI_REGULAR_CURRENT,
extended: &[],
order_entry: EUREX_SMI_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_EURONEXT_INDEX_FUTURES: FuturesSessionProfile = FuturesSessionProfile {
tz: Europe::Paris,
regular: EURONEXT_INDEX_FUTURES_REGULAR,
extended: &[],
order_entry: &[],
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX_EQUITY_INDEX_JAPAN: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_EQUITY_INDEX_JAPAN_REGULAR_CURRENT,
extended: SGX_EQUITY_INDEX_JAPAN_EXTENDED_CURRENT,
order_entry: SGX_EQUITY_INDEX_JAPAN_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX_EQUITY_INDEX_CHINA: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_EQUITY_INDEX_CHINA_REGULAR_CURRENT,
extended: SGX_EQUITY_INDEX_CHINA_EXTENDED_CURRENT,
order_entry: SGX_EQUITY_INDEX_CHINA_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX_EQUITY_INDEX_SINGAPORE: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_EQUITY_INDEX_SINGAPORE_REGULAR_CURRENT,
extended: SGX_EQUITY_INDEX_SINGAPORE_EXTENDED_CURRENT,
order_entry: SGX_EQUITY_INDEX_SINGAPORE_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX_EQUITY_INDEX_TAIWAN: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_EQUITY_INDEX_TAIWAN_REGULAR_CURRENT,
extended: SGX_EQUITY_INDEX_TAIWAN_EXTENDED_CURRENT,
order_entry: SGX_EQUITY_INDEX_TAIWAN_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX_EQUITY_INDEX_NTR_USD: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_EQUITY_INDEX_NTR_USD_REGULAR_CURRENT,
extended: SGX_EQUITY_INDEX_NTR_USD_EXTENDED_CURRENT,
order_entry: SGX_EQUITY_INDEX_NTR_USD_ORDER_ENTRY_CURRENT,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_SGX: FuturesSessionProfile = FuturesSessionProfile {
tz: Asia::Singapore,
regular: SGX_CURRENT_REGULAR,
extended: SGX_CURRENT_EXTENDED,
order_entry: SGX_CURRENT_ORDER_ENTRY,
has_daily_close: true,
has_weekend_close: true,
};
static FUTURES_ALWAYS_OPEN: FuturesSessionProfile = FuturesSessionProfile {
tz: UTC,
regular: ALWAYS_OPEN_RULE,
extended: &[],
order_entry: &[],
has_daily_close: false,
has_weekend_close: false,
};
#[must_use]
pub fn session_profile(key: MarketHoursKey) -> &'static FuturesSessionProfile {
match key {
MarketHoursKey::GlobexEquityIndex => &FUTURES_GLOBEX_EQUITY_INDEX,
MarketHoursKey::GlobexEnergy => &FUTURES_GLOBEX_ENERGY,
MarketHoursKey::GlobexSilver100Oz => &FUTURES_GLOBEX_SILVER_100OZ,
MarketHoursKey::GlobexGrains => &FUTURES_GLOBEX_GRAINS,
MarketHoursKey::GlobexMiniGrains => &FUTURES_GLOBEX_MINI_GRAINS,
MarketHoursKey::GlobexFx => &FX_CURRENT,
MarketHoursKey::GlobexInterestRates => &INTEREST_RATES_CURRENT,
MarketHoursKey::GlobexLivestock => &LIVESTOCK_CURRENT,
MarketHoursKey::GlobexCryptocurrency => &CRYPTOCURRENCY_CURRENT,
MarketHoursKey::CfeVix => &FUTURES_CFE_VIX,
MarketHoursKey::Eurex => &FUTURES_EUREX,
MarketHoursKey::IceUs => &FUTURES_ICE_US,
MarketHoursKey::IceUsSugar => &FUTURES_ICE_US_SUGAR,
MarketHoursKey::IceUsCoffee => &FUTURES_COFFEE,
MarketHoursKey::IceUsCocoa => &FUTURES_COCOA,
MarketHoursKey::IceUsCotton => &FUTURES_COTTON,
MarketHoursKey::IceUsOrangeJuice => &FUTURES_FCOJ,
MarketHoursKey::IceUsDollarIndex => &FUTURES_ICE_USDX,
MarketHoursKey::GlobexNikkei225Dollar => &FUTURES_NKD,
MarketHoursKey::EurexFixedIncome => &FUTURES_EUREX_FIXED_INCOME,
MarketHoursKey::EurexSmi => &FUTURES_EUREX_SMI,
MarketHoursKey::EuronextIndexFutures => &FUTURES_EURONEXT_INDEX_FUTURES,
MarketHoursKey::SgxEquityIndexJapan => &FUTURES_SGX_EQUITY_INDEX_JAPAN,
MarketHoursKey::SgxEquityIndexChina => &FUTURES_SGX_EQUITY_INDEX_CHINA,
MarketHoursKey::SgxEquityIndexSingapore => &FUTURES_SGX_EQUITY_INDEX_SINGAPORE,
MarketHoursKey::SgxEquityIndexTaiwan => &FUTURES_SGX_EQUITY_INDEX_TAIWAN,
MarketHoursKey::SgxEquityIndexNtrUsd => &FUTURES_SGX_EQUITY_INDEX_NTR_USD,
MarketHoursKey::GlobexRoughRice => &FUTURES_GLOBEX_ROUGH_RICE,
MarketHoursKey::GlobexWeather => &FUTURES_GLOBEX_WEATHER,
MarketHoursKey::GlobexSpotQuoted => &FUTURES_GLOBEX_SPOT_QUOTED,
MarketHoursKey::GlobexEventContracts => &FUTURES_GLOBEX_EVENT_CONTRACTS,
MarketHoursKey::GlobexEventContractsBtc => &FUTURES_GLOBEX_EVENT_CONTRACTS_BTC,
MarketHoursKey::GlobexGoldTas => &FUTURES_GLOBEX_GOLD_TAS,
MarketHoursKey::GlobexSilverTas => &FUTURES_GLOBEX_SILVER_TAS,
MarketHoursKey::GlobexCopperTas => &FUTURES_GLOBEX_COPPER_TAS,
MarketHoursKey::GlobexPlatinumTas => &FUTURES_GLOBEX_PLATINUM_TAS,
MarketHoursKey::GlobexPalladiumTas => &FUTURES_GLOBEX_PALLADIUM_TAS,
MarketHoursKey::OandaFx => &FUTURES_OANDA_FX,
MarketHoursKey::OandaTryFx => &FUTURES_OANDA_TRY_FX,
MarketHoursKey::OandaMetals => &FUTURES_OANDA_METALS,
MarketHoursKey::OandaUsIndexCfd | MarketHoursKey::OandaUsBondCfd => &FUTURES_OANDA_US_INDEX,
MarketHoursKey::OandaUsCommodityCfd => &FUTURES_OANDA_US_COMMODITY,
MarketHoursKey::OandaBrent => &FUTURES_OANDA_BRENT,
MarketHoursKey::OandaChina50Cfd => &FUTURES_OANDA_CHINA50,
MarketHoursKey::OandaSingapore30Cfd => &FUTURES_OANDA_SINGAPORE30,
MarketHoursKey::AsxSpi200 => &FUTURES_ASX_SPI_200,
MarketHoursKey::BmeIbex => &FUTURES_BME_IBEX,
MarketHoursKey::HkexIndexFutures => &FUTURES_HKEX_INDEX,
MarketHoursKey::IceEuropeGilts => &FUTURES_ICE_EUROPE_GILTS,
MarketHoursKey::Sgx => &FUTURES_SGX,
MarketHoursKey::AlwaysOpen => &FUTURES_ALWAYS_OPEN,
}
}