Code Monkey home page Code Monkey logo

oanda-trading-environment's Issues

Install issue

Hello, I would like to use you daemon, but even after adding account id and access token to OANDAd.cfg during setup I get this error:


*** Please add the OANDA-user first to your system ***
*** missing: username: oanda, group: oanda ***


Then I tried to fill in some arbitrary data for user and group, but I still get the same error. Seems like a bug because in the readme it is noted that only account id and access token are needed to start using the app.

I tried pip installing as well while my virtual env is active. I have no idea where does the app get installed because I cannot import it, or find it in the installed modules.

I am using a conda virtual env. with python 2.7 on Ubunti 16.10.
Hope to get an answer, seems like a very useful library.

Ansible deployment issues

Referring #2

Ansible version 2.2.0 gives an error when deploying the ote.yml playbook:

failed: [localhost] (item=[u'packages']) => {"failed": true, "item": ["packages"], "msg": "No package matching 'packages' is available"}

setup.py install raises "invalid token" error

Getting below error while installing... working with Python 3.7.5

(venv) C:\Users\user\source\repos\oanda\oanda-trading-environment>python setup.py install
  File "setup.py", line 17
    "etc/OANDA": 0700,
                    ^
SyntaxError: invalid token

neworder.py syntax error

Line 35 is currently: "api = API(access_token=token)" but it should be: "api = API(access_token=token, headers={"Content-Type": "application/json"})

It also might be a good idea to add: "environment="practice"" so that if somebody executed this program and doesn't notice that it is in a live environment they don't get financially hurt.

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.