Orderly network react.PositionsViewProps
Orderly SDKs / Modules / @orderly.network/react / PositionsViewProps
Interface: PositionsViewProps
@orderly.network/react.PositionsViewProps
Table of contents
Properties
- aggregated
- dataSource
- isLoading
- loadMore
- onLimitClose
- onMarketClose
- onMarketCloseAll
- onShowAllSymbolChange
- onSymbolChange
- onTPSLOrder
- showAllSymbol
Properties
aggregated
• aggregated: AggregatedData
Defined in
packages/component/src/block/positions/shared/types.ts:6
dataSource
• dataSource: null
| any
[]
Defined in
packages/component/src/block/positions/shared/types.ts:5
isLoading
• Optional
isLoading: boolean
Defined in
packages/component/src/block/positions/shared/types.ts:15
loadMore
• Optional
loadMore: () => void
Type declaration
▸ (): void
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:14
onLimitClose
• Optional
onLimitClose: (position
: any
) => void
Type declaration
▸ (position
): void
Parameters
Name | Type |
---|---|
position | any |
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:8
onMarketClose
• Optional
onMarketClose: (position
: any
) => void
Type declaration
▸ (position
): void
Parameters
Name | Type |
---|---|
position | any |
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:9
onMarketCloseAll
• Optional
onMarketCloseAll: () => void
Type declaration
▸ (): void
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:13
onShowAllSymbolChange
• Optional
onShowAllSymbolChange: (isAll
: boolean
) => void
Type declaration
▸ (isAll
): void
Parameters
Name | Type |
---|---|
isAll | boolean |
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:11
onSymbolChange
• Optional
onSymbolChange: (symbol
: Symbol
) => void
Type declaration
▸ (symbol
): void
Parameters
Name | Type |
---|---|
symbol | Symbol |
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:16
onTPSLOrder
• Optional
onTPSLOrder: (position
: PositionTPSLExt
, order?
: AlgoOrder
) => void
Type declaration
▸ (position
, order?
): void
Parameters
Name | Type |
---|---|
position | PositionTPSLExt |
order? | AlgoOrder |
Returns
void
Defined in
packages/component/src/block/positions/shared/types.ts:10
showAllSymbol
• Optional
showAllSymbol: boolean