Skip to content
EliteChart

LayoutSymbol

Documentation


Documentation / @elitechart/core / LayoutSymbol

Defined in: layout/layout-types.ts:78

Symbol + resolution identity the embedder uses to re-fetch bars on load. Bars are intentionally omitted from ChartLayout to keep the payload small.

Example

code
const s: LayoutSymbol = {
  id: 'BINANCE:BTCUSDT', ticker: 'BTC/USDT',
  exchange: 'BINANCE', resolution: { kind: 'minutes', value: 1 },
};

Properties

exchange?

code
readonly optional exchange?: string;

Defined in: layout/layout-types.ts:81


id

code
readonly id: string;

Defined in: layout/layout-types.ts:79


resolution

code
readonly resolution: {
  kind: string;
  value: number;
};

Defined in: layout/layout-types.ts:82

kind

code
readonly kind: string;

value

code
readonly value: number;

ticker

code
readonly ticker: string;

Defined in: layout/layout-types.ts:80