Description Usage Arguments Value Author(s) Examples
Converts timestamps in milliseconds to corresponding date strings.
1 |
time |
One dimensional vector of milliseconds since the beginning of epoch. |
One dimensional vector of time values in "yyyy-MM-dd hh:mm:ss" string format.
Kostin Andrey <andrey.kostin@portfolioeffect.com>
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(aapl.data)
data(goog.data)
data(spy.data)
portfolio=portfolio_create(priceDataIx=spy.data)
portfolio_settings(portfolio,windowLength = '3600s',resultsSamplingInterval='60s')
positionGOOG=position_add(portfolio,'GOOG',100,priceData=goog.data)
positionAAPL=position_add(portfolio,'AAPL',300,priceData=aapl.data)
util_POSIXTimeToDate(compute(kurtosis(portfolio))[[1]][,1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.