vnpy_binance
vnpy_binance copied to clipboard
Binance trading gateway for VeighNa Evo
  使用clash翻墙接的币安,登录大约两分钟后Trade Websocket APi会频繁断开重连持续几分钟然后卡死,中间如果手动关掉vnpy也会卡死
response:{"code":-5000,"msg":"GET /fapi/v1/account is retired, please use GET /fapi/v2/account"}
### Programming Languages Python 3.10.0 ### vnpy_binance Version 2021.10.27 ### Description Received exchange error (testnet): binance.exceptions.BinanceAPIException: APIError(code=-5000): GET /fapi/v1/positionRisk is retired, please use GET /fapi/v2/positionRisk
在cta回测的k线图表界面,当鼠标移动时,会出现界面缺失现象
使用vnpy-binance 版本2022.4.28 启动无界面的投资组合策略时有时候会出现下面的日志后卡住 ![Uploading 1689825895543.png…]() 正常后续应该是这样的  有时候会出现上面的卡住情况,过一段时间又正常,请问这是怎么回事
Traceback (most recent call last): File "C:\veighna_studio\lib\site-packages\vnpy_evo\trader\ui\widget.py", line 128, in connect_gateway self.main_engine.connect(setting, self.gateway_name) File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 173, in connect gateway.connect(setting) File "C:\veighna_studio\lib\site-packages\vnpy_binance\binance_inverse_gateway.py", line 158, in connect self.market_ws_api.connect(server, kline_stream, proxy_host, proxy_port)...
建议添加一下杠杆交易账户API接口,感谢! https://developers.binance.com/docs/zh-CN/margin_trading/market-data/Get-All-Cross-Margin-Pairs