News for hackers. Stuff that matters.
Re:Show HN: I discovered a trading algorithm that returns ~2... by jiofih on Sunday June 06, 2021 @04:27PM (#27416016)
Where do you take that uniform distribution from? I don’t think any ETF would conform to that.
Re:Show HN: I discovered a trading algorithm that returns ~2... by whoisburbansky on Sunday June 06, 2021 @06:33PM (#27416975)
> I chose uniformly distributed returns with a wide range to make the reason against this calculation very obvious.

The uniform distribution is a pedagogical choice, to explain why OP's average return calculation is misleading.

Re:Show HN: I discovered a trading algorithm that returns ~2... by jiofih on Monday June 07, 2021 @08:31AM (#27421781)
That’s the point - the choice of a normal distribution is misleading. It doesn’t model market behaviour on any time scale.

Backtesting is more likely to be meaningful. Am I missing something here?

Re:Show HN: I discovered a trading algorithm that returns ~2... by whoisburbansky on Monday June 07, 2021 @11:12AM (#27423520)
The question isn’t backtesting vs no backtesting. The question is do you use the arithmetic mean of daily returns as your metric or use the final return over the entire period. The arithmetic mean hides the fact that large downswings hurt your net return more than they would otherwise seem to, and is therefore misleading, making the strategy looking better than it actually is.