Quote is a short set of data that describes the current price. Charting Library supports watchlists (in Trading Terminal configuration) and uses quotes to display symbol information.
Charting Library uses the same data structures for quotes in both [JS API](JS Api) and UDF. Here is the description of response object:
s
: Status code for symbol. Expected values:ok
|error
n
: Symbol name. This value must be exactly the same as in the requestv
: object, symbol quote itselfch
: price change (usually counts as an open price on a particular day)chp
: price change percentageshort_name
: short name of the symbolexchange
: the exchange namedescription
: short description of the symbollp
: last traded priceask
: ask pricebid
: bid pricespread
: spreadopen_price
: today's openhigh_price
: today's highlow_price
: today's lowprev_close_price
: yesterday's closevolume
: today's volume