Skip to content

charton API


charton API / @chart-on/ui / index / clusterRowText

Function: clusterRowText() ​

clusterRowText(line, format, options?): string

Defined in: ui/src/cluster-list.ts:19

One order in the list: side or label, quantity and price, e.g. "Buy 2 @ 101.50". The side is in the language of options (clusterBuy, clusterSell, clusterLong, clusterShort).

Parameters ​

line ​

TradeLine

format ​

(price) => string

options? ​

Localized

Returns ​

string