Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit f6a50e1

Browse files
committed
improve simulation
1 parent 91c8fbf commit f6a50e1

9 files changed

+534
-1270
lines changed

README.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -187,24 +187,6 @@ I code [LSTM Recurrent Neural Network](deep-learning/1.lstm.ipynb) and [Simple s
187187

188188
<img src="output-agent/abcd-strategy.png" width="70%" align="">
189189

190-
### Results free agent
191-
192-
**This agent able to buy or sell N-units per transaction.**
193-
194-
evolution strategy agent [evolution-strategy-agent.ipynb](free-agent/evolution-strategy-agent.ipynb)
195-
196-
```text
197-
total gained 11037.529911, total investment 110.375299 %
198-
```
199-
200-
evolution strategy with bayesian agent [evolution-strategy-bayesian-agent.ipynb](free-agent/evolution-strategy-bayesian-agent.ipynb)
201-
202-
```text
203-
total gained 13295.469683, total investment 132.954697 %
204-
```
205-
206-
<img src="output/tesla-nes.png" width="70%" align="">
207-
208190
### Results signal prediction
209191

210192
I will cut the dataset to train and test datasets,
@@ -242,13 +224,13 @@ So we will let the model do forecasting based on last 15 hours, and we will goin
242224

243225
### Results simulation
244226

245-
1. Stock market simulation using Monte Carlo
227+
1. Simple Monte Carlo
246228

247-
<img src="simulation/monte-carlo.png" width="70%" align="">
229+
<img src="simulation/monte-carlo-simple.png" width="70%" align="">
248230

249-
2. Stock market simulation using Monte Carlo Markov Chain Metropolis-Hasting
231+
2. Dynamic volatity Monte Carlo
250232

251-
<img src="simulation/mcmc.png" width="70%" align="">
233+
<img src="simulation/monte-carlo-dynamic-volatility.png" width="70%" align="">
252234

253235
3. Portfolio optimization
254236

simulation/mcmc-stock-market.ipynb

Lines changed: 0 additions & 790 deletions
This file was deleted.

simulation/mcmc.png

-30.8 KB
Binary file not shown.

simulation/monte-carlo-dynamic-volatility.ipynb

Lines changed: 265 additions & 0 deletions
Large diffs are not rendered by default.
155 KB
Loading

simulation/monte-carlo-simple.ipynb

Lines changed: 265 additions & 0 deletions
Large diffs are not rendered by default.

simulation/monte-carlo-simple.png

124 KB
Loading

simulation/monte-carlo.png

-53.4 KB
Binary file not shown.

simulation/stock-forecasting-monte-carlo.ipynb

Lines changed: 0 additions & 458 deletions
This file was deleted.

0 commit comments

Comments
 (0)