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-v5/src/entities/ChromaticPosition.ts:51
_protocolFeeRate
• _protocolFeeRate: number
The protocol fee rate for the market
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:53
claimTimestamp
• Optional
claimTimestamp: BigNumber
The timestamp when the position was claimed
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:61
closePrice
• closePrice: BigNumber
The price of the underlying asset when position was closed.
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:57
closeTimestamp
• closeTimestamp: BigNumber
The timestamp when the position was closed
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:45
closeVersion
• closeVersion: BigNumber
The version of the oracle when the position was closed
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:39
id
• id: BigNumber
The position identifier
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:35
makerMargin
• makerMargin: BigNumber
The amount of maker's margin
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:55
openPrice
• openPrice: BigNumber
The price of the underlying asset when position was opened.
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:59
openTimestamp
• openTimestamp: BigNumber
The timestamp when the position was opened
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:43
openVersion
• openVersion: BigNumber
The version of the oracle when the position was opened
Defined in
packages/sdk-ethers-v5/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-v5/src/entities/ChromaticPosition.ts:49
qty
• qty: BigNumber
The quantity of the position
Defined in
packages/sdk-ethers-v5/src/entities/ChromaticPosition.ts:41
takerMargin
• takerMargin: BigNumber
The amount of collateral that a trader must provide