Quantitative Finance in Julia

How do i make a matrix with different lenghts for correlation

DimensionMismatch: inconsistent lengths

  1. corm(::SubArray{Float64, 1, Vector{Float64}, Tuple{Vector{Int64}}, false}, ::Float64, ::SubArray{Float64, 1, Vector{Float64}, Tuple{Vector{Int64}}, false}, ::Float64)@Statistics.jl:703
  2. cor(::SubArray{Float64, 1, Vector{Float64}, Tuple{Vector{Int64}}, false}, ::SubArray{Float64, 1, Vector{Float64}, Tuple{Vector{Int64}}, false})@Statistics.jl:747
  3. top-level scope@Local: 1 [inlined]

1

cor(CHFadj[(“CHFAUD”,)].adjclose,CHFadj[(“CHFBRL”,)].adjclose)


type Array has no field adjclose

  1. getproperty@Base.jl:37 [inlined]
  2. top-level scope@Local: 1 [inlined]

1