Skip to content

charton API


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

Interface: TradeGroup ​

Defined in: packages/core/src/annotations/trades.ts:51

The fills of one side on one bar, drawn as one marker.

Properties ​

count ​

count: number

Defined in: packages/core/src/annotations/trades.ts:61


index ​

index: number

Defined in: packages/core/src/annotations/trades.ts:53

Bar index on the time axis.


price ​

price: number

Defined in: packages/core/src/annotations/trades.ts:58

Volume-weighted average price.


quantity ​

quantity: number

Defined in: packages/core/src/annotations/trades.ts:60

Total quantity.


side ​

side: OrderSide

Defined in: packages/core/src/annotations/trades.ts:56


time ​

time: number

Defined in: packages/core/src/annotations/trades.ts:55

Time of that bar.


trades ​

trades: readonly Trade[]

Defined in: packages/core/src/annotations/trades.ts:62