Description Usage Arguments Details Value Note Author(s) See Also Examples
estAd
returns values in Adjusted column if it
exists, or it's best guess if it doesn't
1 |
x |
xts object |
symbol |
character string |
prefer |
for |
If prefer
is not NULL, estAd
will simply
call getPrice
with symbol
and
prefer
. Otherwise, estAd
will look for
"adjusted", "close", "mid", "price", "trade", in that
order. If and only if those columns cannot be found,
symbol
will be passed in a call to getPrice
xts object with only one column of prices
case insensitive
Garrett See
getPrice
, Op, Hi, Lo, Cl
, Bi,
As, Mi
, Tr
1 2 3 4 5 | ## Not run:
getSymbols('SPY')
estAd(SPY)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.