Giter Site home page Giter Site logo

vtMain中oandaGateway的问题 about vnpy HOT 4 CLOSED

vnpy avatar vnpy commented on May 24, 2024
vtMain中oandaGateway的问题

from vnpy.

Comments (4)

hntee avatar hntee commented on May 24, 2024

另外还有个问题,在运行vn.oanda/test.py的时候,应该怎么退出?(按ctrl+c没有作用)

from vnpy.

vnpy avatar vnpy commented on May 24, 2024
  1. OANDA的API是基于REST的实现,没有登录验证这个过程,所以也无法知道token是否正确
  2. 检查是否选择了正确的环境:测试和实盘
  3. 直接杀进程(关闭cmd),这个test是用来测试和演示的,没有做退出函数

from vnpy.

hntee avatar hntee commented on May 24, 2024

检查是否选择了正确的环境:测试和实盘

这里选择的是practice,需要实盘才可以有数据流入?

from vnpy.

vnpy avatar vnpy commented on May 24, 2024

没,如果你是practice,就要保证用的账户和token都是practice的,实盘也是一样,否则可能就会出错。

另外注意因为这是基于HTTP协议的REST API实现,所以和网页相关的屏蔽都可能影响到API的工作,比如防火墙、公司统一代理路由等等。

from vnpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.