I'm creating a back testing tool for trading, and after some reading determined that Monte Carlo Simulations can be a very good tool to establish the statistical significance of the initial results.
I don't have a complete understanding of how the algorithm looks like for statistical significance. I have tried to look for pseudo code or implementations that use MCS for statistical significance, this has not yielded any usable results.
I'm looking for an algorithm, sudocode, or pointer to an implementation, in pretty much any language, so I can have a boiler plate.
Additionally if anyone knows of good resources that talk about statistical significance and MCS Id very much appreciate it if you could drop them here.
Thanks in advance :)