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()