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

Interface: PositionsViewProps

@orderly.network/react.PositionsViewProps

Table of contents

Properties

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
NameType
positionany
Returns

void

Defined in

packages/component/src/block/positions/shared/types.ts:8


onMarketClose

Optional onMarketClose: (position: any) => void

Type declaration

▸ (position): void

Parameters
NameType
positionany
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
NameType
isAllboolean
Returns

void

Defined in

packages/component/src/block/positions/shared/types.ts:11


onSymbolChange

Optional onSymbolChange: (symbol: Symbol) => void

Type declaration

▸ (symbol): void

Parameters
NameType
symbolSymbol
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
NameType
positionPositionTPSLExt
order?AlgoOrder
Returns

void

Defined in

packages/component/src/block/positions/shared/types.ts:10


showAllSymbol

Optional showAllSymbol: boolean

Defined in

packages/component/src/block/positions/shared/types.ts:12