Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
log: week 6
Browse files Browse the repository at this point in the history
  • Loading branch information
filangelos committed May 28, 2018
1 parent 517561d commit f4c0206
Show file tree
Hide file tree
Showing 5 changed files with 582 additions and 3 deletions.
21 changes: 21 additions & 0 deletions config/log/week_6.yaml
@@ -0,0 +1,21 @@
# universe start date
start_date: "2017-01-01"
# trading frequency
freq: 'W-FRI'
# trading stocks
tickers:
- 'AAPL'
- 'GE'
- 'JPM'
- 'MSFT'
- 'GS'
- 'MMM'
# csv filename
csv_file_returns: 'db/returns.csv'
csv_file_prices: 'db/prices.csv'
# number of episodes
num_episodes: 250
# number of neurons in hidden layer
hidden_layer: 50
# replay memory capacity
capacity: 3000
2 changes: 1 addition & 1 deletion docs/FYP.Schedule.md
Expand Up @@ -60,7 +60,7 @@
## [30.04.18 - 06.05.18 | Week 6](../log/week_6.ipynb)

- [ ] **`Agent::model-free::DQN`**
- [ ] LONG
- [ ] binary trader
- [ ] market data

## [07.05.18 - 13.05.18 | Week 7](../log/week_7.ipynb)
Expand Down
558 changes: 557 additions & 1 deletion log/week_6.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions qtrader/agents/rnn.py
Expand Up @@ -6,6 +6,7 @@
from qtrader.agents.base import Agent
from qtrader.utils.numpy import softmax
from qtrader.utils import rolling2d
from qtrader.utils.pandas import clean


class RNNAgent(Agent):
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Expand Up @@ -2,4 +2,5 @@ h5py==2.8.0rc1
jupyter
rise
pylint
autopep8
autopep8
ipykernel

0 comments on commit f4c0206

Please sign in to comment.