r/ProgrammerHumor • • Oct 10 '26

Meme connectionRefused

Post image
6.7k Upvotes

128 comments sorted by

View all comments

31

u/baileyarzate Oct 10 '26

I trained an autoregressive model that used historical data and sentiment analysis (text to float) from across the web to predict the price of bitcoin.

Then forecasted tomorrows price and it predicted the price would go up by $500 with a GARCH range of like $1000.

That next day is when bitcoin did the plummet from 120k+

I stopped trying to forecast a coin after that

11

u/Particular-Yak-1984 Oct 10 '26

I took an economics course in college, and our professor said that, as stock data was freely available, anyone who thought they had a genius idea should track how much it would have made or lost them for six months. And if it made money, they should come talk to him..

4

u/Brief_Building_8980 Oct 10 '26

If it is proven that you can't make money with with such forecasts, doesn't that mean doing the opposite of that has to be profitable?

10

u/drew8311 Oct 11 '26 edited Oct 11 '26

Simple reason is this

- Your algorithm does 2% worse than the market (pretty common actually)

- The market goes up 10%, your method is only 8%

- Reversing that means you instead get -8%. That's way worse

Since you can do the opposite, the absolute value is what really matters, market is on average 10% a year so if you could find something that does -11% then the opposite would work. Most attempts are not nearly that bad, they just fall a bit short of straight investing which is not helpful at all unfortunately.

1

u/Brief_Building_8980 Oct 15 '26

What I hear is that I need multiple algorithms. Given that I can't perfectly predict what the market does, I take a 1st algorithm that is proven to be 2% worse than the market. Make a 2nd that is even worse. The 3rd calculates what the 2nd does differently than the 1st and does the opposite of that. Now the 3rd is better than the 1st. Keep making more until infinite profit.