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
Copy file name to clipboardExpand all lines: api.yaml
+17-11Lines changed: 17 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -24147,16 +24147,19 @@ paths:
24147
24147
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)
24148
24148
marginCallPercentage:
24149
24149
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%)
24150
-
type: number
24151
-
format: decimal
24150
+
type: string
24151
+
pattern: ^[0-9]+(\.[0-9]+)?$
24152
+
example: '0.8'
24152
24153
liquidationThresholdPercentage:
24153
24154
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%)
24154
-
type: number
24155
-
format: decimal
24155
+
type: string
24156
+
pattern: ^[0-9]+(\.[0-9]+)?$
24157
+
example: '1.2'
24156
24158
marginRequirementPercentage:
24157
24159
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%)
24158
-
type: number
24159
-
format: decimal
24160
+
type: string
24161
+
pattern: ^[0-9]+(\.[0-9]+)?$
24162
+
example: '0.2'
24160
24163
minimumCollateralValue:
24161
24164
allOf:
24162
24165
- $ref: '#/components/schemas/Amount3'
@@ -24283,8 +24286,10 @@ paths:
24283
24286
- type: object
24284
24287
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)
24285
24288
marginUtilizationPercentage:
24286
-
type: number
24289
+
type: string
24290
+
pattern: ^[0-9]+(\.[0-9]+)?$
24287
24291
nullable: true
24292
+
example: '0.85'
24288
24293
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.
description: Enterprise ID for the margin NOP limit
57994
57999
netOpenPosition:
57995
-
type: number
57996
-
format: decimal
58000
+
type: string
58001
+
pattern: ^-?[0-9]+(\.[0-9]+)?$
58002
+
example: '-2.3242'
57997
58003
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.
0 commit comments