Most platforms offer "walk-forward" analysis now. Always reserve 20% of your historical data that the software has never seen to validate your bot before going live.