Skip to content

charton API


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

Interface: OrderCreateEvent ​

Defined in: packages/core/src/annotations/types.ts:340

A committed draft: the order the user asked to place.

Properties ​

price ​

price: number

Defined in: packages/core/src/annotations/types.ts:343


quantity? ​

optional quantity?: number

Defined in: packages/core/src/annotations/types.ts:344


side ​

side: OrderSide

Defined in: packages/core/src/annotations/types.ts:341


stopLoss? ​

optional stopLoss?: number

Defined in: packages/core/src/annotations/types.ts:346


takeProfit? ​

optional takeProfit?: number

Defined in: packages/core/src/annotations/types.ts:345


type ​

type: OrderType

Defined in: packages/core/src/annotations/types.ts:342