Description Usage Arguments Value Author(s) See Also
Divides the notional spread price by the spread
multiplier and rounds prices to the nearest
tick_size
.
1 | formatSpreadPrice(x, multiplier = 1, tick_size = 0.01)
|
x |
xts price series |
multiplier |
numeric multiplier (e.g. 1000 for crack spread to get from $ to $/bbl) |
tick_size |
minimum price change of the spread |
price series of same length as x
Garrett See
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.