-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TALib.jl should support JuliaTS #6
Comments
using DataFrames
using JuliaTS
using TimeSeries
# read as DataFrame from DataFrames.jl https://github.com/JuliaStats/DataFrames.jl
dfOHLCV = readtable("ford_2012.csv");
dfOHLCV[:Date] = Date(dfOHLCV[:Date]);
# read as timeseries
tsOHLCV = readtimearray("ford_2012.csv");
# dataframe to TArray
ta = TArray((:Date,), [n=>dfOHLCV[n] for n in names(dfOHLCV)]...)
# timeseries to TArray
ta = TArray((:Date,), :Date=>tsOHLCV.timestamp, [symbol(n)=>tsOHLCV[n].values for n in colnames(tsOHLCV)]...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JuliaTS (time series and relational algebra operations over NDSparseData) support may also be considered for level 2 API for this Julia TA-Lib wrapper.
see tanmaykm/JuliaTS.jl#4
The text was updated successfully, but these errors were encountered: