Mohammad Amin Haghpanah
Mohammad Amin Haghpanah
1. Yes, because Crypto is designed similar to Forex pairs. For example in Bitcoin, you can trade with BTC/USD or BTC/ETH pairs. 2. I'm not sure if it is normal,...
Hi @sword134, Thank you for sharing this link. It looks interstring!
Hi, @dlemosmartins. Thanks, I hope you are doing well! Yes, it is possible. You just need to put your daily data into a data frame and pass it to the...
You can override some methods to reach your goal. But, it takes much time and can be hard. I was thinking about breaking the whole period into daily periods and...
Hi, again. I hope you are doing fine! About the second picture, the actual trade only happens when the position changes. So, having like 100 buy actions in a row...
Hi @0trade. It seems like you are training your model with 48 hours of data. Then, test it 5000 times on the same env. I think this is wrong. You...
Hi, @dlemosmartins Before going to write everything from scratch, I suggest using some RL libraries like `stable_baselines`. I have already put an example [here](https://github.com/AminHP/gym-anytrading/blob/master/examples/a2c_quantstats.ipynb) in the new release of `gym-anytrading`...
For the LSTM network, you don't need to reshape the state. Pass it to the model without reshaping.
The input_shape for the LSTM network must be something like this: (batch_size, window, n_features) So, if you want to pass only **one** sample to the network, you should use the...
In the `replay` method, you can pass the whole minibatch to the `model.predict` or `model.fit` methods, not just a single state.