Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
noootown committed Apr 7, 2017
0 parents commit 48ed8e9
Show file tree
Hide file tree
Showing 16 changed files with 1,539 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.idea/

# Python
train/__pycache__/
*.pyc

# data
/data/

config.py
686 changes: 686 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Forex-DQN

This project is build to trade forex automatically. It is build upon the concept of DQN (Deep Q Network) and projects below.

- [MorvanZhou/Tutorials](https://github.com/MorvanZhou/tutorials)
- [devsisters/DQN-tensorflow](https://github.com/devsisters/DQN-tensorflow)

## Features
- Support tensorboard

![](./pic/summary1.png)

![](./pic/summary2.png)

## Installation

```
pip3 install -r requirements.txt
```

## Config (Required)

You must create your own config ```train/config.py```. To check the format of the config, you can take a look at ```train/config-tmpl.py```

## Script

#### Train

```
python3 train/index.py
```

#### Help

```
python3 train/index.py -h
```

## LICENSE

#### GPL-3.0
1 change: 1 addition & 0 deletions candles/2017-01-01.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions candles/2017-01-08.json

Large diffs are not rendered by default.

Binary file added pic/summary1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pic/summary2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
appdirs==1.4.2
APScheduler==3.3.1
atari-py==0.0.18
box2d-py==2.3.1
cycler==0.10.0
gym==0.8.0
imageio==2.1.2
Keras==1.2.2
matplotlib==2.0.0
mujoco-py==0.5.7
numpy==1.12.0
olefile==0.44
pachi-py==0.0.21
packaging==16.8
pandas==0.19.2
Pillow==4.0.0
protobuf==3.2.0
pyglet==1.2.4
PyOpenGL==3.1.0
pyparsing==2.1.10
python-dateutil==2.6.0
pytz==2016.10
PyYAML==3.12
requests==2.13.0
scikit-learn==0.18.1
scipy==0.19.0
six==1.10.0
sklearn==0.0
tensorflow==1.0.0
termcolor==1.1.0
Theano==0.8.2
tqdm==4.11.2
tzlocal==1.3
Loading

0 comments on commit 48ed8e9

Please sign in to comment.