Created
January 12, 2014 14:38
-
-
Save milktrader/8385338 to your computer and use it in GitHub Desktop.
Lazy and Series
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> using Lazy, Series, MarketData | |
julia> head(cl) | |
1-element Array{SeriesPair{Date{ISOCalendar},Float64},1}: | |
1980-01-03 105.220 | |
julia> @> cl value log diff cumsum expm1 x -> x+1 x -> x[size(x,1)] | |
1.1647025280364955 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is annualized return, but not sure how to pass
505
in so this is hard-coded