Skip to content
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

MACD doesn't work with more than one column #102

Closed
shivchawla opened this issue Oct 12, 2017 · 1 comment
Closed

MACD doesn't work with more than one column #102

shivchawla opened this issue Oct 12, 2017 · 1 comment

Comments

@shivchawla
Copy link
Contributor

I am using the macd functions but it crashes with an error in case of a time-series with two stocks.

ERROR: MethodError: no method matching macd(::TimeSeries.TimeArray{Float64,2,Date,Array{Float64,2}}, ::Int64, ::Int64, ::Int64)
Closest candidates are:
  macd(::TimeSeries.TimeArray{T,1,D,A} where A<:AbstractArray where D<:Base.Dates.TimeType, ::Int64, ::Int64, ::Int64) where T at /home/admin/.julia/v0.6/MarketTechnicals/src/momentum.jl:45
  macd(::TimeSeries.TimeArray{T,1,D,A} where A<:AbstractArray where D<:Base.Dates.TimeType, ::Int64, ::Int64) where T at /home/admin/.julia/v0.6/MarketTechnicals/src/momentum.jl:45
  macd(::TimeSeries.TimeArray{T,1,D,A} where A<:AbstractArray where D<:Base.Dates.TimeType, ::Int64) where T at /home/admin/.julia/v0.6/MarketTechnicals/src/momentum.jl:45
@shivchawla
Copy link
Contributor Author

Never Mind!! I have the wrong version installed. The latest version 0.5.1 has fixed the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant