Skip to content

charton API


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

Function: depthLadderRows() ​

depthLadderRows(book, depth): DepthLadderRow[]

Defined in: ui/src/depth-ladder.ts:42

Rows of the ladder, top to bottom: the depth asks nearest the spread with the highest price first, then the depth best bids, highest first. So the best ask sits right above the best bid.

Parameters ​

book ​

DepthBook

depth ​

number

Returns ​

DepthLadderRow[]