vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 42
声望: 0

1.Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnpy\api\rest\rest_client.py", line 278, in _process_request
proxies=self.proxies,
File "C:\vnstudio\lib\site-packages\requests\sessions.py", line 519, in request
prep = self.prepare_request(req)
File "C:\vnstudio\lib\site-packages\requests\sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "C:\vnstudio\lib\site-packages\requests\models.py", line 313, in prepare
self.prepare_url(url, params)
File "C:\vnstudio\lib\site-packages\requests\models.py", line 387, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '/api/v1/userDataStream?listenKey=': No schema supplied. Perhaps you meant http:///api/v1/userDataStream?listenKey=?

这是什么问题?

  1. vnpy2最新版的数据下载服务在哪里?vnpy1版中examp中dataservice ctaTrading等部分代码都很清楚,也都在一个文件夹下,很好找,这个第二版都不知道在哪里找这些东西,文件夹的名字起得奇奇怪怪的,至少看名字不知道是干嘛的?
Administrator
avatar
加入于:
帖子: 2135
声望: 96

这是个币安接口的问题,最新DEV分支修复了,只要加载币安接口就可能触发,请先移除掉好了

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3