Comments (3)
You right, I shouldn't do this while testing
from rl-bitcoin-trading-bot.
I don't think it's wrong if you look at the way that the choice method works. It selects one of the actions based on the probability set by the prediction. The reasoning for it in training makes sense but for testing I can't be sure. It does seem like it might randomly choose something that will cause it to lose.
from rl-bitcoin-trading-bot.
I realised this also and tried different things.
Random choice works well with training but testing becomes better with a number.
Best result I could achieve was to make the action when the probability/prediction is more than 67%.
from rl-bitcoin-trading-bot.
Related Issues (20)
- Might be Uncomplete
- Not clear if it is learning HOT 1
- critic_PPO2_loss
- The machine becomes worse, instead of improving
- Lookahead Bias HOT 3
- Problem with visualizing img with OpenCV in utils.py
- preventing model from updating parameters while testing
- problem with train_agent and self.get_gaes HOT 3
- multiprocessing is slow and doesn't use much GPU HOT 8
- buy and sell placed on same day when visualizing HOT 1
- Gaes fees HOT 3
- Utils - Unpacking the deque Render_data list without using a specific index HOT 3
- np.random.choice(self.action_space, p=prediction)
- Errors in deduction of fees - fees are actually not applied at all
- 'Adam' object has no attribute 'get_updates' HOT 3
- Binance implementation HOT 5
- Indicators HOT 1
- Nomalizing data
- get_reward() returns None, later results in exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rl-bitcoin-trading-bot.