diff --git a/vnpy/trader/event.py b/vnpy/trader/event.py new file mode 100644 index 00000000..c679a971 --- /dev/null +++ b/vnpy/trader/event.py @@ -0,0 +1,13 @@ +""" +Event type string used in VN Trader. +""" + +from vnpy.event import EVENT_TIMER + +EVENT_TICK = 'eTick.' +EVENT_TRADE = 'eTrade.' +EVENT_ORDER = 'eOrder.' +EVENT_POSITION = 'ePosition.' +EVENT_ACCOUNT = 'eAccount.' +EVENT_CONTRACT = 'eContract.' +EVENT_LOG = 'eLog'