price: Get Asset Price

Description Usage Arguments Value Author(s) Examples

View source: R/metrics.R

Description

Method returns active list of settings of a given estimator.

Usage

1
price(estimator)

Arguments

estimator

Estimator object created using estimator_create( ) function

Value

numeric vector of prices.

Author(s)

Kostin Andrey <andrey.kostin@portfolioeffect.com>

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
dateStart = "2014-11-17 09:30:00"
dateEnd = "2014-11-17 16:00:00"
estimator=estimator_create('AAPL',dateStart,dateEnd)
estimator_settings(estimator,resultsSamplingInterval='60s')
AAPL=price(estimator)
util_plot2d(AAPL,title='AAPL')

## End(Not run)

PortfolioEffectEstim documentation built on May 2, 2019, 8:50 a.m.