.calcTxnAvgCost | R Documentation |
Calculates a per share or per contract cost of the transaction to match the units the price is quoted in
.calcTxnAvgCost(TxnValue, TxnQty, ConMult = 1)
TxnValue |
total value of the transaction, including fees |
TxnQty |
total units (shares) of the transaction |
ConMult |
multiplier from instrument data |
TxnAvgCost: unit normalized (per share) cost implied by the transaction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.