Oanda account connection, order sending and data feed
Oanda Base Package
Uses the REST v20 API to access your Oanda account, send orders and receive data.
Create a virtual environment and activate it.
for ref: https://docs.python.org/3/tutorial/venv.html
pip install oandabase
.env file in the root folder and add your account number and token. You can add multiple accounts here e.g. live, practice, different accounts for different strategies etc. The classes in the
oanda.py module are setup to default to
token=PRACTICE_TOKEN, when writing strategies to use different accounts simply pass these as keyword arguments to replace the default ones.
.env to your .gitignore to keep your account details local.
Built to be a component of other systems. Read through the classes and they should explain themselves.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for oandabase-0.1.0-py3-none-any.whl