Here is a playlist of short videos from a guy called Martyn Tinsley on subjects such as sample size, optimisation, backtesting and the use of power analysis.
I hope it is useful

https://youtu.be/wqhnFX_HZk4?si=345v3WvJ-cAs6vcJ
I backtest, but I prefer to divide that term into analysis (with static data probably in Excel), and simulation (with software and a saved price stream). Most people would have to settle for just the first but that's still better than nothing. The most important thing above anything else is to periodically randomly divide your data into an analysis set and a test set. That gives you a previously unseen set of data to test against and ensures you're not backfitting. People often thing the key to avoiding backfitting is just to use a vast sample but that's not the case at all.Frontier wrote: ↑Thu Sep 21, 2023 5:31 pmI am not the biggest fan of backtesting. The more parameters added to a system, the more likely of curve fitting the data to the results. The playlist of videos above shows this all too well.
However, say you do no backtesting but have an idea. Using very small stakes in order to record real results in the market, it would seem looking at the info from the video playlist above, that a decent amount of sample size is required to see if your idea truly has an edge or if it is just a random walk.
Does anyone have any further tips/advice on this area of testing?
Cheers![]()
I wrote my own using C#, SQL as the database and the libraries Betfair provide. Took me a while because it was the first part of a whole trading system.
ShaunWhite wrote: ↑Thu Sep 21, 2023 9:38 pmI wrote my own using C#, SQL as the database and the libraries Betfair provide. Took me a while because it was the first part of a whole trading system.
https://developer.betfair.com/en/exchange-api/
https://docs.developer.betfair.com/
But there's open source you can use if you know Python with recording, simulation and trading facilities.
https://github.com/betcode-org/flumine