IndexCost: Index Cost

View source: R/IndexAdjustedCost.R

IndexCostR Documentation

Index Cost

Description

The Index Cost is the difference between the average execution price and the price of the Index (or ETF) at the time the order was entered into the market, ie. the Arrival Price.

Usage

IndexCost(Portfolio, IndexSymbol)

Arguments

Portfolio

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

IndexSymbol

An instrument identifier for an index used for adjusting a stock's Arrival Cost (typicall ETF)

Details

To get the index VWAP of one does not have the underlying trades and weightings, a commonly used proxy is an ETF tracking the relevant index.

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.