Skip to content

charton API


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

Interface: OrderCreateEvent ​

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

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

Properties ​

price ​

price: number

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


quantity? ​

optional quantity?: number

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


side ​

side: OrderSide

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


stopLoss? ​

optional stopLoss?: number

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


takeProfit? ​

optional takeProfit?: number

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


type ​

type: OrderType

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