[Add]ssleay32.dll problem in docs
This commit is contained in:
parent
3964142b2e
commit
a90433141f
@ -5,6 +5,15 @@
|
||||
|
||||
### 使用VNConda
|
||||
|
||||
**ssleay32.dll问题**
|
||||
|
||||
如果电脑上之前安装过其他的Python环境或者应用软件,有可能会存在SSL相关动态链接库路径被修改的问题,在运行VN Station时弹出如下图所示的错误:
|
||||
|
||||
![ssleay32.dll](https://user-images.githubusercontent.com/7112268/55474371-8bd06a00-5643-11e9-8b35-f064a45edfd1.png)
|
||||
|
||||
解决方法:
|
||||
1. 找到你的VNConda目录
|
||||
2. 将VNConda\Lib\site-packages\PyQt5\Qt\bin目录的两个动态库libeay32.dll和ssleay32.dll拷贝到VNConda\下即可
|
||||
|
||||
### 手动安装
|
||||
|
||||
|
@ -61,6 +61,7 @@ ORDERTYPE_HUOBI2VT = {v: k for k, v in ORDERTYPE_VT2HUOBI.items()}
|
||||
|
||||
|
||||
huobi_symbols = set()
|
||||
symbol_name_map = {}
|
||||
|
||||
|
||||
class HuobiGateway(BaseGateway):
|
||||
@ -435,6 +436,7 @@ class HuobiRestApi(RestClient):
|
||||
self.gateway.on_contract(contract)
|
||||
|
||||
huobi_symbols.add(contract.symbol)
|
||||
symbol_name_map[contract.symbol] = contract.name
|
||||
|
||||
self.gateway.write_log("合约信息查询成功")
|
||||
|
||||
@ -648,6 +650,7 @@ class HuobiDataWebsocketApi(HuobiWebsocketApiBase):
|
||||
# Create tick data buffer
|
||||
tick = TickData(
|
||||
symbol=symbol,
|
||||
name=symbol_name_map.get(symbol, ""),
|
||||
exchange=Exchange.HUOBI,
|
||||
datetime=datetime.now(),
|
||||
gateway_name=self.gateway_name,
|
||||
|
Loading…
Reference in New Issue
Block a user