Skip to content

Commit e1b3a57

Browse files
Merge pull request #187 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 8fcddda + 5b63995 commit e1b3a57

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

api.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ info:
55
servers:
66
- url: ''
77
tags:
8-
- name: Broker Support
98
- name: Compliance Transaction Monitoring
109
- name: CryptoCompare
1110
description: CryptoCompare is a partner API from CryptoCompare that you can use to compare prices of cryptocurrency, tokens, and fiat.
@@ -22206,7 +22205,7 @@ paths:
2220622205
description: Number representing the balance for the specified collateral
2220722206
balanceValue:
2220822207
allOf:
22209-
- $ref: '#/components/schemas/Amount4'
22208+
- $ref: '#/components/schemas/Amount3'
2221022209
- type: object
2221122210
description: Returns the value of the collateral. Has 2 fields denoting the currency used and the actual value.
2221222211
example:
@@ -22240,7 +22239,7 @@ paths:
2224022239
properties:
2224122240
totalShortPositionLimit:
2224222241
allOf:
22243-
- $ref: '#/components/schemas/Amount4'
22242+
- $ref: '#/components/schemas/Amount3'
2224422243
- type: object
2224522244
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)
2224622245
marginCallPercentage:
@@ -22349,27 +22348,27 @@ paths:
2234922348
properties:
2235022349
netOpenPosition:
2235122350
allOf:
22352-
- $ref: '#/components/schemas/Amount4'
22351+
- $ref: '#/components/schemas/Amount3'
2235322352
- type: object
2235422353
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)
2235522354
transferredCollateral:
2235622355
allOf:
22357-
- $ref: '#/components/schemas/Amount4'
22356+
- $ref: '#/components/schemas/Amount3'
2235822357
- type: object
2235922358
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)
2236022359
unrealizedPnL:
2236122360
allOf:
22362-
- $ref: '#/components/schemas/Amount4'
22361+
- $ref: '#/components/schemas/Amount3'
2236322362
- type: object
2236422363
description: Quantity representing the sum of unrealized profit and loss across all per-asset open positions. Currency represents the notional currency (eg. USD)
2236522364
marginBalance:
2236622365
allOf:
22367-
- $ref: '#/components/schemas/Amount4'
22366+
- $ref: '#/components/schemas/Amount3'
2236822367
- type: object
2236922368
description: Quantity representing the sum of the transferredCollateral and unrealizedPnL. Currency represents the notional currency (eg. USD)
2237022369
marginRequirement:
2237122370
allOf:
22372-
- $ref: '#/components/schemas/Amount4'
22371+
- $ref: '#/components/schemas/Amount3'
2237322372
- type: object
2237422373
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)
2237522374
marginUtilizationPercentage:
@@ -22438,7 +22437,7 @@ paths:
2243822437
description: Number representing the balance for the specified collateral
2243922438
balanceValue:
2244022439
allOf:
22441-
- $ref: '#/components/schemas/Amount4'
22440+
- $ref: '#/components/schemas/Amount3'
2244222441
- type: object
2244322442
description: Returns the value of the collateral.
2244422443
example:
@@ -22491,7 +22490,7 @@ paths:
2249122490
description: Number representing the balance for the specified collateral
2249222491
balanceValue:
2249322492
allOf:
22494-
- $ref: '#/components/schemas/Amount4'
22493+
- $ref: '#/components/schemas/Amount3'
2249522494
- type: object
2249622495
description: Returns the value of the collateral. Has 2 fields denoting the currency used and the actual value.
2249722496
example:
@@ -22556,7 +22555,7 @@ paths:
2255622555
description: Number representing the balance for the specified margin position
2255722556
balanceValue:
2255822557
allOf:
22559-
- $ref: '#/components/schemas/Amount4'
22558+
- $ref: '#/components/schemas/Amount3'
2256022559
- type: object
2256122560
description: Returns the value of the margin position. Has 2 fields denoting the currency used and the actual value.
2256222561
example:
@@ -35686,7 +35685,7 @@ components:
3568635685
required:
3568735686
- id
3568835687
- isExtensible
35689-
Account1:
35688+
Account:
3569035689
required:
3569135690
- id
3569235691
- name
@@ -35820,7 +35819,7 @@ components:
3582035819
Accounts:
3582135820
type: array
3582235821
items:
35823-
$ref: '#/components/schemas/Account1'
35822+
$ref: '#/components/schemas/Account'
3582435823
ActionType:
3582535824
title: ActionType
3582635825
type: string
@@ -36802,7 +36801,7 @@ components:
3680236801
required:
3680336802
- value
3680436803
- symbol
36805-
Amount4:
36804+
Amount3:
3680636805
type: object
3680736806
required:
3680836807
- quantity
@@ -47571,17 +47570,17 @@ components:
4757147570
description: Number representing the net open position denoted in notional amount (ex 600,000 USD)
4757247571
shortMarginPositionNotionalLimit:
4757347572
allOf:
47574-
- $ref: '#/components/schemas/Amount4'
47573+
- $ref: '#/components/schemas/Amount3'
4757547574
- type: object
4757647575
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
4757747576
longMarginPositionNotionalLimit:
4757847577
allOf:
47579-
- $ref: '#/components/schemas/Amount4'
47578+
- $ref: '#/components/schemas/Amount3'
4758047579
- type: object
4758147580
description: Number representing the maximum open margin position that can be long in terms of the notional instrument (ex. 10,000 USD)
4758247581
unrealizedPnL:
4758347582
allOf:
47584-
- $ref: '#/components/schemas/Amount4'
47583+
- $ref: '#/components/schemas/Amount3'
4758547584
- type: object
4758647585
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.
4758747586
lastModified:
@@ -47619,12 +47618,12 @@ components:
4761947618
description: The currency symbol for the net open position limit (e.g., "BTC").
4762047619
shortMarginPositionNotionalLimit:
4762147620
allOf:
47622-
- $ref: '#/components/schemas/Amount4'
47621+
- $ref: '#/components/schemas/Amount3'
4762347622
- type: object
4762447623
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").
4762547624
longMarginPositionNotionalLimit:
4762647625
allOf:
47627-
- $ref: '#/components/schemas/Amount4'
47626+
- $ref: '#/components/schemas/Amount3'
4762847627
- type: object
4762947628
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").
4763047629
example:

0 commit comments

Comments
 (0)