15 lines
450 B
Python
15 lines
450 B
Python
# encoding: UTF-8
|
|
|
|
DATA_RECORDER = u'Data Recorder'
|
|
|
|
TICK_RECORD = u'Tick Record'
|
|
BAR_RECORD = u'Bar Record'
|
|
|
|
CONTRACT_SYMBOL = u'Contract Symbol'
|
|
GATEWAY = u'Gateway'
|
|
|
|
DOMINANT_CONTRACT = u'Dominant Contract'
|
|
DOMINANT_SYMBOL = u'Dominant Symbol'
|
|
|
|
TICK_LOGGING_MESSAGE = u'Record Tick Data {symbol}, Time:{time}, last:{last}, bid:{bid}, ask:{ask}'
|
|
BAR_LOGGING_MESSAGE = u'Record Bar Data {symbol}, Time:{time}, O:{open}, H:{high}, L:{low}, C:{close}' |