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

margins

Subscribe to the margin changes

margins(
partyId: ID!
marketId: ID
): MarginLevelsUpdate!

Arguments

margins.partyId ● ID! non-null scalar

ID of the party you want to subscribe to for margin updates

margins.marketId ● ID scalar

ID of the market you want to listen to for margin updates (nil if you want updates for all markets)

Type

MarginLevelsUpdate object

Margins for a given a party