Interface: LwcPriceFormat
Defined in: packages/sdvplot/src/lightweight-charts.ts:133
A Lightweight Charts custom price format.
Properties
formatter
formatter: (
price) =>string
Defined in: packages/sdvplot/src/lightweight-charts.ts:137
A price as text: "58.5%" for a probability, "+150" for American odds.
Parameters
price
number
Returns
string
minMove
minMove:
number
Defined in: packages/sdvplot/src/lightweight-charts.ts:139
The smallest price step: 0.001 for a probability (0.1%), 1 for American odds.
type
type:
"custom"
Defined in: packages/sdvplot/src/lightweight-charts.ts:135
Always "custom": the formatter reads the prices.