Lumen ChartsLumen Charts
Api

IContext

Download Markdown

Integration guide · Reference index

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

symbol

symbol: ISymbolInstrument;

Use the type signature above and the integration guide for the owning capability.

new_sym

new_sym(
    tickerid: string,
    period: string,
    currencyCode?: string,
    unitId?: string,
    subsessionId?: string,
  ): ISymbolInstrument;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
tickeridstringYes
periodstringYes
currencyCodestringNo
unitIdstringNo
subsessionIdstringNo

select_sym

select_sym(i: number): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
inumberYes

new_var

new_var(value?: number): IPineSeries;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
valuenumberNo

new_unlimited_var

new_unlimited_var(value?: number): IPineSeries;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
valuenumberNo

new_ctx

new_ctx(): IContext;

Use the type signature above and the integration guide for the owning capability.

is_main_symbol

is_main_symbol(symbol: ISymbolInstrument | undefined): boolean;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
symbolISymbolInstrument | undefinedYes

On this page