Skip to content

Commit

Permalink
Merge pull request #10 from noranhe/main
Browse files Browse the repository at this point in the history
update
  • Loading branch information
vnpy committed Aug 25, 2021
2 parents 5193ebd + 8ae6899 commit 8cca9f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vnpy_binance/binance_inverse_gateway.py
Expand Up @@ -142,7 +142,7 @@ def connect(self, setting: dict) -> None:
key: str = setting["key"]
secret: str = setting["secret"]
server: str = setting["服务器"]
proxy_host: str = setting["代理地址"]
proxy_host: int = setting["代理地址"]
proxy_port: str = setting["代理端口"]

self.rest_api.connect(key, secret, server, proxy_host, proxy_port)
Expand Down
2 changes: 1 addition & 1 deletion vnpy_binance/binance_spot_gateway.py
Expand Up @@ -133,7 +133,7 @@ def connect(self, setting: dict):
key: str = setting["key"]
secret: str = setting["secret"]
proxy_host: str = setting["代理地址"]
proxy_port: str = setting["代理端口"]
proxy_port: int = setting["代理端口"]
server: str = setting["服务器"]

self.rest_api.connect(key, secret, proxy_host, proxy_port, server)
Expand Down
2 changes: 1 addition & 1 deletion vnpy_binance/binance_usdt_gateway.py
Expand Up @@ -145,7 +145,7 @@ def connect(self, setting: dict) -> None:
secret: str = setting["secret"]
server: str = setting["服务器"]
proxy_host: str = setting["代理地址"]
proxy_port: str = setting["代理端口"]
proxy_port: int = setting["代理端口"]

self.rest_api.connect(key, secret, server, proxy_host, proxy_port)
self.market_ws_api.connect(proxy_host, proxy_port, server)
Expand Down

0 comments on commit 8cca9f0

Please sign in to comment.