From 3a0462362bd99073b99751cad02d634732d57c03 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 16 Apr 2018 13:16:39 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E4=BF=AE=E6=94=B9=E7=81=AB=E5=B8=81?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/OptionMaster/etf_portfolio.json | 4 ++-- vnpy/api/huobi/vnhuobi.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/OptionMaster/etf_portfolio.json b/examples/OptionMaster/etf_portfolio.json index 8de8b975..ff6c4e4e 100644 --- a/examples/OptionMaster/etf_portfolio.json +++ b/examples/OptionMaster/etf_portfolio.json @@ -7,12 +7,12 @@ "chain": [ { "underlyingSymbol": "510050", - "chainSymbol": "510050-1802", + "chainSymbol": "510050-1804", "r": 0.04 }, { "underlyingSymbol": "510050", - "chainSymbol": "510050-1803", + "chainSymbol": "510050-1805", "r": 0.03 }, { diff --git a/vnpy/api/huobi/vnhuobi.py b/vnpy/api/huobi/vnhuobi.py index 24e1e544..e9fa5982 100644 --- a/vnpy/api/huobi/vnhuobi.py +++ b/vnpy/api/huobi/vnhuobi.py @@ -107,7 +107,7 @@ class TradeApi(object): self.pool.map_async(self.run, range(n)) #---------------------------------------------------------------------- - def stop(self): + def close(self): """停止""" self.active = False self.pool.close()