ArrivalCost: Arrival Cost

View source: R/IndexAdjustedCost.R

ArrivalCostR Documentation

Arrival Cost

Description

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.

Usage

ArrivalCost(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"

Details

Positive means a cost, negative means a saving.

Value

A numeric value in basis points


braverock/blotter documentation built on Feb. 13, 2023, 1 p.m.