Skip to content

charton API


charton API / @chart-on/core / index / footprintImbalances

Function: footprintImbalances() ​

footprintImbalances(bar, options?): FootprintImbalances

Defined in: packages/core/src/profile/footprint.ts:211

Diagonal imbalances of a footprint bar. Buyers lift the offer one row above where sellers hit the bid, so buying at a row is compared with selling one row lower, and selling at a row with buying one row higher. A side counts as imbalanced when it is at least ratio times the other and at least minVolume; a missing or empty opposite row counts as 0, so any positive volume against it qualifies.

Parameters ​

bar ​

FootprintBar

options? ​

FootprintImbalanceOptions = {}

Returns ​

FootprintImbalances