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

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

Questions? Problems? Suggestions? or email at

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

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