[Mod]修改火币接口函数

This commit is contained in:
vn.py 2018-04-16 13:16:39 +08:00
parent e0ab6f7c9b
commit 3a0462362b
2 changed files with 3 additions and 3 deletions

View File

@ -7,12 +7,12 @@
"chain": [ "chain": [
{ {
"underlyingSymbol": "510050", "underlyingSymbol": "510050",
"chainSymbol": "510050-1802", "chainSymbol": "510050-1804",
"r": 0.04 "r": 0.04
}, },
{ {
"underlyingSymbol": "510050", "underlyingSymbol": "510050",
"chainSymbol": "510050-1803", "chainSymbol": "510050-1805",
"r": 0.03 "r": 0.03
}, },
{ {

View File

@ -107,7 +107,7 @@ class TradeApi(object):
self.pool.map_async(self.run, range(n)) self.pool.map_async(self.run, range(n))
#---------------------------------------------------------------------- #----------------------------------------------------------------------
def stop(self): def close(self):
"""停止""" """停止"""
self.active = False self.active = False
self.pool.close() self.pool.close()