[R-SIG-Finance] blotter getting getEndEq(account, CurrentDate) by Symbol

Brian G. Peterson brian at braverock.com
Sun Feb 27 22:19:57 CET 2011


On 02/27/2011 03:13 PM, Immanuel wrote:
> Hello all,
>
> I'm desperedly trying to getEndEq(account, CurrentDate) for
> one symbol. I found that .getBySymbol() internal is used by
> PortfReturns() but I only got:
>
>> .getBySymbol(Portfolio = Portfolio, Attribute = "Net.Trading.PL",Dates
> = CurrentDate)
> Error: could not find function ".getBySymbol"
>
> which I don't understand since ?.getBySymol shows the R Help
>
> can anyone help me out?
>
> thanks&  regards,
> Immanuel

the .functions are not exported, so you need to call it explicitly

blotter:::.getBySymbol



More information about the R-SIG-Finance mailing list