Coder Social home page Coder Social logo

digideskio / forex_algotrading Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonromero/forex_algotrading

0.0 0.0 0.0 46.85 MB

My Forex algotrading platform in Python - based on my posts at http://jon.io

License: MIT License

HTML 10.92% Python 89.08%

forex_algotrading's Introduction

Forex-algotrading

This is the code for the Forex algotrading platform I am building on http://jon.io. Go there and read the posts!

Feel free to pull and submit any patches you like

Installation

Open runner.py and put your own OANDA_ACCESS_TOKEN and OANDA_ACCOUNT_ID. Read http://jon.io/forex-brokers.html on how to get those or the documentation in Oanda.

Now let's create a virtualevn in order to install any dependancies:

virtualenv /tmp/falgo

Let's activate the env

source /tmp/falgo/bin/activate

Switch to the directory

cd falgo

Install dependencies

pip install -r requirements.txt

Start it up!

python runner.py

Running Machine Learning

First of all, download some data to play around or unzip and use the dataset in data/sample.csv.zip. This contains data for EURUSD for 2014 and a couple of months for 2015.

Then run the ml.py

python ml.py data/sample.csv

When the algorithm completes, start a python webserver

python -m SimpleHTTPServer

and open your browser to http://0.0.0.0:8000/chart.html

For any questions, ping me on twitter @jonromero or http://jon.io

forex_algotrading's People

Contributors

jonromero 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.