vnpy/vn.trader/vtConstant.py
2017-04-28 22:10:07 +08:00

10 lines
223 B
Python

# encoding: UTF-8
from language import constant
# 将常量定义添加到vtConstant.py的局部字典中
d = locals()
for name in dir(constant):
if '__' not in name:
d[name] = constant.__getattribute__(name)