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

Interface: OrderBookProps

@orderly.network/react.OrderBookProps

Table of contents

Properties

Properties

activeDepth

Optional activeDepth: string

Defined in

packages/component/src/block/orderbook/index.tsx:19


asks

asks: any[]

Defined in

packages/component/src/block/orderbook/index.tsx:13


autoSize

Optional autoSize: boolean

Defined in

packages/component/src/block/orderbook/index.tsx:22


base

base: string

Defined in

packages/component/src/block/orderbook/index.tsx:24


bids

bids: any[]

Defined in

packages/component/src/block/orderbook/index.tsx:14


cellHeight

Optional cellHeight: number

Defined in

packages/component/src/block/orderbook/index.tsx:29


className

Optional className: string

Defined in

packages/component/src/block/orderbook/index.tsx:31


depth

Optional depth: string[]

Defined in

packages/component/src/block/orderbook/index.tsx:18


isLoading

Optional isLoading: boolean

Defined in

packages/component/src/block/orderbook/index.tsx:27


lastPrice

lastPrice: number[]

Defined in

packages/component/src/block/orderbook/index.tsx:16


level

Optional level: number

Defined in

packages/component/src/block/orderbook/index.tsx:23


markPrice

markPrice: number

Defined in

packages/component/src/block/orderbook/index.tsx:15


onDepthChange

Optional onDepthChange: (depth: number) => void

Type declaration

▸ (depth): void

Parameters
NameType
depthnumber
Returns

void

Defined in

packages/component/src/block/orderbook/index.tsx:20


onItemClick

Optional onItemClick: (item: number[]) => void

Type declaration

▸ (item): void

Parameters
NameType
itemnumber[]
Returns

void

Defined in

packages/component/src/block/orderbook/index.tsx:17


quote

quote: string

Defined in

packages/component/src/block/orderbook/index.tsx:25