-
Notifications
You must be signed in to change notification settings - Fork 0
Quotes
Kai Mun Lee edited this page Nov 20, 2018
·
1 revision
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 request -
v
: object, symbol quote itself-
ch
: price change (usually counts as an open price on a particular day) -
chp
: price change percentage -
short_name
: short name of the symbol -
exchange
: the exchange name -
description
: short description of the symbol -
lp
: last traded price -
ask
: ask price -
bid
: bid price -
spread
: spread -
open_price
: today's open -
high_price
: today's high -
low_price
: today's low -
prev_close_price
: yesterday's close -
volume
: today's volume
-
- What is Charting Library
- Getting Started
- Data Binding
- Chart Customization
- Customization Overview
- Client-Side Customization
- Server-Side Customization
- Customization Use Cases
- Trading Terminal
- Saving/Loading Charts
- Creating Custom Studies
- Breaking changes in versions