Skip to content

Commit

Permalink
[Mod] support only crypto exchanges
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Dec 20, 2023
1 parent 96a7bba commit bf6cce9
Showing 1 changed file with 5 additions and 50 deletions.
55 changes: 5 additions & 50 deletions vnpy/trader/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,56 +78,11 @@ class Exchange(Enum):
"""
Exchange.
"""
# Chinese
CFFEX = "CFFEX" # China Financial Futures Exchange
SHFE = "SHFE" # Shanghai Futures Exchange
CZCE = "CZCE" # Zhengzhou Commodity Exchange
DCE = "DCE" # Dalian Commodity Exchange
INE = "INE" # Shanghai International Energy Exchange
GFEX = "GFEX" # Guangzhou Futures Exchange
SSE = "SSE" # Shanghai Stock Exchange
SZSE = "SZSE" # Shenzhen Stock Exchange
BSE = "BSE" # Beijing Stock Exchange
SHHK = "SHHK" # Shanghai-HK Stock Connect
SZHK = "SZHK" # Shenzhen-HK Stock Connect
SGE = "SGE" # Shanghai Gold Exchange
WXE = "WXE" # Wuxi Steel Exchange
CFETS = "CFETS" # CFETS Bond Market Maker Trading System
XBOND = "XBOND" # CFETS X-Bond Anonymous Trading System

# Global
SMART = "SMART" # Smart Router for US stocks
NYSE = "NYSE" # New York Stock Exchnage
NASDAQ = "NASDAQ" # Nasdaq Exchange
ARCA = "ARCA" # ARCA Exchange
EDGEA = "EDGEA" # Direct Edge Exchange
ISLAND = "ISLAND" # Nasdaq Island ECN
BATS = "BATS" # Bats Global Markets
IEX = "IEX" # The Investors Exchange
AMEX = "AMEX" # American Stock Exchange
TSE = "TSE" # Toronto Stock Exchange
NYMEX = "NYMEX" # New York Mercantile Exchange
COMEX = "COMEX" # COMEX of CME
GLOBEX = "GLOBEX" # Globex of CME
IDEALPRO = "IDEALPRO" # Forex ECN of Interactive Brokers
CME = "CME" # Chicago Mercantile Exchange
ICE = "ICE" # Intercontinental Exchange
SEHK = "SEHK" # Stock Exchange of Hong Kong
HKFE = "HKFE" # Hong Kong Futures Exchange
SGX = "SGX" # Singapore Global Exchange
CBOT = "CBT" # Chicago Board of Trade
CBOE = "CBOE" # Chicago Board Options Exchange
CFE = "CFE" # CBOE Futures Exchange
DME = "DME" # Dubai Mercantile Exchange
EUREX = "EUX" # Eurex Exchange
APEX = "APEX" # Asia Pacific Exchange
LME = "LME" # London Metal Exchange
BMD = "BMD" # Bursa Malaysia Derivatives
TOCOM = "TOCOM" # Tokyo Commodity Exchange
EUNX = "EUNX" # Euronext Exchange
KRX = "KRX" # Korean Exchange
OTC = "OTC" # OTC Product (Forex/CFD/Pink Sheet Equity)
IBKRATS = "IBKRATS" # Paper Trading Exchange of IB
# Crypto
BINANCE = "BINANCE"
OKX = "OKX"
BYBIT = "BYBIT"
DERIBIT = "DERIBIT"

# Special Function
LOCAL = "LOCAL" # For local generated data
Expand Down

0 comments on commit bf6cce9

Please sign in to comment.