Comments (4)
另外还有个问题,在运行vn.oanda/test.py的时候,应该怎么退出?(按ctrl+c没有作用)
from vnpy.
- OANDA的API是基于REST的实现,没有登录验证这个过程,所以也无法知道token是否正确
- 检查是否选择了正确的环境:测试和实盘
- 直接杀进程(关闭cmd),这个test是用来测试和演示的,没有做退出函数
from vnpy.
检查是否选择了正确的环境:测试和实盘
这里选择的是practice,需要实盘才可以有数据流入?
from vnpy.
没,如果你是practice,就要保证用的账户和token都是practice的,实盘也是一样,否则可能就会出错。
另外注意因为这是基于HTTP协议的REST API实现,所以和网页相关的屏蔽都可能影响到API的工作,比如防火墙、公司统一代理路由等等。
from vnpy.
Related Issues (20)
- 3.9.0 运行run.py报错 HOT 4
- 在class EventEngine中的_run_timer方法可能存在bug HOT 2
- 建议增加Dockerfile和requirements-optional.txt
- 关于CTA回测成交记录异常的咨询 HOT 3
- 关于CTA回测-K线图表持仓显示数值太小的建议 HOT 1
- PySide6升级注意事项
- 回测停止单被错误触发 HOT 1
- windows install bug HOT 1
- vnpy3.9.1无法安装ta-lib HOT 2
- 回测打印order.reference显示空白
- run.py 跑不起来,Library not loaded: @rpath/thostmduserapi_se.framework/Versions/A/thostmduserapi_se HOT 2
- windows本地安装报错 HOT 1
- 怎么visual studio 使用编译vnpy_ctp HOT 1
- mac无法使用vpny_ctp/vnpy_ctptest HOT 1
- MacOS+Pyrhon3.10.14+Vnpy3.9.1 安装错误(vnpy_ctp) HOT 2
- 请问我们能不能在VSCODE下运行,有没有帮助视频,或者说明文档 HOT 2
- 增加数组管理器ArrayManager 的动态行为
- 关于翻墙 HOT 1
- 想要交易加密货币的社区用户,欢迎关注VeighNa Evo项目!!!
- 配置环境失败 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vnpy.