When training your AI, it will use 5 months of backtested data, based on 5-minute intervals. When you use the AI strategy in a trading bot, it will add the new data to the training results you already have. Therefore, the longer you run the AI, the more data it will accumulate to determine when to open or close new positions.
Read more about 'What to consider when training your Algorithm Intelligence Strategy'.