Skip to content

Data-driven trading bot based on Technical Indicators (Moving Average, Bollinger Bands) and Machine Learning strategies

Notifications You must be signed in to change notification settings

rom1trt/trading-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Data-driven Trading Bot

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
  1. About The Project
  2. Getting Started
  3. Disclaimer

About The Project

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.

Built With

  • Jupyter Notebook
  • Anaconda
  • Python

Getting Started

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.

Installation

  1. Get a free practice account at Oanda
  2. Get your account ID at [Oanda](My services -> Manage API Access -> Create API Key)
  3. Get your free API Key at [Oanda](Manage funds -> v20 Account Number)
  4. Clone the repository
    git clone https://github.com/rom1trt/trading-bot.git
  5. 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
  6. Enter the corresponding API in config_example.py
    [oanda]
     account_id = ...-...-........-...
     access_token = ........................-....................
     account_type = practice
  7. Rename the oanda.cfg.example.cfg to oanda.cfg
  8. Run the main.py file with the strategy you wish

DISCLAIMER

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.

About

Data-driven trading bot based on Technical Indicators (Moving Average, Bollinger Bands) and Machine Learning strategies

Topics

Resources

Stars

Watchers

Forks