quoted.spread | R Documentation |
For quoted.spread
, the bid ask spread will be calculated as
quoted.spread(symbol, store = FALSE) ticks.wide(symbol, tick_size = NULL, store = FALSE)
symbol |
string defining the symbol to analyze |
store |
boolean defining whether to store result in order book environment, default FALSE |
tick_size |
numeric tick size to use as denominator, if NULL, look up using FinancialInstrument::getInstrument |
L1.AskPrice - L1.BidPrice
for ticks.wide
the quoted spread will be additionally divided by the
tick_size
.
xts
object containing the spread
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.