Code Monkey home page Code Monkey logo

forex-trader's Introduction

Forex-Trader

This is the code for developing an automated Forex trading system using Oanda as a broker. I plan to implement many features into this, so if you have anything you want to see, fell free to leave comments under issues.

List of planned features:

  • Fibonacci retracement and extenson levels
  • RSI indicator
  • Multi time frame analysis.

Getting started

DISCLAIMER! Forex trading carries a heavy amount of risk. Any and everything outlined in this code is for educational purposes only. I am not responsible for any of your losses or any hardships you may face as a result of using this code. Again, this is meant to be used ONLY for educational purposes.

You will need to install oandapyV20 and requests

This strategy is based on a 2 simple moving average cross. The TP/SL levels are set with support and resistance lines for the past candles.

  1. Create a demo account with Oanda and obtain an api key and make note of your account ID.
  2. Place your accountID and api key in their respective ares in the init.py file.
  3. Within init.py place the numbers you want for your 2 Simple Moving Averages in "SMAbig" and "SMAsmall".
  4. Depending on what your largest SMA is, you will need to set "count" to the same or more. I like to load in a few extra to alow for more data manipulation.
  5. Point your terminal to the project directory and run app.py in terminal with:

user$: python app.py

Your system should now be running!

forex-trader's People

Contributors

bgwrites avatar

Watchers

James Cloos avatar Rifatul Islam Chayon avatar

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.