panditanvita / BTCpredictor

Bitcoin price prediction algorithm using bayesian regression techniques
MIT License
320 stars 113 forks source link

Problem running algotrading #6

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello! Thanks a lot for this program.

I can't figure why algotrading.m is running wrong. Here you have the new version I downloaded a few days ago. algotrading

When I test the older version, I obtain this result, but nothing else happen. algotrading_old

Please help!

panditanvita commented 7 years ago

Looking at line 119 in algotrading.m - looks like the definition of numPoints got moved after the use of numPoints as an rvalue. I moved it back up, so that should be fixed now. I don't have MATLAB anymore so I can't run it myself and see.

Once it finishes running correctly, you should see a graph of trades, similar to what is shown in the README