@coinbase-sample/prime-sdk-ts 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advancedTransfers/index.js +103 -0
- package/dist/advancedTransfers/types.js +2 -0
- package/dist/clients/clientWithServices.js +14 -0
- package/dist/constants.js +1 -1
- package/dist/financing/index.js +73 -0
- package/dist/futures/index.js +12 -0
- package/dist/index.js +3 -1
- package/dist/model/{CreateAddressGroup.js → ActiveLiquidationSummary.js} +1 -1
- package/dist/model/{DateOfBirth.js → AdvancedTransfer.js} +1 -1
- package/dist/model/{GetWalletAddressesResponse.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +1 -1
- package/dist/model/{StakingInputs.js → BetaCrossMarginPrimeMarginSummary.js} +1 -1
- package/dist/model/BetaCrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
- package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/BetaGetMarketDataResponse.js +21 -0
- package/dist/model/BetaMarketData.js +21 -0
- package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
- package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
- package/dist/model/BetaTierPairRateEntry.js +21 -0
- package/dist/model/BlindMatchMetadata.js +21 -0
- package/dist/model/CancelAdvancedTransferResponse.js +21 -0
- package/dist/model/CommissionDetailTotal.js +21 -0
- package/dist/model/CreateAdvancedTransferRequest.js +21 -0
- package/dist/model/CreateAdvancedTransferResponse.js +21 -0
- package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
- package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/CrossMarginRiskParameters.js +21 -0
- package/dist/model/FcmScheduledMaintenance.js +21 -0
- package/dist/model/FcmTradingSessionDetails.js +21 -0
- package/dist/model/FundMovement.js +21 -0
- package/dist/model/FutureProductDetails.js +21 -0
- package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/GetFcmEquityResponse.js +21 -0
- package/dist/model/GetMarketDataResponse.js +21 -0
- package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
- package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
- package/dist/model/ListAdvancedTransfersResponse.js +21 -0
- package/dist/model/MarketData.js +21 -0
- package/dist/model/PerpetualProductDetails.js +21 -0
- package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/PrimeXMMarginThreshold.js +21 -0
- package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/SetFundingSettingsRequest.js +21 -0
- package/dist/model/SetFundingSettingsResponse.js +21 -0
- package/dist/model/TierPairRateEntry.js +21 -0
- package/dist/model/ValidatorAllocation.js +21 -0
- package/dist/model/ValidatorUnstakePreview.js +21 -0
- package/dist/model/enums/AdvancedTransferState.js +34 -0
- package/dist/model/enums/AdvancedTransferType.js +29 -0
- package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
- package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ContractExpiryType.js +31 -0
- package/dist/model/enums/ExpiringContractStatus.js +31 -0
- package/dist/model/enums/FcmMarginHealthState.js +33 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
- package/dist/model/enums/FcmTradingSessionState.js +34 -0
- package/dist/model/enums/PrimeXMControlStatus.js +32 -0
- package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ProductType.js +30 -0
- package/dist/model/enums/RewardSubtype.js +2 -1
- package/dist/model/enums/RiskManagementType.js +31 -0
- package/dist/model/enums/SecondaryPermission.js +31 -0
- package/dist/model/enums/UserRole.js +2 -1
- package/dist/model/enums/XMLiquidationStatus.js +34 -0
- package/dist/model/enums/index.js +34 -2
- package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
- package/dist/services.js +3 -1
- package/dist/shared/paginatedResponse.js +2 -0
- package/dist/transactions/index.js +13 -0
- package/dist/types/advancedTransfers/index.d.ts +31 -0
- package/dist/types/advancedTransfers/types.d.ts +46 -0
- package/dist/types/clients/clientWithServices.d.ts +10 -0
- package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/financing/index.d.ts +9 -1
- package/dist/types/financing/types.d.ts +26 -1
- package/dist/types/futures/index.d.ts +4 -2
- package/dist/types/futures/types.d.ts +5 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
- package/dist/types/model/{TravelRuleEntry.d.ts → AdvancedTransfer.d.ts} +11 -16
- package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/BetaCrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/BetaGetMarketDataResponse.d.ts +28 -0
- package/dist/types/model/BetaMarketData.d.ts +45 -0
- package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/BetaPrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
- package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
- package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
- package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
- package/dist/types/model/{CreateAddressGroup.d.ts → CreateAdvancedTransferRequest.d.ts} +7 -7
- package/dist/types/model/{DateOfBirth.d.ts → CreateAdvancedTransferResponse.d.ts} +7 -5
- package/dist/types/model/CrossMarginOverview.d.ts +2 -0
- package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/EntityUser.d.ts +9 -0
- package/dist/types/model/{StakingInputs.d.ts → FcmScheduledMaintenance.d.ts} +8 -4
- package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
- package/dist/types/model/Fill.d.ts +4 -0
- package/dist/types/model/FundMovement.d.ts +30 -0
- package/dist/types/model/FutureProductDetails.d.ts +59 -0
- package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
- package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
- package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
- package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
- package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
- package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
- package/dist/types/model/MarketData.d.ts +45 -0
- package/dist/types/model/NetworkDetails.d.ts +12 -0
- package/dist/types/model/Order.d.ts +4 -0
- package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
- package/dist/types/model/PortfolioUser.d.ts +9 -0
- package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
- package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/PrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/Product.d.ts +6 -0
- package/dist/types/model/QuoteResponse.d.ts +4 -0
- package/dist/types/model/RFQ.d.ts +4 -0
- package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/TierPairRateEntry.d.ts +36 -0
- package/dist/types/model/ValidatorAllocation.d.ts +32 -0
- package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
- package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
- package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
- package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
- package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
- package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
- package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
- package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
- package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
- package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/{VASP.d.ts → enums/ProductType.d.ts} +6 -7
- package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
- package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
- package/dist/types/model/{TravelRuleWalletDetails.d.ts → enums/SecondaryPermission.d.ts} +7 -8
- package/dist/types/model/enums/UserRole.d.ts +3 -2
- package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
- package/dist/types/model/enums/index.d.ts +16 -0
- package/dist/types/model/googleTypeDate.d.ts +1 -1
- package/dist/types/model/index.d.ts +35 -4
- package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/services.d.ts +1 -0
- package/dist/types/shared/paginatedResponse.d.ts +6 -0
- package/dist/types/transactions/index.d.ts +3 -1
- package/dist/types/transactions/types.d.ts +6 -1
- package/package.json +2 -2
- package/dist/model/TravelRuleEntry.js +0 -21
- package/dist/model/TravelRuleWalletDetails.js +0 -21
- package/dist/model/VASP.js +0 -21
- package/dist/model/enumPrefixes.js +0 -330
- package/dist/shared/dynamicEnumValidation.js +0 -184
- package/dist/shared/dynamicEnumValidation.old.js +0 -746
- package/dist/shared/enumHelpers.js +0 -219
- package/dist/shared/enumRegistry.js +0 -153
- package/dist/shared/enumValidationCore.js +0 -194
- package/dist/shared/enumValidators.js +0 -115
- package/dist/shared/fieldMapping.js +0 -242
- package/dist/shared/serviceContext.js +0 -157
- package/dist/types/model/enumPrefixes.d.ts +0 -206
- package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
- package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
- package/dist/types/shared/enumHelpers.d.ts +0 -135
- package/dist/types/shared/enumRegistry.d.ts +0 -74
- package/dist/types/shared/enumValidationCore.d.ts +0 -68
- package/dist/types/shared/enumValidators.d.ts +0 -117
- package/dist/types/shared/fieldMapping.d.ts +0 -35
- package/dist/types/shared/serviceContext.d.ts +0 -46
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { BetaPrimeXMMarginThreshold } from './BetaPrimeXMMarginThreshold';
|
|
21
|
+
export type BetaPrimeXMMarginCallThresholds = {
|
|
22
|
+
/**
|
|
23
|
+
* Deficit threshold (DT).
|
|
24
|
+
*/
|
|
25
|
+
deficitThreshold?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Warning threshold (WT).
|
|
28
|
+
*/
|
|
29
|
+
warningThreshold?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Urgent margin call threshold (UMCT).
|
|
32
|
+
*/
|
|
33
|
+
criticalThreshold?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Liquidation threshold (LT).
|
|
36
|
+
*/
|
|
37
|
+
liquidationThreshold?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Structured margin thresholds by margin level.
|
|
40
|
+
*/
|
|
41
|
+
marginThresholds?: Array<BetaPrimeXMMarginThreshold>;
|
|
42
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export type BetaPrimeXMMarginRequirementBreakdown = {
|
|
21
|
+
/**
|
|
22
|
+
* Base margin requirement component.
|
|
23
|
+
*/
|
|
24
|
+
baseMargin?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Volatility add-on component.
|
|
27
|
+
*/
|
|
28
|
+
volatilityAddon?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Liquidity add-on component.
|
|
31
|
+
*/
|
|
32
|
+
liquidityAddon?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Credits that offset margin charges due to portfolio composition.
|
|
35
|
+
*/
|
|
36
|
+
offsetCredit?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Futures margin charge applied for any futures trades of the opposing direction but of the same underlying.
|
|
39
|
+
*/
|
|
40
|
+
futuresMargin?: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { BetaPrimeXMMarginLevel } from './enums/BetaPrimeXMMarginLevel';
|
|
21
|
+
import { BetaPrimeXMMarginThresholdType } from './enums/BetaPrimeXMMarginThresholdType';
|
|
22
|
+
export type BetaPrimeXMMarginThreshold = {
|
|
23
|
+
marginLevel?: BetaPrimeXMMarginLevel;
|
|
24
|
+
thresholdType?: BetaPrimeXMMarginThresholdType;
|
|
25
|
+
thresholdValue?: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export type BetaPrimeXMOffsetCreditBreakdown = {
|
|
21
|
+
/**
|
|
22
|
+
* Basis offset credit component.
|
|
23
|
+
*/
|
|
24
|
+
basisCredit?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Long/short tier-pair offset credit.
|
|
27
|
+
*/
|
|
28
|
+
longShortCredit?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Long/long tier-pair offset credit.
|
|
31
|
+
*/
|
|
32
|
+
longLongCredit?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Short/short tier-pair offset credit.
|
|
35
|
+
*/
|
|
36
|
+
shortShortCredit?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Same-tier offset credit.
|
|
39
|
+
*/
|
|
40
|
+
sameTierCredit?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Total offset credit.
|
|
43
|
+
*/
|
|
44
|
+
totalCredit?: string;
|
|
45
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* SetFundingSettingsResponse returns PCS activity metadata after the proposal is created.
|
|
22
|
+
*/
|
|
23
|
+
export type BetaSetFundingSettingsResponse = {
|
|
24
|
+
/**
|
|
25
|
+
* Identifier for the created activity / proposal
|
|
26
|
+
*/
|
|
27
|
+
activityId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Type of the activity (e.g. PCS proposal type)
|
|
30
|
+
*/
|
|
31
|
+
activityType?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Number of approvals still required before the change applies
|
|
34
|
+
*/
|
|
35
|
+
numApprovalsRemaining?: number;
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* TierPairRateEntry represents a single (tier_a, tier_b) -> rate entry in an offset credit matrix.
|
|
22
|
+
*/
|
|
23
|
+
export type BetaTierPairRateEntry = {
|
|
24
|
+
/**
|
|
25
|
+
* First tier in the pair
|
|
26
|
+
*/
|
|
27
|
+
tierA?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Second tier in the pair
|
|
30
|
+
*/
|
|
31
|
+
tierB?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Credit rate for this tier pair
|
|
34
|
+
*/
|
|
35
|
+
rate?: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* BlindMatchMetadata contains metadata specific to blind match advanced transfers.
|
|
22
|
+
*/
|
|
23
|
+
export type BlindMatchMetadata = {
|
|
24
|
+
referenceId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The intended time of Transfer settlement in YYYYMMDD format
|
|
27
|
+
*/
|
|
28
|
+
settlementDate?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional date of the original Trade in YYYYMMMDD format
|
|
31
|
+
*/
|
|
32
|
+
tradeDate?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Optional time of transfer settlement in HHMM format in UTC. If not provided, it defaults to 09:30 Eastern Time.
|
|
35
|
+
*/
|
|
36
|
+
settlementTime?: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* CancelAdvancedTransferResponse is the response after canceling an advanced transfer.
|
|
22
|
+
*/
|
|
23
|
+
export type CancelAdvancedTransferResponse = {
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the canceled Advanced Transfer
|
|
26
|
+
*/
|
|
27
|
+
advancedTransferId?: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export type CommissionDetailTotal = {
|
|
21
|
+
totalCommission?: string;
|
|
22
|
+
/**
|
|
23
|
+
* CB fee
|
|
24
|
+
*/
|
|
25
|
+
clientCommission?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Exchange fees
|
|
28
|
+
*/
|
|
29
|
+
venueCommission?: string;
|
|
30
|
+
cesCommission?: string;
|
|
31
|
+
financingCommission?: string;
|
|
32
|
+
/**
|
|
33
|
+
* NFA fees
|
|
34
|
+
*/
|
|
35
|
+
regulatoryCommission?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Clearing fees
|
|
38
|
+
*/
|
|
39
|
+
clearingCommission?: string;
|
|
40
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
5
|
*
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
import { AdvancedTransfer } from './AdvancedTransfer';
|
|
21
|
+
/**
|
|
22
|
+
* CreateAdvancedTransferRequest is the request to create an advanced transfer.
|
|
23
|
+
*/
|
|
24
|
+
export type CreateAdvancedTransferRequest = {
|
|
25
|
+
advancedTransfer: AdvancedTransfer;
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
5
|
*
|
|
@@ -17,8 +17,10 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
import { AdvancedTransfer } from './AdvancedTransfer';
|
|
21
|
+
/**
|
|
22
|
+
* CreateAdvancedTransferResponse is the response after creating an advanced transfer.
|
|
23
|
+
*/
|
|
24
|
+
export type CreateAdvancedTransferResponse = {
|
|
25
|
+
advancedTransfer: AdvancedTransfer;
|
|
24
26
|
};
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
+
import { ActiveLiquidationSummary } from './ActiveLiquidationSummary';
|
|
20
21
|
import { XMControlStatus } from './enums/XMControlStatus';
|
|
21
22
|
import { XMEntityCallStatus } from './enums/XMEntityCallStatus';
|
|
22
23
|
import { XMLoan } from './XMLoan';
|
|
@@ -36,4 +37,5 @@ export type CrossMarginOverview = {
|
|
|
36
37
|
* List of active XM loans
|
|
37
38
|
*/
|
|
38
39
|
activeLoans?: Array<XMLoan>;
|
|
40
|
+
activeLiquidation?: ActiveLiquidationSummary;
|
|
39
41
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Breakdown of the components of derivatives equity.
|
|
22
|
+
*/
|
|
23
|
+
export type CrossMarginPrimeDerivativesEquityBreakdown = {
|
|
24
|
+
/**
|
|
25
|
+
* Derivatives cash balance component.
|
|
26
|
+
*/
|
|
27
|
+
cashBalance?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Unrealized PnL component of derivatives equity.
|
|
30
|
+
*/
|
|
31
|
+
unrealizedPnl?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Realized PnL component of derivatives equity.
|
|
34
|
+
*/
|
|
35
|
+
realizedPnl?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Accrued funding PnL component of derivatives equity.
|
|
38
|
+
*/
|
|
39
|
+
accruedFundingPnl?: string;
|
|
40
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { CrossMarginPrimeDerivativesEquityBreakdown } from './CrossMarginPrimeDerivativesEquityBreakdown';
|
|
21
|
+
import { CrossMarginPrimeRiskNettingInfo } from './CrossMarginPrimeRiskNettingInfo';
|
|
22
|
+
import { CrossMarginPrimeSpotEquityBreakdown } from './CrossMarginPrimeSpotEquityBreakdown';
|
|
23
|
+
import { PrimeXMHealthStatus } from './enums/PrimeXMHealthStatus';
|
|
24
|
+
import { PrimeXMMarginCallThresholds } from './PrimeXMMarginCallThresholds';
|
|
25
|
+
import { PrimeXMMarginRequirementType } from './enums/PrimeXMMarginRequirementType';
|
|
26
|
+
/**
|
|
27
|
+
* Cross-margin account summary and nested breakdowns.
|
|
28
|
+
*/
|
|
29
|
+
export type CrossMarginPrimeMarginSummary = {
|
|
30
|
+
/**
|
|
31
|
+
* Cross Margin Margin Requirement (XMMR) notional
|
|
32
|
+
*/
|
|
33
|
+
marginRequirement?: string;
|
|
34
|
+
marginRequirementType?: PrimeXMMarginRequirementType;
|
|
35
|
+
/**
|
|
36
|
+
* Equity notional
|
|
37
|
+
*/
|
|
38
|
+
accountEquity?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Equity - XMMR (margin excess is > 0)
|
|
41
|
+
*/
|
|
42
|
+
marginExcessShortfall?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Credit consumed from Cross Margin Credit Limit (XMCL)
|
|
45
|
+
*/
|
|
46
|
+
consumedCredit?: string;
|
|
47
|
+
/**
|
|
48
|
+
* XM Credit Limit (XMCL) is the maximum notional USD of total fiat and digital asset loans
|
|
49
|
+
*/
|
|
50
|
+
xmCreditLimit?: string;
|
|
51
|
+
/**
|
|
52
|
+
* XM Margin Limit (XMML) is the maximum notional USD deficit
|
|
53
|
+
*/
|
|
54
|
+
xmMarginLimit?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Amount of the XM margin limit consumed by excess deficit.
|
|
57
|
+
*/
|
|
58
|
+
consumedMarginLimit?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Equity attributed by spot
|
|
61
|
+
*/
|
|
62
|
+
spotEquity?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Equity attributed by futures
|
|
65
|
+
*/
|
|
66
|
+
futuresEquity?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Gross market value.
|
|
69
|
+
*/
|
|
70
|
+
grossMarketValue?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Net market value.
|
|
73
|
+
*/
|
|
74
|
+
netMarketValue?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Net exposure.
|
|
77
|
+
*/
|
|
78
|
+
netExposure?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Gross leverage.
|
|
81
|
+
*/
|
|
82
|
+
grossLeverage?: string;
|
|
83
|
+
spotEquityBreakdown?: CrossMarginPrimeSpotEquityBreakdown;
|
|
84
|
+
derivativesEquityBreakdown?: CrossMarginPrimeDerivativesEquityBreakdown;
|
|
85
|
+
riskNettingInfo?: CrossMarginPrimeRiskNettingInfo;
|
|
86
|
+
healthStatus?: PrimeXMHealthStatus;
|
|
87
|
+
/**
|
|
88
|
+
* Equity ratio.
|
|
89
|
+
*/
|
|
90
|
+
equityRatio?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Deficit ratio.
|
|
93
|
+
*/
|
|
94
|
+
deficitRatio?: string;
|
|
95
|
+
marginThresholds?: PrimeXMMarginCallThresholds;
|
|
96
|
+
/**
|
|
97
|
+
* FCM excess available to return.
|
|
98
|
+
*/
|
|
99
|
+
fcmExcessAvailableToReturn?: string;
|
|
100
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { CrossMarginPrimeXMPosition } from './CrossMarginPrimeXMPosition';
|
|
21
|
+
import { PrimeXMMarginRequirementBreakdown } from './PrimeXMMarginRequirementBreakdown';
|
|
22
|
+
import { PrimeXMOffsetCreditBreakdown } from './PrimeXMOffsetCreditBreakdown';
|
|
23
|
+
/**
|
|
24
|
+
* Groups XM margin requirement components, offset credits, and per-asset rows.
|
|
25
|
+
*/
|
|
26
|
+
export type CrossMarginPrimeRiskNettingInfo = {
|
|
27
|
+
/**
|
|
28
|
+
* Derivatives Clearing Organization Margin Requirement (DMR) is the margin requirement for all futures positions, derived from the Derivatives Clearing Organization model
|
|
29
|
+
*/
|
|
30
|
+
dcoMarginRequirement?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Portfolio Margin Requirement (PMR) is the margin requirement for all spot positions, derived from the XM model
|
|
33
|
+
*/
|
|
34
|
+
portfolioMarginRequirement?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Integrated Portfolio Margin Requirement (IPMR) is the margin requirement for all spot positions + futures positions with underlying assets eligible in Portfolio Margin.
|
|
37
|
+
*/
|
|
38
|
+
integratedPortfolioMarginRequirement?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Ineligible Futures Margin Requirement (IFMR) is the margin requirement for IPMR-ineligible futures contracts
|
|
41
|
+
*/
|
|
42
|
+
ineligibleFuturesMarginRequirement?: string;
|
|
43
|
+
pmrBreakdown?: PrimeXMMarginRequirementBreakdown;
|
|
44
|
+
ipmrBreakdown?: PrimeXMMarginRequirementBreakdown;
|
|
45
|
+
portfolioMarginOffsetCreditBreakdown?: PrimeXMOffsetCreditBreakdown;
|
|
46
|
+
integratedPortfolioMarginOffsetCreditBreakdown?: PrimeXMOffsetCreditBreakdown;
|
|
47
|
+
/**
|
|
48
|
+
* Netted positions used in the model calculation.
|
|
49
|
+
*/
|
|
50
|
+
xmPositions?: Array<CrossMarginPrimeXMPosition>;
|
|
51
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Breakdown of the components of spot equity.
|
|
22
|
+
*/
|
|
23
|
+
export type CrossMarginPrimeSpotEquityBreakdown = {
|
|
24
|
+
/**
|
|
25
|
+
* PM cash balance component of spot equity.
|
|
26
|
+
*/
|
|
27
|
+
cashBalance?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Long market value component of spot equity.
|
|
30
|
+
*/
|
|
31
|
+
longMarketValue?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Short market value component of spot equity.
|
|
34
|
+
*/
|
|
35
|
+
shortMarketValue?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Short collateral component of spot equity.
|
|
38
|
+
*/
|
|
39
|
+
shortCollateral?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Pending transfers affecting spot equity.
|
|
42
|
+
*/
|
|
43
|
+
pendingTransfers?: string;
|
|
44
|
+
};
|