[Mod]修改火币接口函数
This commit is contained in:
parent
e0ab6f7c9b
commit
3a0462362b
@ -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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user