Skip to main content
Version: mainnet (v0.71)

MarginLevelsUpdate

Margins for a given a party

type MarginLevelsUpdate {
marketId: ID!
asset: ID!
partyId: ID!
maintenanceLevel: String!
searchLevel: String!
initialLevel: String!
collateralReleaseLevel: String!
timestamp: Timestamp!
}

Fields

MarginLevelsUpdate.marketId ● ID! non-null scalar

Market in which the margin is required for this party

MarginLevelsUpdate.asset ● ID! non-null scalar

Asset for the current margins

MarginLevelsUpdate.partyId ● ID! non-null scalar

The party for this margin

MarginLevelsUpdate.maintenanceLevel ● String! non-null scalar

Minimal margin for the position to be maintained in the network (unsigned integer)

MarginLevelsUpdate.searchLevel ● String! non-null scalar

If the margin is between maintenance and search, the network will initiate a collateral search (unsigned integer)

MarginLevelsUpdate.initialLevel ● String! non-null scalar

This is the minimum margin required for a party to place a new order on the network (unsigned integer)

MarginLevelsUpdate.collateralReleaseLevel ● String! non-null scalar

If the margin of the party is greater than this level, then collateral will be released from the margin account into the general account of the party for the given asset.

MarginLevelsUpdate.timestamp ● Timestamp! non-null scalar

RFC3339Nano time from at which this margin level was relevant

Returned by

margins subscription