dailyTxnPL: generate daily Transaction Realized or Equity Curve P&L by...

Description Usage Arguments Details Value Author(s) See Also

Description

designed to collate information for high frequency portfolios

Usage

1
2
3
dailyTxnPL(Portfolios, Symbols, drop.time = TRUE)

dailyEqPL(Portfolios, Symbols, drop.time = TRUE)

Arguments

Portfolios

portfolio string

Symbols

character vector of symbol strings

drop.time

remove time component of POSIX datestamp (if any), default TRUE

Details

If you do not pass Symbols, then all symbols in the provided Portfolios will be used.

The daily P&L is calculated from Net.Txn.Realized.PL if by dailyTxnPL and from Net.Trading.PL by dailyEqPL

Value

a multi-column xts time series, one column per symbol, one row per day

Author(s)

Brian G. Peterson

See Also

tradeStats



Search within the blotter package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.