View source: R/IndexAdjustedCost.R
ArrivalCost | R Documentation |
The Arrival Cost (or Trading Cost) is the difference between the average execution price and the price of the asset at the time the order was entered into the market, ie. the Arrival Price.
ArrivalCost(Portfolio, Symbol, side = "Buy")
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" |
Positive means a cost, negative means a saving.
A numeric value in basis points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.