Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
femtotrader committed Apr 27, 2024
1 parent a1dceee commit a6c6952
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/notebooks/teardown.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ end
# ╔═╡ 04894092-b9c4-42d8-87b2-b530de95736c
returns

# ╔═╡ 2a8b580d-349a-4766-baba-c3b48622084f
returns.coredata

# ╔═╡ Cell order:
# ╠═a1861f50-046e-11ef-348b-cb9f60ea0d1b
# ╠═accbd5bc-4976-48cf-91c1-e12b62a94edf
Expand All @@ -98,3 +101,4 @@ returns
# ╠═ac56bb3d-0732-4536-bb81-594643c31935
# ╠═c61cb98d-b0ea-4bf5-a0b4-11b925b18e0d
# ╠═04894092-b9c4-42d8-87b2-b530de95736c
# ╠═2a8b580d-349a-4766-baba-c3b48622084f
2 changes: 1 addition & 1 deletion src/cumulative_return.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mutable struct CumulativeReturn{T} <: PortfolioAnalyticsSingleOutput{T}

function CumulativeReturn{T}() where {T}
val = zero(T)
p = Prod()
p = Prod(T)
new{T}(val, 0, p)
end
end
Expand Down

0 comments on commit a6c6952

Please sign in to comment.