• Stars
    star
    477
  • Rank 92,112 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Update

We have a discord where we discuss about Algotrading. Join us here
Also sign up for our newsletter

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

python3 -m http.server 8000

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

More Repositories

1

music-as-data

A Live Programming language for music
Clojure
346
star
2

DAOETH_Arb

Algotrading and arbitrage for DAO and Ethereum
Python
13
star
3

commitment_of_traders

Parsing COT (Commitment of Traders)
HTML
12
star
4

fbconnect-web2py

A "facebook connect" proof of concept for web2py
Python
11
star
5

async_drv

async erlang driver example
C
7
star
6

pyamazon

A python library for accessing Amazon Product API
Python
7
star
7

pyHEC

Sending data using Python to Splunk using HTTP Event Collector (HEC)
Python
4
star
8

ethereum_contracts

My ethereum contracts / coins
4
star
9

jonio_website

JonIO Website
CSS
3
star
10

processingjs-examples

Examples for processingjs presentation
JavaScript
3
star
11

metrofinder

Finds how many and which metros and trains you must change to reach your destination (in Greece). Also displays a time approximation
Java
3
star
12

eternity-demoscene

Eternity - demoscene
C++
3
star
13

ldb

LDB
JavaScript
2
star
14

Cuby

A looks-like C in Ruby DSL
Ruby
2
star
15

images-and-code

A comic distributed in javascript!
JavaScript
2
star
16

tradershell

Interactive shell to calculate positions in the stock market
Python
2
star
17

mad-js

music-as-data in the browser
2
star
18

SuprematismML

Python
1
star
19

parity_raspberrypi

Parity binary for Raspberrypi
1
star
20

trail

Jot down your thoughts during development
Shell
1
star
21

quantbase-r

A docker file for an image that has all the libraries for quantitative finance in R
Dockerfile
1
star
22

TrelloAnalytics

Exporting to csv the len of a list and then I Splunk this data
Jupyter Notebook
1
star
23

zerofund

ZeroFund files, documents and templates
JavaScript
1
star
24

jimemail

A personal bookmark service run on Appengine
Python
1
star
25

yasnippet-web2py

Snippets for web2py
1
star
26

bl-lang

BL Language | A story-telling programming language
Python
1
star
27

BugSenseExampleWithProguard

BugSense example with Proguard enabled
Java
1
star
28

ReplicationEngine

A very simple (yet effective) replication system
Erlang
1
star
29

jon.io

Jon.IO website
JavaScript
1
star