Boulder-Investment-Technologies / lppls

Library for fitting the LPPLS model to data.
MIT License
356 stars 111 forks source link

Data_loader is undefined #47

Closed casuwu closed 3 years ago

casuwu commented 3 years ago

Hey there, I'm trying to run this code but with a btc data set, however, just running it out of the box I am faced with the error that data loader variable is not defined.

Joshwani commented 3 years ago

Hi @ErickDelgado, are you able to share the code snippet you're trying to run and the error message? I've been meaning to setup an issues template but haven't got around to it.

data_loader is meant to load an S&P 500 dataset, so it shouldn't be necessary if you're using your own data. Maybe I have a typo in the readme example or maybe something weird is going on with how you're importing the package modules.

casuwu commented 3 years ago

Well, I cloned the repo down and ran it as is, I suppose thats the issue. Ultimately I wanted to pump a csv of btc data through this method you've defined here. I'm also a novice with python, is there some init function I should invoke after I've cloned and downloaded the requisite packages? Appreciate your time, thanks.

casuwu commented 3 years ago

Trying to run your boilerplate code up until the first visualization gets printed, but it is erroring there. Here are some snippets of code and the error stack trace.

image image image

casuwu commented 3 years ago

Hey I figured out all my issues and managed to run your model through with a bitcoin dataset. Thanks for your time.