更新
This commit is contained in:
parent
28152c2852
commit
6db1b12611
@ -5,5 +5,5 @@ from .chinese import text, constant
|
||||
|
||||
# 是否要使用英文
|
||||
from vnpy.trader.vtGlobal import globalSetting
|
||||
if globalSetting['language'] == 'english':
|
||||
if globalSetting.get('language',None) == 'english':
|
||||
from vnpy.trader.language.english import text, constant
|
@ -53,6 +53,10 @@ OPTION_PUT = u'看跌期权'
|
||||
# 交易所类型
|
||||
EXCHANGE_SSE = 'SSE' # 上交所
|
||||
EXCHANGE_SZSE = 'SZSE' # 深交所
|
||||
|
||||
EXCHANGE_XSHG = 'XSHG' # 上交所(股票使用)
|
||||
EXCHANGE_XSHE = 'XSHE' # 深交所(股票使用)
|
||||
|
||||
EXCHANGE_CFFEX = 'CFFEX' # 中金所
|
||||
EXCHANGE_SHFE = 'SHFE' # 上期所
|
||||
EXCHANGE_CZCE = 'CZCE' # 郑商所
|
||||
|
@ -54,6 +54,10 @@ OPTION_PUT = u'put'
|
||||
# 交易所类型
|
||||
EXCHANGE_SSE = 'SSE' # 上交所
|
||||
EXCHANGE_SZSE = 'SZSE' # 深交所
|
||||
|
||||
EXCHANGE_XSHG = 'XSHG' # 上交所(股票使用)
|
||||
EXCHANGE_XSHE = 'XSHE' # 深交所(股票使用)
|
||||
|
||||
EXCHANGE_CFFEX = 'CFFEX' # 中金所
|
||||
EXCHANGE_SHFE = 'SHFE' # 上期所
|
||||
EXCHANGE_CZCE = 'CZCE' # 郑商所
|
||||
|
Loading…
Reference in New Issue
Block a user