A gym environment for reinforcement training on forex historical data.
Project description
#gym-gopherfx
A gym environment for reinforcement training on forex historical data.
Historical data is no way a predictor of future behaviour in forex, but can be used as challenging science experiment :).
##How to run Clone the repo `bash docker-compose up -d `
Access [http://127.0.0.1:8050/](http://127.0.0.1:8050/) to access the dashboard.
To start a random agent and see live evolutions: `bash python random_agent.py `
##About the environment
The available actions are: * 0 - wait * 1 - buy * 2 - sell
Reward: * 0 - for waiting/buying * trade_result - for selling * -1 - when depleting the budget
The episodes ends when the trading day is over or the budget is depleted.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gym_gopherfx-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d2e2df03c4d7d728472c35968dc7f20ca2be3916adbf43b7c359f3ae84a0ea |
|
MD5 | bf0a30131c37b9b6d754d6b64d0100f8 |
|
BLAKE2b-256 | a726c7c9f326cd156371fdca53ee86a7491792224a4451fee74588e9e3b2d85e |