tr8dr / r-tseries-patterns

trend / momentum and other patterns in financial timeseries
MIT License
10 stars 5 forks source link

Error objet '_tseriespatterns_label_direction' not found #1

Open LinuxpowerLudo opened 4 years ago

LinuxpowerLudo commented 4 years ago

Hi Jonathan,

I try your package but i have some mistakes...

install_github("tr8dr/r-tseries-patterns") library(tseriespatterns) getSymbols("AAPL", from="2001-1-1", src='yahoo') df = data.frame(time = index(AAPL), price = as.vector(AAPL[,'AAPL.Adjusted'])) obj <- AmplitudeBasedLabeler$new (minamp = 2000, Tinactive = 50) labels <- obj$label (df[200:1000,], time = "time") Error in label_direction(self$cumr, self$minamp, self$Tinactive) : objet '_tseriespatterns_label_direction' not found

Have you idea ?

Regards Ludo.

tr8dr commented 4 years ago

Hi, Sorry, I missed this question. It looks like the Rcpp library is not being found in your path. I did not encounter that on OSX or Linux, so suspect is a difficulty with Windows. I would need to get access to a windows box to check. Might be easier to get working in the python package.