Orderly network react.OrderEntryProps
Orderly SDKs / Modules / @orderly.network/react / OrderEntryProps
Interface: OrderEntryProps
@orderly.network/react.OrderEntryProps
Table of contents
Properties
- disabled
- estLeverage
- estLiqPrice
- formattedOrder
- freeCollateral
- helper
- markPrice
- maxQty
- metaState
- onConfirmChange
- onDeposit
- onFieldChange
- onSubmit
- setValues
- showConfirm
- submit
- submitting
- symbol
- symbolConfig
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
Name | Type |
---|---|
value | boolean |
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
Name | Type |
---|---|
field | keyof OrderEntity |
value | any |
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
Name | Type |
---|---|
data | any |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orderEntry/index.tsx:52
setValues
• setValues: (values
: Partial
<OrderEntity
>) => void
Type declaration
▸ (values
): void
Parameters
Name | Type |
---|---|
values | Partial <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