Skip to content
Prev 7087 / 15274 Next

adjustedPrice or raw Price in blotter

blotter calls getPrice.  If you look at the documentation and code for
getPrice, you can pass a 'prefer' argument to use whatever column you want.

The way that you've adjusted it means that it will get the adjusted price,
though.  I don't think you need to do anything else.

If your adjusted series is named for the symbol, then that is the price
that blotter will find.  You can of course verify this by calling that
code:

getPrice(get(symbol, envir=as.environment(.GlobalEnv)))

and I think you will see the adjusted price.  If not, experiment with the
prefer= argument or provide us with a reproducible example we can work from
to help you further.

Regards,

  - Brian

Regards,

  - Brian
On Sat, 11 Dec 2010 11:12:07 -0800, Lei Jin <leijin56 at gmail.com> wrote:
=================================================================================
=================================================================================