Lean  $LEAN_TAG$
QuantConnect.Market Class Reference

Markets Collection: Soon to be expanded to a collection of items specifying the market hour, timezones and country codes. More...

Static Public Member Functions

static void Add (string market, int identifier)
 Adds the specified market to the map of available markets with the specified identifier. More...
 
static ? int Encode (string market)
 Gets the market code for the specified market. Returns null if the market is not found More...
 
static string Decode (int code)
 Gets the market string for the specified market code. More...
 
static List< string > SupportedMarkets ()
 Returns a list of the supported markets More...
 

Static Public Attributes

const string USA = "usa"
 USA Market More...
 
const string Oanda = "oanda"
 Oanda Market More...
 
const string FXCM = "fxcm"
 FXCM Market Hours More...
 
const string Dukascopy = "dukascopy"
 Dukascopy Market More...
 
const string Bitfinex = "bitfinex"
 Bitfinex market More...
 
const string Globex = "cmeglobex"
 CME Globex More...
 
const string NYMEX = "nymex"
 NYMEX More...
 
const string CBOT = "cbot"
 CBOT More...
 
const string ICE = "ice"
 ICE More...
 
const string CBOE = "cboe"
 CBOE More...
 
const string CFE = "cfe"
 CFE More...
 
const string India = "india"
 NSE - National Stock Exchange More...
 
const string COMEX = "comex"
 Comex More...
 
const string CME = "cme"
 CME More...
 
const string SGX = "sgx"
 Singapore Exchange More...
 
const string HKFE = "hkfe"
 Hong Kong Exchange More...
 
const string NYSELIFFE = "nyseliffe"
 London International Financial Futures and Options Exchange More...
 
const string GDAX = Coinbase
 GDAX More...
 
const string Kraken = "kraken"
 Kraken More...
 
const string Bitstamp = "bitstamp"
 Bitstamp More...
 
const string OkCoin = "okcoin"
 OkCoin More...
 
const string Bithumb = "bithumb"
 Bithumb More...
 
const string Binance = "binance"
 Binance More...
 
const string Poloniex = "poloniex"
 Poloniex More...
 
const string Coinone = "coinone"
 Coinone More...
 
const string HitBTC = "hitbtc"
 HitBTC More...
 
const string Bittrex = "bittrex"
 Bittrex More...
 
const string FTX = "ftx"
 FTX More...
 
const string FTXUS = "ftxus"
 FTX.US More...
 
const string BinanceUS = "binanceus"
 Binance.US More...
 
const string Bybit = "bybit"
 Bybit More...
 
const string Coinbase = "coinbase"
 Coinbase More...
 
const string InteractiveBrokers = "interactivebrokers"
 InteractiveBrokers market More...
 

Detailed Description

Markets Collection: Soon to be expanded to a collection of items specifying the market hour, timezones and country codes.

Definition at line 25 of file Market.cs.

Member Function Documentation

◆ Add()

static void QuantConnect.Market.Add ( string  market,
int  identifier 
)
static

Adds the specified market to the map of available markets with the specified identifier.

Parameters
marketThe market string to add
identifierThe identifier for the market, this value must be positive and less than 1000

Definition at line 257 of file Market.cs.

◆ Encode()

static ? int QuantConnect.Market.Encode ( string  market)
static

Gets the market code for the specified market. Returns null if the market is not found

Parameters
marketThe market to check for (case sensitive)
Returns
The internal code used for the market. Corresponds to the value used when calling Add

Definition at line 297 of file Market.cs.

◆ Decode()

static string QuantConnect.Market.Decode ( int  code)
static

Gets the market string for the specified market code.

Parameters
codeThe market code to be decoded
Returns
The string representation of the market, or null if not found

Definition at line 307 of file Market.cs.

◆ SupportedMarkets()

static List<string> QuantConnect.Market.SupportedMarkets ( )
static

Returns a list of the supported markets

Definition at line 315 of file Market.cs.

Here is the caller graph for this function:

Member Data Documentation

◆ USA

const string QuantConnect.Market.USA = "usa"
static

USA Market

Definition at line 87 of file Market.cs.

◆ Oanda

const string QuantConnect.Market.Oanda = "oanda"
static

Oanda Market

Definition at line 92 of file Market.cs.

◆ FXCM

const string QuantConnect.Market.FXCM = "fxcm"
static

FXCM Market Hours

Definition at line 97 of file Market.cs.

◆ Dukascopy

const string QuantConnect.Market.Dukascopy = "dukascopy"
static

Dukascopy Market

Definition at line 102 of file Market.cs.

◆ Bitfinex

const string QuantConnect.Market.Bitfinex = "bitfinex"
static

Bitfinex market

Definition at line 107 of file Market.cs.

◆ Globex

const string QuantConnect.Market.Globex = "cmeglobex"
static

CME Globex

Definition at line 114 of file Market.cs.

◆ NYMEX

const string QuantConnect.Market.NYMEX = "nymex"
static

NYMEX

Definition at line 119 of file Market.cs.

◆ CBOT

const string QuantConnect.Market.CBOT = "cbot"
static

CBOT

Definition at line 124 of file Market.cs.

◆ ICE

const string QuantConnect.Market.ICE = "ice"
static

ICE

Definition at line 129 of file Market.cs.

◆ CBOE

const string QuantConnect.Market.CBOE = "cboe"
static

CBOE

Definition at line 134 of file Market.cs.

◆ CFE

const string QuantConnect.Market.CFE = "cfe"
static

CFE

Definition at line 139 of file Market.cs.

◆ India

const string QuantConnect.Market.India = "india"
static

NSE - National Stock Exchange

Definition at line 144 of file Market.cs.

◆ COMEX

const string QuantConnect.Market.COMEX = "comex"
static

Comex

Definition at line 149 of file Market.cs.

◆ CME

const string QuantConnect.Market.CME = "cme"
static

CME

Definition at line 154 of file Market.cs.

◆ SGX

const string QuantConnect.Market.SGX = "sgx"
static

Singapore Exchange

Definition at line 159 of file Market.cs.

◆ HKFE

const string QuantConnect.Market.HKFE = "hkfe"
static

Hong Kong Exchange

Definition at line 164 of file Market.cs.

◆ NYSELIFFE

const string QuantConnect.Market.NYSELIFFE = "nyseliffe"
static

London International Financial Futures and Options Exchange

Definition at line 169 of file Market.cs.

◆ GDAX

const string QuantConnect.Market.GDAX = Coinbase
static

GDAX

Definition at line 175 of file Market.cs.

◆ Kraken

const string QuantConnect.Market.Kraken = "kraken"
static

Kraken

Definition at line 180 of file Market.cs.

◆ Bitstamp

const string QuantConnect.Market.Bitstamp = "bitstamp"
static

Bitstamp

Definition at line 185 of file Market.cs.

◆ OkCoin

const string QuantConnect.Market.OkCoin = "okcoin"
static

OkCoin

Definition at line 190 of file Market.cs.

◆ Bithumb

const string QuantConnect.Market.Bithumb = "bithumb"
static

Bithumb

Definition at line 195 of file Market.cs.

◆ Binance

const string QuantConnect.Market.Binance = "binance"
static

Binance

Definition at line 200 of file Market.cs.

◆ Poloniex

const string QuantConnect.Market.Poloniex = "poloniex"
static

Poloniex

Definition at line 205 of file Market.cs.

◆ Coinone

const string QuantConnect.Market.Coinone = "coinone"
static

Coinone

Definition at line 210 of file Market.cs.

◆ HitBTC

const string QuantConnect.Market.HitBTC = "hitbtc"
static

HitBTC

Definition at line 215 of file Market.cs.

◆ Bittrex

const string QuantConnect.Market.Bittrex = "bittrex"
static

Bittrex

Definition at line 220 of file Market.cs.

◆ FTX

const string QuantConnect.Market.FTX = "ftx"
static

FTX

Definition at line 225 of file Market.cs.

◆ FTXUS

const string QuantConnect.Market.FTXUS = "ftxus"
static

FTX.US

Definition at line 230 of file Market.cs.

◆ BinanceUS

const string QuantConnect.Market.BinanceUS = "binanceus"
static

Binance.US

Definition at line 235 of file Market.cs.

◆ Bybit

const string QuantConnect.Market.Bybit = "bybit"
static

Bybit

Definition at line 240 of file Market.cs.

◆ Coinbase

const string QuantConnect.Market.Coinbase = "coinbase"
static

Coinbase

Definition at line 245 of file Market.cs.

◆ InteractiveBrokers

const string QuantConnect.Market.InteractiveBrokers = "interactivebrokers"
static

InteractiveBrokers market

Definition at line 250 of file Market.cs.


The documentation for this class was generated from the following file: