pennyPerShare: Example TxnFee cost function

Description Usage Arguments

View source: R/addTxn.R

Description

Example TxnFee cost function

Usage

1
pennyPerShare(TxnQty, ...)

Arguments

TxnQty

total units (such as shares or contracts) transacted. Positive values indicate a 'buy'; negative values indicate a 'sell' This is an example intended to demonstrate how a cost function could be used in place of a flat numeric fee.

...

any other passthrough parameters


cloudcell/blotter documentation built on May 13, 2019, 8:01 p.m.