pennyPerShare: Example TxnFee cost function

Description Usage Arguments


Example TxnFee cost function


pennyPerShare(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

blotter documentation built on April 15, 2017, 9:41 a.m.

Search within the blotter package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.