Hacker News new | ask | show | jobs
by ikeboy 3086 days ago
Choosing from the top 250 now biases it upwards.

If you did the same for the top 250 stocks by market cap you should significantly beat the market with the same methods.

Also, not all these coins were around a year ago. Does the code handle that or just return nonsense? Edit: trying manually returns "Oh Nooooo!!! I just broke the blockchain. Please try again."

3 comments

Yes. Current top 250 are the ones who survived and succeeded. It would not show what would have happened if you invested in 6 random coins. A better approach would be to choose from the top 250 at time of purchase.
Thanks for the input. It picks randomly from the list; if the coin is not listed at that time it chose another one until fits. "Oh Nooo" error is returned when cryptocompare api fails.
If you want to fix the bias issue, take the top 250 from a year ago and choose randomly from them.
I got that error by putting in NMR manually into the URL in another comment here from January 31 2017.
No wonder it seems like you can't lose money. Thanks.