[Add] Add trader event type definition
This commit is contained in:
parent
e32b76d243
commit
ad40633fd8
13
vnpy/trader/event.py
Normal file
13
vnpy/trader/event.py
Normal file
@ -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'
|
Loading…
Reference in New Issue
Block a user