You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Quantity representing the total NOP limit across all currencies. It sets a limit that is compared to the total short position across all currencies (eg. 1000000). Currency represents the currency that the quantity is valued in (eg. USD)
21914
21963
marginCallPercentage:
21964
+
description: Number representing the percentage at which a margin call will be initiated if the margin percentage falls below this number. It is in decimal form (eg. 0.8 to mean 80%)
21915
21965
type: number
21916
21966
format: decimal
21917
21967
liquidationThresholdPercentage:
21968
+
description: Number representing the liquidation threshold percentage at which positions will be automatically liquidated if the margin utilization exceeds this level. It is in decimal form (eg. 1.2 to mean 120%)
21918
21969
type: number
21919
21970
format: decimal
21920
21971
marginRequirementPercentage:
21972
+
description: Number representing the margin requirement percentage which is used with the NOP to determine the margin required. It is in decimal form (eg.0.2 for 20%)
21921
21973
type: number
21922
21974
format: decimal
21923
21975
example:
@@ -22013,18 +22065,34 @@ paths:
22013
22065
type: object
22014
22066
properties:
22015
22067
netOpenPosition:
22016
-
$ref: '#/components/schemas/Amount4'
22068
+
allOf:
22069
+
- $ref: '#/components/schemas/Amount4'
22070
+
- type: object
22071
+
description: Quantity representing the total NOP limit across all currencies. It sets a limit that is compared to the total short position across all currencies (eg. 1000000). Currency represents the currency that the quantity is valued in (eg. USD)
22017
22072
transferredCollateral:
22018
-
$ref: '#/components/schemas/Amount4'
22073
+
allOf:
22074
+
- $ref: '#/components/schemas/Amount4'
22075
+
- type: object
22076
+
description: Quantity representing the notional value of all collateral balances. This may change as the value of collateral changes with market movements. Currency represents the notional currency (eg. USD)
22019
22077
unrealizedPnL:
22020
-
$ref: '#/components/schemas/Amount4'
22078
+
allOf:
22079
+
- $ref: '#/components/schemas/Amount4'
22080
+
- type: object
22081
+
description: Quantity representing the sum of unrealized profit and loss across all per-asset open positions. Currency represents the notional currency (eg. USD)
22021
22082
marginBalance:
22022
-
$ref: '#/components/schemas/Amount4'
22083
+
allOf:
22084
+
- $ref: '#/components/schemas/Amount4'
22085
+
- type: object
22086
+
description: Quantity representing the sum of the transferredCollateral and unrealizedPnL. Currency represents the notional currency (eg. USD)
22023
22087
marginRequirement:
22024
-
$ref: '#/components/schemas/Amount4'
22088
+
allOf:
22089
+
- $ref: '#/components/schemas/Amount4'
22090
+
- type: object
22091
+
description: Quantity representing the marginBalance required to continue trading without risk of margin call or liquidation. If margin requirement is not present, either netOpenPosition is zero or there is no requirement. Currency represents the notional currency (eg. USD)
22025
22092
marginUtilizationPercentage:
22026
22093
type: number
22027
22094
nullable: true
22095
+
description: Quantity representing the ratio of marginRequirement to marginBalance, measured directly against liquidation and margin call thresholds. This is null if there is no margin requirement.
22028
22096
example:
22029
22097
riskProfile:
22030
22098
netOpenPosition:
@@ -22081,10 +22149,15 @@ paths:
22081
22149
properties:
22082
22150
currency:
22083
22151
type: string
22152
+
description: Symbol of the collateral asset
22084
22153
quantity:
22085
22154
type: string
22155
+
description: Number representing the balance for the specified collateral
22086
22156
balanceValue:
22087
-
$ref: '#/components/schemas/Amount4'
22157
+
allOf:
22158
+
- $ref: '#/components/schemas/Amount4'
22159
+
- type: object
22160
+
description: Returns the value of the collateral.
22088
22161
example:
22089
22162
currency: BTC
22090
22163
quantity: '2'
@@ -22129,10 +22202,15 @@ paths:
22129
22202
properties:
22130
22203
currency:
22131
22204
type: string
22205
+
description: Symbol of the collateral asset
22132
22206
quantity:
22133
22207
type: number
22208
+
description: Number representing the balance for the specified collateral
22134
22209
balanceValue:
22135
-
$ref: '#/components/schemas/Amount4'
22210
+
allOf:
22211
+
- $ref: '#/components/schemas/Amount4'
22212
+
- type: object
22213
+
description: Returns the value of the collateral. Has 2 fields denoting the currency used and the actual value.
22136
22214
example:
22137
22215
currency: BTC
22138
22216
quantity: 2
@@ -22189,10 +22267,15 @@ paths:
22189
22267
properties:
22190
22268
currency:
22191
22269
type: string
22270
+
description: Symbol of the margin position asset
22192
22271
quantity:
22193
22272
type: number
22273
+
description: Number representing the balance for the specified margin position
22194
22274
balanceValue:
22195
-
$ref: '#/components/schemas/Amount4'
22275
+
allOf:
22276
+
- $ref: '#/components/schemas/Amount4'
22277
+
- type: object
22278
+
description: Returns the value of the margin position. Has 2 fields denoting the currency used and the actual value.
22196
22279
example:
22197
22280
balances:
22198
22281
- currency: BTC
@@ -22237,7 +22320,7 @@ paths:
22237
22320
all: true
22238
22321
responses:
22239
22322
'202':
22240
-
description: Acknowledgement that the action was received
22323
+
description: Returns an acknowledgement that the action was received. Async process will kick off to perform trades to close out open positions.
22241
22324
/api/prime/trading/v1/ws:
22242
22325
get:
22243
22326
summary: Get WebSocket connection
@@ -39429,10 +39512,13 @@ components:
39429
39512
id:
39430
39513
type: string
39431
39514
format: uuid
39515
+
description: ID of the currency
39432
39516
symbol:
39433
39517
type: string
39518
+
description: Symbol of the currency
39434
39519
name:
39435
39520
type: string
39521
+
description: Name of the currency
39436
39522
example:
39437
39523
id: 6016e0a9-545a-45fb-8370-caab1680956a
39438
39524
symbol: BTC
@@ -46763,24 +46849,38 @@ components:
46763
46849
properties:
46764
46850
currency:
46765
46851
type: string
46852
+
description: Symbol of the instrument (ex. BTC)
46766
46853
enterpriseId:
46767
46854
type: string
46768
46855
format: uuid
46856
+
description: Enterprise ID for the margin NOP limit
46769
46857
netOpenPosition:
46770
46858
type: number
46771
46859
format: decimal
46860
+
description: Number representing the current net open position for the NOP instrument in question (ex. -10 BTC). Negative means a short position and positive means a long position.
46772
46861
netOpenPositionValue:
46773
46862
type: number
46774
46863
format: decimal
46864
+
description: Number representing the net open position denoted in notional amount (ex 600,000 USD)
46775
46865
shortMarginPositionNotionalLimit:
46776
-
$ref: '#/components/schemas/Amount4'
46866
+
allOf:
46867
+
- $ref: '#/components/schemas/Amount4'
46868
+
- type: object
46869
+
description: Number representing the maximum open margin position that can be short in terms of the notional instrument (ex. 10,000 USD) in absolute notional terms, as the NOP is signed
46777
46870
longMarginPositionNotionalLimit:
46778
-
$ref: '#/components/schemas/Amount4'
46871
+
allOf:
46872
+
- $ref: '#/components/schemas/Amount4'
46873
+
- type: object
46874
+
description: Number representing the maximum open margin position that can be long in terms of the notional instrument (ex. 10,000 USD)
46779
46875
unrealizedPnL:
46780
-
$ref: '#/components/schemas/Amount4'
46876
+
allOf:
46877
+
- $ref: '#/components/schemas/Amount4'
46878
+
- type: object
46879
+
description: Number representing the unrealized profit and loss. Difference between the NOP value at the time of creation and the NOP value as of now.
46781
46880
lastModified:
46782
46881
type: string
46783
46882
format: date-time
46883
+
description: ISO format datetime for date and time the record was last updated in the database
46784
46884
example:
46785
46885
currency: BTC
46786
46886
enterpriseId: 63925f940c259a00061853808ffea830
@@ -46806,12 +46906,20 @@ components:
46806
46906
properties:
46807
46907
enterpriseId:
46808
46908
type: string
46909
+
description: The unique identifier for the enterprise (e.g., "enterprise-123").
46809
46910
currency:
46810
46911
type: string
46912
+
description: The currency symbol for the net open position limit (e.g., "BTC").
46811
46913
shortMarginPositionNotionalLimit:
46812
-
$ref: '#/components/schemas/Amount4'
46914
+
allOf:
46915
+
- $ref: '#/components/schemas/Amount4'
46916
+
- type: object
46917
+
description: Quantity representing the notional limit for short margin positions in the specified currency (e.g., "1000000"). Currency represents the currency in which the quantity is valued (e.g., "BTC").
46813
46918
longMarginPositionNotionalLimit:
46814
-
$ref: '#/components/schemas/Amount4'
46919
+
allOf:
46920
+
- $ref: '#/components/schemas/Amount4'
46921
+
- type: object
46922
+
description: Quantity representing the notional limit for long margin positions in the specified currency (e.g., "2000000"). Currency represents the currency in which the quantity is valued (e.g., "BTC").
0 commit comments