Example TxnFee cost function

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.