Thank you Dalla.
What about commision, slippage and spread?
I added this behind selecting the asset() but it does not change the win/loss ratio of 47%.
That is it. Nice. I adjusted the cointoss script accordingly to run 100 cycles and change the seed() to force different buy/sells but it consistently has more losers than winners. This does not make sense to me. Find attached a new graphic and script that shows the total amount of win/loss per cycle.
Maybe need to check the assetfix.csv to understand more.
I am not sure what to look out for. I attach that file too. Let's get to the bottom of it