I’ve downloaded 10,000 lines of 6hour data on ADAUSDT from Binance, since 2018-04-17 which is when it started trading on that platform. I’ve processed it into set of returns over various timeframes, some lagged returns, an indicator or two and worked out a target for each row. Given a close price for any candle (ohlc data for a single time period) the target is 1 if the close price of any candle over the next 5 days is more than 1% higher, and 0 if not. Running xgboost on this data, with two thirds for training and one third for testing, the resulting confusion matrix is:
| Predicted Negative | Predicted Positive | |
| True Negative (0) | 291 | 508 |
| True Positive (1) | 147 | 2308 |
Not too bad. I’ll work on reducing the false positives, but at this stage I haven’t included the RL network to critique the overall trading environment, and maybe that will reduce the risk of trading on false signals.
I used the trained model to make a prediction about the latest price. It predicts that ADAUSDT will be at least 1% higher than it is now sometime over the next five days. Mirabile dictu!


