market
The chart market.
#Variables
#market.basevariable
The base asset (BTC in BTCUSDT).
market.base: stringType simple string.
Example
const v = market.baseSince ChartScript 1
#market.descriptionvariable
A description of the market.
market.description: stringType simple string.
Example
const v = market.descriptionSince ChartScript 1
#market.idvariable
The market as VENUE:SYMBOL.
market.id: stringType simple string.
Example
const v = market.idSince ChartScript 1
#market.kindvariable
"perp", "spot" or "other".
market.kind: stringType simple string.
Example
const v = market.kindSince ChartScript 1
#market.main_idvariable
The chart market as VENUE:SYMBOL, also inside a request.
market.main_id: stringType simple string.
Example
const v = market.main_idSince ChartScript 1
#market.min_qtyvariable
The smallest order quantity, or na when unknown.
market.min_qty: floatType simple float.
Example
const v = market.min_qtySince ChartScript 1
#market.minmovevariable
The smallest price move in ticks (1).
market.minmove: intType simple int.
Example
const v = market.minmoveSince ChartScript 1
#market.pointvaluevariable
The value of one point.
market.pointvalue: floatType simple float.
Example
const v = market.pointvalueSince ChartScript 1
#market.pricescalevariable
The price scale: 1 / tick, rounded.
market.pricescale: intType simple int.
Example
const v = market.pricescaleSince ChartScript 1
#market.quotevariable
The quote asset (USDT in BTCUSDT).
market.quote: stringType simple string.
Example
const v = market.quoteSince ChartScript 1
#market.rootvariable
The root of the symbol (the base asset for crypto).
market.root: stringType simple string.
Example
const v = market.rootSince ChartScript 1
#market.symbolvariable
The symbol on the venue.
market.symbol: stringType simple string.
Example
const v = market.symbolSince ChartScript 1
#market.tickvariable
The price tick size.
market.tick: floatType simple float.
Example
const v = market.tickSince ChartScript 1
#market.timezonevariable
The market time zone (UTC for crypto).
market.timezone: stringType simple string.
Example
const v = market.timezoneSince ChartScript 1
#market.venuevariable
The venue (exchange) name.
market.venue: stringType simple string.
Example
const v = market.venueSince ChartScript 1