Commit 189519fe by rongjun

init

parent 5d31a0df
......@@ -642,9 +642,9 @@ def __main__():
# time.sleep(1.0)
# print('查询行情', trader.QryDepthMarketData(InstrumentID))
# time.sleep(1.0)
il = ['zn1810','zn1811','zn1812','zn1901','zn1902','zn1903','zn1904','zn1905','zn1906','zn1907','zn1908','zn1909',
'rb1810','rb1811','rb1812','rb1901','rb1902','rb1903','rb1904','rb1905','rb1906','rb1907','rb1908','rb1909',
'pp1810','pp1811','pp1812','pp1901','pp1902','pp1903','pp1904','pp1905','pp1906','pp1907','pp1908','pp1909',]
il = [b'zn1810',b'zn1811',b'zn1812',b'zn1901',b'zn1902',b'zn1903',b'zn1904',b'zn1905',b'zn1906',b'zn1907',b'zn1908',b'zn1909',
b'rb1810',b'rb1811',b'rb1812',b'rb1901',b'rb1902',b'rb1903',b'rb1904',b'rb1905',b'rb1906',b'rb1907',b'rb1908',b'rb1909',
b'pp1810',b'pp1811',b'pp1812',b'pp1901',b'pp1902',b'pp1903',b'pp1904',b'pp1905',b'pp1906',b'pp1907',b'pp1908',b'pp1909',]
print('订阅行情:', market.SubMarketData(il))
while True:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment