Yes, it can, with a few minor difficulties.
To start with, you need to choose the currency of your Portfolios and
Account. Other wise it will default to USD.
also, you will want to specify your instruments correctly. they are
of type exchange_rate. See documentation and examples in the
FinancialInstrument package.
Brian
On 10/12/2014 04:39 PM, ce wrote:
Sorry for the double post.
I would like to know it blotter package can be used to calculate
performance/returns of a portfolio mixed with cross currencies like GBP.EUR ,
CAD.CHF ?
I can create a stock with
stock("GBP",currency="EUR",multiplier=1)
but functions like PortfReturns , getEndEq don't seem to care about currency ?
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should
go.