基于asyncio和aiohttp开发的协程异步REST API客户端,用于开发高性能的REST交易接口。
安装环境推荐基于3.4.0版本以上的【VeighNa Studio】。
直接使用pip命令:
pip install vnpy_rest
下载解压后在cmd中运行
pip install .
VeighNa框架的REST API客户端
Home Page: https://www.vnpy.com
License: MIT License
基于asyncio和aiohttp开发的协程异步REST API客户端,用于开发高性能的REST交易接口。
安装环境推荐基于3.4.0版本以上的【VeighNa Studio】。
直接使用pip命令:
pip install vnpy_rest
下载解压后在cmd中运行
pip install .
想请教一下:当OKex接口调用调用stop后再调用connect报错,报错信息为:There is no current event loop in thread 'Thread-6'.
调用gateway.close后调用gateway.connect,想重新连接上时候报错。请问一下这个问题如何解决呢?
谢谢您
linux无法导入WindowsSelectorEventLoopPolicy
vnpy 2.3.0
测试了一下,报这个错误。
应该怎么弄呢?
from vnpy_rest import RestClient, Request, Response
ImportError: cannot import name 'Response' from 'vnpy_rest' (C:\ProgramData\Miniconda3\envs\vnpy\lib\site-packages\vnpy_rest_init_.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.