Show HN: I discovered a trading algorithm that returns ~24.85% annually
121–130 of 134 posts
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#122Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#123Earlier quoted context omitted.
No offence, but how can you have spent any time trading without knowing about mean reversion? It's the most basic and well known phenomenon in trading, along with momentum.
there are a whole lot of people losing money in the markets while knowing all about prior art and terminology. There is a good reason successful hedge funds like RenTech are not hiring finance people but mathematicians who have no idea about "mean reversion" and other pseudo-scientific terms.
It’s definitely not the case that they want people to reinvent the wheel. Options pricing for example is a Nobel prize winning discovery.
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#124Earlier quoted context omitted.
You seem to know your stuff about this. Do you know any good starting points to learn about algorithmic trading? Any youtube channel or book?
If you’re looking for information on quantitative trading, and are considering relying on a YouTube channel, please just park your money in an index fund and go read about LTCM, Black Tuesday/Friday, Knight Capital, Orange County, and the Global Financial Crisis. Just remember, finance is not like betting on the ponies. It’s worse, because the odds aren’t posted.
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#125Check it out: https://www.golfforecast.co.uk/profitgraphs
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#126Earlier quoted context omitted.
Where do you take that uniform distribution from? I don’t think any ETF would conform to that.
> 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.
Backtesting is more likely to be meaningful. Am I missing something here?
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#127As others have said, "Average return is just one statistic". When trading, losses hit harder than wins. Go up 50% then down 50% and you're not even, you're down 25%. The degree of overestimation from this mean return -> "annualized return" calculation depends on what the returns distribution looks like. Here's the calculation used in main.js line 77 applied to a very extreme unrealistic example. I simulated 253 days…
> Go up 50% then down 50% and you're not even, you're down 25%. It helps if you measure in the right units[0], namely bits, orders of magnitude, or fractions thereof. Up 50% is log(1.5) = +0.58 bits, down 50% is log(0.5) = -1 bits, and indeed 0.58-1 = -0.42, or 1.5*0.5=0.75, down 25%. 0: Well, strictly speaking the problem is that up/down X% isn't even in units at all.
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#128Of course, this might be a rationalization of me not wanting to spend the time and effort to construct an effective trading strategy.
Re: Show HN: I discovered a trading algorithm that returns ~24.85% annually
#129Earlier quoted context omitted.
> 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.
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 ~24.85% annually
#130As others have said, "Average return is just one statistic". When trading, losses hit harder than wins. Go up 50% then down 50% and you're not even, you're down 25%. The degree of overestimation from this mean return -> "annualized return" calculation depends on what the returns distribution looks like. Here's the calculation used in main.js line 77 applied to a very extreme unrealistic example. I simulated 253 days…
Can you try it with the Laplace distribution? It's a bell curve like the normal distribution, but has fat tails. Extreme events aren't common, but much more common than with a normal distribution.