trdPrcPerf: Trading Price Performance

View source: R/trdPrcPerf.R

trdPrcPerfR Documentation

Trading Price Performance

Description

Trading Price Performance or trading PnL is the measure of cost during trading and tell whether the investor did better or worse as compared to arrival price.

Usage

trdPrcPerf(Portfolio, Symbol, side = "Buy")

Arguments

Portfolio

A portfolio name that points to a portfolio object structured with initPortf()

Symbol

An instrument identifier for a symbol included in the portfolio, e.g., "IBM"

side

string identifying either "Buy" or "Sell"

Value

A numeric value in basis points


braverock/blotter documentation built on Sept. 15, 2024, 8:45 p.m.