Skip to main content

Interface: IPosition

Represents a Chromatic position.

Properties

_binMargins

_binMargins: BinMarginStructOutput[]

The bin margins for the position, it represents the amount of collateral for each bin

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:51


_protocolFeeRate

_protocolFeeRate: bigint

The protocol fee rate for the market

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:53


claimTimestamp

Optional claimTimestamp: bigint

The timestamp when the position was claimed

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:61


closePrice

closePrice: bigint

The price of the underlying asset when position was closed.

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:57


closeTimestamp

closeTimestamp: bigint

The timestamp when the position was closed

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:45


closeVersion

closeVersion: bigint

The version of the oracle when the position was closed

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:39


id

id: bigint

The position identifier

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:35


makerMargin

makerMargin: bigint

The amount of maker's margin

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:55


openPrice

openPrice: bigint

The price of the underlying asset when position was opened.

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:59


openTimestamp

openTimestamp: bigint

The timestamp when the position was opened

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:43


openVersion

openVersion: bigint

The version of the oracle when the position was opened

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:37


owner

owner: string

The owner of the position, usually it is the account address of trader

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:49


qty

qty: bigint

The quantity of the position

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:41


takerMargin

takerMargin: bigint

The amount of collateral that a trader must provide

Defined in

packages/sdk-ethers-v6/src/entities/ChromaticPosition.ts:47