Orderly network react.OrdersViewProps
Orderly SDKs / Modules / @orderly.network/react / OrdersViewProps
Interface: OrdersViewProps
@orderly.network/react.OrdersViewProps
Table of contents
Properties
- cancelAlgoOrder
- cancelOrder
- cancelTPSLOrder
- dataSource
- editAlgoOrder
- editOrder
- isLoading
- isStopOrder
- loadMore
- onCancelAll
- onShowAllSymbolChange
- onSymbolChange
- showAllSymbol
- symbol
Properties
cancelAlgoOrder
• cancelAlgoOrder: (orderId
: number
, symbol
: string
) => Promise
<any
>
Type declaration
▸ (orderId
, symbol
): Promise
<any
>
Parameters
Name | Type |
---|---|
orderId | number |
symbol | string |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:11
cancelOrder
• cancelOrder: (orderId
: number
, symbol
: string
) => Promise
<any
>
Type declaration
▸ (orderId
, symbol
): Promise
<any
>
Parameters
Name | Type |
---|---|
orderId | number |
symbol | string |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:9
cancelTPSLOrder
• cancelTPSLOrder: (orderId
: number
, rootAlgoOrderId
: number
) => Promise
<any
>
Type declaration
▸ (orderId
, rootAlgoOrderId
): Promise
<any
>
Parameters
Name | Type |
---|---|
orderId | number |
rootAlgoOrderId | number |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:13
dataSource
• dataSource: any
[]
Defined in
packages/component/src/block/orders/types.ts:4
editAlgoOrder
• editAlgoOrder: (orderId
: string
, order
: OrderEntity
) => Promise
<any
>
Type declaration
▸ (orderId
, order
): Promise
<any
>
Parameters
Name | Type |
---|---|
orderId | string |
order | OrderEntity |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:12
editOrder
• editOrder: (orderId
: string
, order
: OrderEntity
) => Promise
<any
>
Type declaration
▸ (orderId
, order
): Promise
<any
>
Parameters
Name | Type |
---|---|
orderId | string |
order | OrderEntity |
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:10
isLoading
• isLoading: boolean
Defined in
packages/component/src/block/orders/types.ts:7
isStopOrder
• Optional
isStopOrder: boolean
Defined in
packages/component/src/block/orders/types.ts:8
loadMore
• loadMore: () => void
Type declaration
▸ (): void
Returns
void
Defined in
packages/component/src/block/orders/types.ts:18
onCancelAll
• Optional
onCancelAll: () => Promise
<any
>
Type declaration
▸ (): Promise
<any
>
Returns
Promise
<any
>
Defined in
packages/component/src/block/orders/types.ts:6
onShowAllSymbolChange
• Optional
onShowAllSymbolChange: (value
: boolean
) => void
Type declaration
▸ (value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Defined in
packages/component/src/block/orders/types.ts:15
onSymbolChange
• Optional
onSymbolChange: (symbol
: Symbol
) => void
Type declaration
▸ (symbol
): void
Parameters
Name | Type |
---|---|
symbol | Symbol |
Returns
void
Defined in
packages/component/src/block/orders/types.ts:17
showAllSymbol
• Optional
showAllSymbol: boolean
Defined in
packages/component/src/block/orders/types.ts:14
symbol
• symbol: string