An awesome bot that enables you to trade using SMA, Bollinger-bands, and Machine Learning strategies.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Being passionate about financial markets, I decided to create a bot for putting 'virtual' money in work through few strategies and test the efficiency of each one. I picked 2 technical analysis tools that I usually use to manually study trading patterns: the Moving Average and Bollinger-bands.
The bot is specifically tailored for some specific strategies. I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue.
A list of commonly used resources that I found helpful.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Get a free practice account at Oanda
- Get your account ID at [Oanda](My services -> Manage API Access -> Create API Key)
- Get your free API Key at [Oanda](Manage funds -> v20 Account Number)
- Clone the repository
git clone https://github.com/rom1trt/trading-bot.git
- Install python packages (using pip)
pip install numpy pip install pandas pip install sklearn pip install matplotlib pip install --upgrade git+https://github.com/yhilpisch/tpqoa.git
- Enter the corresponding API in
config_example.py
[oanda] account_id = ...-...-........-... access_token = ........................-.................... account_type = practice
- Rename the
oanda.cfg.example.cfg
tooanda.cfg
- Run the
main.py
file with the strategy you wish
I am not responsible for anything done with this bot.
You use it at your own risk.
There are no warranties or guarantees expressed or implied.
You assume all responsibility and liability.