anfederico / clairvoyant

Software designed to identify and monitor social/historical cues for short term stock movement
MIT License
2.42k stars 772 forks source link

Code seems incorrect #31

Closed mukesh12z closed 5 years ago

mukesh12z commented 5 years ago

in Engine.start for below code:

Xs = [ data.iloc[i][var] for var in self.features ]

features are mentioned as ["EMA","SSO"] # i assume we need to map them to X1, X2. iloc takes indexes as integers, it will not work as i.e; data.iloc[0]["EMA"] .

anfederico commented 5 years ago

The example data is not meant to go with the README tutorial. Therefore change EMA/SSO to X1/X2 respectively if you are using the example data.