Orderly SDKs / Modules / @orderly.network/react / OrderEntryProps

Interface: OrderEntryProps

@orderly.network/react.OrderEntryProps

Table of contents

Properties

Properties

disabled

Optional disabled: boolean

Defined in

packages/component/src/block/orderEntry/index.tsx:82


estLeverage

Optional estLeverage: null | number

Defined in

packages/component/src/block/orderEntry/index.tsx:61


estLiqPrice

Optional estLiqPrice: null | number

Defined in

packages/component/src/block/orderEntry/index.tsx:60


formattedOrder

formattedOrder: Partial<OrderEntity>

Defined in

packages/component/src/block/orderEntry/index.tsx:84


freeCollateral

Optional freeCollateral: number

Defined in

packages/component/src/block/orderEntry/index.tsx:67


helper

helper: Object

Defined in

packages/component/src/block/orderEntry/index.tsx:78


markPrice

Optional markPrice: number

Defined in

packages/component/src/block/orderEntry/index.tsx:58


maxQty

maxQty: number

Defined in

packages/component/src/block/orderEntry/index.tsx:59


metaState

metaState: UseOrderEntryMetaState

Defined in

packages/component/src/block/orderEntry/index.tsx:88


onConfirmChange

Optional onConfirmChange: (value: boolean) => void

Type declaration

▸ (value): void

Parameters
NameType
valueboolean
Returns

void

Defined in

packages/component/src/block/orderEntry/index.tsx:70


onDeposit

Optional onDeposit: () => Promise<void>

Type declaration

▸ (): Promise<void>

Returns

Promise<void>

Defined in

packages/component/src/block/orderEntry/index.tsx:53


onFieldChange

onFieldChange: (field: keyof OrderEntity, value: any) => void

Type declaration

▸ (field, value): void

Parameters
NameType
fieldkeyof OrderEntity
valueany
Returns

void

Defined in

packages/component/src/block/orderEntry/index.tsx:86


onSubmit

Optional onSubmit: (data: any) => Promise<any>

Type declaration

▸ (data): Promise<any>

Parameters
NameType
dataany
Returns

Promise<any>

Defined in

packages/component/src/block/orderEntry/index.tsx:52


setValues

setValues: (values: Partial<OrderEntity>) => void

Type declaration

▸ (values): void

Parameters
NameType
valuesPartial<OrderEntity>
Returns

void

Defined in

packages/component/src/block/orderEntry/index.tsx:87


showConfirm

Optional showConfirm: boolean

Defined in

packages/component/src/block/orderEntry/index.tsx:69


submit

submit: () => Promise<any>

Type declaration

▸ (): Promise<any>

Returns

Promise<any>

Defined in

packages/component/src/block/orderEntry/index.tsx:55


submitting

submitting: boolean

Defined in

packages/component/src/block/orderEntry/index.tsx:56


symbol

symbol: string

Defined in

packages/component/src/block/orderEntry/index.tsx:63


symbolConfig

Optional symbolConfig: SymbolExt

Defined in

packages/component/src/block/orderEntry/index.tsx:65