Open leonexu opened 2 years ago
If in the training period, the cryptocurrency market is mainly one-side rising, the agents may find that buy-and-hold is the best strategy. Using normal technical indicators such as macd, rsi, cci and so on, it is hard for agents to learn how to do trend trading when the market is mainly one-sided. To fix this, you may try the following methods:
Thanks for your response very much. However, the model can sell during the training. My training dataset is 9/1-9/15, my test dataset is 9/16-9/30. Are the training and inference models the same?
During the training, the agent has exploratory actions. During the testing/trading, it takes the best actions. Your case is probably because the agent tries to sell during the training but finds the return is worse. So it doesn't sell during testing/trading.
Hello, I tested the code Demo_MultipleCryptoTrading.ipynb for trading cryptocurrency. It seems that the model only buys without selling at all - the action is always positive (corresponding to buying). The initial balance is 100000. ![6d456a4bbb8869d1e7c79e9b61891bd3](https://user-images.githubusercontent.com/5246067/145134175-c411eeba-00f5-4079-b0f4-f6f16fbee688.jpg) Is this something buggy and can you please help to fix it?