Lumen ChartsLumen Charts
Api

ISymbolValueFormatter

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.

format

format(price: number, signPositive?: boolean): string;

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

ParameterTypeRequired
pricenumberYes
signPositivebooleanNo

formatChange

formatChange?(
    currentPrice: number,
    prevPrice: number,
    signPositive?: boolean,
  ): string;

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

ParameterTypeRequired
currentPricenumberYes
prevPricenumberYes
signPositivebooleanNo

On this page