oandav20 is an unofficial Python SDK for Oanda v20 REST API in planning mode.
>>> from oandav20 import Oanda >>> >>> o = Oanda("DEMO", "oanda_access_token", "oanda_account_id") >>> o.create_order("MARKET", "EUR_USD", "BUY", 10000, own_id="EUR_USD_1") True >>> o.close_trade(own_id="EUR_USD_1") True >>> >>> # Close the HTTP session connection with Oanda >>> o.client.close()
To install oandav20 you need Python 3.5.x and above because of using type hints (new feature in Python 3.5).
$ pip install oandav20
Apart from the basics (handling account, orders, trading etc.) there are also features such as:
Intended to implement:
Intended related projects:
Full documentation is placed in the docs folder.
The latest version 0.2.0 covers the minimum to run and keep an automatic trading software in my opinion.
The stable/production 1.0.0 will be released as soon as:
If you’ve found a bug or want to suggest new features, please feel free to use Issue Tracker.
All new features, changes and bug fixes of each versions are convered in the CHANGELOG.
oandav20 is licensed under the terms of the MIT License, for more details see the LICENSE.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.
TODO: Brief introduction on what you do with files - including link to relevant help section.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|oandav20-0.2.0-py3-none-any.whl (18.2 kB) Copy SHA256 Checksum SHA256||3.5||Wheel||Aug 19, 2016|
|oandav20-0.2.0.tar.gz (13.5 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 19, 2016|