getSpread: Return spread for a given bond trade

Description Usage Arguments Value

View source: R/tcost.R

Description

Return spread for a given bond trade

Usage

1
getSpread(term, volume, instrument, liquidity)

Arguments

term

Bond's term to maturity in years

volume

Volume of trade in millions

instrument

Name of instrument

liquidity

Liquidity data object

Value

Spread in percentage


solavrov/tcost documentation built on May 17, 2019, 5:53 p.m.