概要
http://jon.io の投稿をもとにした、Python 製の外国為替アルゴリズム取引プラットフォームです。
その他のプロジェクト計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
関連プロジェクトを探す
読み込み中…