Quote is a short set of data describing trades briefly. Charting Library supports watch-lists (in Trading Terminal configuration) and uses quotes to show some info about symbols.
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 quotes itselfch
: price change (usually counts from day's open price)chp
: price change percentshort_name
: symbol's short nameexchange
: exchange name.description
: short description of symbol.lp
: last deal 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