@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.
Files changed (213) hide show
  1. package/dist/advancedTransfers/index.js +103 -0
  2. package/dist/advancedTransfers/types.js +2 -0
  3. package/dist/clients/clientWithServices.js +14 -0
  4. package/dist/constants.js +1 -1
  5. package/dist/financing/index.js +73 -0
  6. package/dist/futures/index.js +12 -0
  7. package/dist/index.js +3 -1
  8. package/dist/model/{CreateAddressGroup.js → ActiveLiquidationSummary.js} +1 -1
  9. package/dist/model/{DateOfBirth.js → AdvancedTransfer.js} +1 -1
  10. package/dist/model/{GetWalletAddressesResponse.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +1 -1
  11. package/dist/model/{StakingInputs.js → BetaCrossMarginPrimeMarginSummary.js} +1 -1
  12. package/dist/model/BetaCrossMarginPrimeRiskNettingInfo.js +21 -0
  13. package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
  14. package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
  15. package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
  16. package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
  17. package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
  18. package/dist/model/BetaGetMarketDataResponse.js +21 -0
  19. package/dist/model/BetaMarketData.js +21 -0
  20. package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
  21. package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
  22. package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
  23. package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
  24. package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
  25. package/dist/model/BetaTierPairRateEntry.js +21 -0
  26. package/dist/model/BlindMatchMetadata.js +21 -0
  27. package/dist/model/CancelAdvancedTransferResponse.js +21 -0
  28. package/dist/model/CommissionDetailTotal.js +21 -0
  29. package/dist/model/CreateAdvancedTransferRequest.js +21 -0
  30. package/dist/model/CreateAdvancedTransferResponse.js +21 -0
  31. package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
  32. package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
  33. package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
  34. package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
  35. package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
  36. package/dist/model/CrossMarginRiskParameters.js +21 -0
  37. package/dist/model/FcmScheduledMaintenance.js +21 -0
  38. package/dist/model/FcmTradingSessionDetails.js +21 -0
  39. package/dist/model/FundMovement.js +21 -0
  40. package/dist/model/FutureProductDetails.js +21 -0
  41. package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
  42. package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
  43. package/dist/model/GetFcmEquityResponse.js +21 -0
  44. package/dist/model/GetMarketDataResponse.js +21 -0
  45. package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
  46. package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
  47. package/dist/model/ListAdvancedTransfersResponse.js +21 -0
  48. package/dist/model/MarketData.js +21 -0
  49. package/dist/model/PerpetualProductDetails.js +21 -0
  50. package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
  51. package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
  52. package/dist/model/PrimeXMMarginThreshold.js +21 -0
  53. package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
  54. package/dist/model/SetFundingSettingsRequest.js +21 -0
  55. package/dist/model/SetFundingSettingsResponse.js +21 -0
  56. package/dist/model/TierPairRateEntry.js +21 -0
  57. package/dist/model/ValidatorAllocation.js +21 -0
  58. package/dist/model/ValidatorUnstakePreview.js +21 -0
  59. package/dist/model/enums/AdvancedTransferState.js +34 -0
  60. package/dist/model/enums/AdvancedTransferType.js +29 -0
  61. package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
  62. package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
  63. package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
  64. package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
  65. package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
  66. package/dist/model/enums/ContractExpiryType.js +31 -0
  67. package/dist/model/enums/ExpiringContractStatus.js +31 -0
  68. package/dist/model/enums/FcmMarginHealthState.js +33 -0
  69. package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
  70. package/dist/model/enums/FcmTradingSessionState.js +34 -0
  71. package/dist/model/enums/PrimeXMControlStatus.js +32 -0
  72. package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
  73. package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
  74. package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
  75. package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
  76. package/dist/model/enums/ProductType.js +30 -0
  77. package/dist/model/enums/RewardSubtype.js +2 -1
  78. package/dist/model/enums/RiskManagementType.js +31 -0
  79. package/dist/model/enums/SecondaryPermission.js +31 -0
  80. package/dist/model/enums/UserRole.js +2 -1
  81. package/dist/model/enums/XMLiquidationStatus.js +34 -0
  82. package/dist/model/enums/index.js +34 -2
  83. package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
  84. package/dist/services.js +3 -1
  85. package/dist/shared/paginatedResponse.js +2 -0
  86. package/dist/transactions/index.js +13 -0
  87. package/dist/types/advancedTransfers/index.d.ts +31 -0
  88. package/dist/types/advancedTransfers/types.d.ts +46 -0
  89. package/dist/types/clients/clientWithServices.d.ts +10 -0
  90. package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
  91. package/dist/types/constants.d.ts +1 -1
  92. package/dist/types/financing/index.d.ts +9 -1
  93. package/dist/types/financing/types.d.ts +26 -1
  94. package/dist/types/futures/index.d.ts +4 -2
  95. package/dist/types/futures/types.d.ts +5 -1
  96. package/dist/types/index.d.ts +3 -1
  97. package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
  98. package/dist/types/model/{TravelRuleEntry.d.ts → AdvancedTransfer.d.ts} +11 -16
  99. package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  100. package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
  101. package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  102. package/dist/types/model/BetaCrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
  103. package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
  104. package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
  105. package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  106. package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
  107. package/dist/types/model/BetaGetMarketDataResponse.d.ts +28 -0
  108. package/dist/types/model/BetaMarketData.d.ts +45 -0
  109. package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
  110. package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
  111. package/dist/types/model/BetaPrimeXMMarginThreshold.d.ts +26 -0
  112. package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
  113. package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
  114. package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
  115. package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
  116. package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
  117. package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
  118. package/dist/types/model/{CreateAddressGroup.d.ts → CreateAdvancedTransferRequest.d.ts} +7 -7
  119. package/dist/types/model/{DateOfBirth.d.ts → CreateAdvancedTransferResponse.d.ts} +7 -5
  120. package/dist/types/model/CrossMarginOverview.d.ts +2 -0
  121. package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  122. package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
  123. package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  124. package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
  125. package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
  126. package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
  127. package/dist/types/model/EntityUser.d.ts +9 -0
  128. package/dist/types/model/{StakingInputs.d.ts → FcmScheduledMaintenance.d.ts} +8 -4
  129. package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
  130. package/dist/types/model/Fill.d.ts +4 -0
  131. package/dist/types/model/FundMovement.d.ts +30 -0
  132. package/dist/types/model/FutureProductDetails.d.ts +59 -0
  133. package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  134. package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
  135. package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
  136. package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
  137. package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
  138. package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
  139. package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
  140. package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
  141. package/dist/types/model/MarketData.d.ts +45 -0
  142. package/dist/types/model/NetworkDetails.d.ts +12 -0
  143. package/dist/types/model/Order.d.ts +4 -0
  144. package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
  145. package/dist/types/model/PortfolioUser.d.ts +9 -0
  146. package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
  147. package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
  148. package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
  149. package/dist/types/model/PrimeXMMarginThreshold.d.ts +26 -0
  150. package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
  151. package/dist/types/model/Product.d.ts +6 -0
  152. package/dist/types/model/QuoteResponse.d.ts +4 -0
  153. package/dist/types/model/RFQ.d.ts +4 -0
  154. package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
  155. package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
  156. package/dist/types/model/TierPairRateEntry.d.ts +36 -0
  157. package/dist/types/model/ValidatorAllocation.d.ts +32 -0
  158. package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
  159. package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
  160. package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
  161. package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
  162. package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
  163. package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
  164. package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
  165. package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
  166. package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
  167. package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
  168. package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
  169. package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
  170. package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
  171. package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
  172. package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
  173. package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
  174. package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
  175. package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
  176. package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
  177. package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
  178. package/dist/types/model/{VASP.d.ts → enums/ProductType.d.ts} +6 -7
  179. package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
  180. package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
  181. package/dist/types/model/{TravelRuleWalletDetails.d.ts → enums/SecondaryPermission.d.ts} +7 -8
  182. package/dist/types/model/enums/UserRole.d.ts +3 -2
  183. package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
  184. package/dist/types/model/enums/index.d.ts +16 -0
  185. package/dist/types/model/googleTypeDate.d.ts +1 -1
  186. package/dist/types/model/index.d.ts +35 -4
  187. package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
  188. package/dist/types/services.d.ts +1 -0
  189. package/dist/types/shared/paginatedResponse.d.ts +6 -0
  190. package/dist/types/transactions/index.d.ts +3 -1
  191. package/dist/types/transactions/types.d.ts +6 -1
  192. package/package.json +2 -2
  193. package/dist/model/TravelRuleEntry.js +0 -21
  194. package/dist/model/TravelRuleWalletDetails.js +0 -21
  195. package/dist/model/VASP.js +0 -21
  196. package/dist/model/enumPrefixes.js +0 -330
  197. package/dist/shared/dynamicEnumValidation.js +0 -184
  198. package/dist/shared/dynamicEnumValidation.old.js +0 -746
  199. package/dist/shared/enumHelpers.js +0 -219
  200. package/dist/shared/enumRegistry.js +0 -153
  201. package/dist/shared/enumValidationCore.js +0 -194
  202. package/dist/shared/enumValidators.js +0 -115
  203. package/dist/shared/fieldMapping.js +0 -242
  204. package/dist/shared/serviceContext.js +0 -157
  205. package/dist/types/model/enumPrefixes.d.ts +0 -206
  206. package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
  207. package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
  208. package/dist/types/shared/enumHelpers.d.ts +0 -135
  209. package/dist/types/shared/enumRegistry.d.ts +0 -74
  210. package/dist/types/shared/enumValidationCore.d.ts +0 -68
  211. package/dist/types/shared/enumValidators.d.ts +0 -117
  212. package/dist/types/shared/fieldMapping.d.ts +0 -35
  213. package/dist/types/shared/serviceContext.d.ts +0 -46
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Brand } from '../shared/brand';
17
- import { GetFcmBalanceResponse, GetFuturesSweepsResponse, GetPositionsResponse, SetAutoSweepResponse, ScheduleFuturesSweepRequest, ScheduleFuturesSweepResponse, CancelFuturesSweepResponse, GetFcmRiskLimitsResponse, GetFcmMarginCallDetailsResponse, GetFcmSettingsResponse as internalGetFcmSettingsResponse, SetFcmSettingsResponse as internalSetFcmSettingsResponse } from '../model/';
17
+ import { GetFcmBalanceResponse, GetFuturesSweepsResponse, GetPositionsResponse, SetAutoSweepResponse, ScheduleFuturesSweepRequest, ScheduleFuturesSweepResponse, CancelFuturesSweepResponse, GetFcmRiskLimitsResponse, GetFcmMarginCallDetailsResponse, GetFcmSettingsResponse as internalGetFcmSettingsResponse, SetFcmSettingsResponse as internalSetFcmSettingsResponse, GetFcmEquityResponse as internalGetFcmEquityResponse } from '../model/';
18
18
  export type ListEntityFuturesSweepsRequest = {
19
19
  entityId: string;
20
20
  };
@@ -58,3 +58,7 @@ export type SetFcmSettingsRequest = {
58
58
  targetDerivativesExcess: string;
59
59
  };
60
60
  export type SetFcmSettingsResponse = Brand<internalSetFcmSettingsResponse, 'SetFcmSettingsResponse'>;
61
+ export type GetEntityFcmEquityRequest = {
62
+ entityId: string;
63
+ };
64
+ export type GetEntityFcmEquityResponse = Brand<internalGetFcmEquityResponse, 'GetEntityFcmEquityResponse'>;
@@ -19,6 +19,7 @@ export { createCredentialsFromEnv } from './shared/envUtils';
19
19
  export { CoinbasePrimeClientException, CoinbasePrimeException } from './errors';
20
20
  export { validate, isValidUUID } from './shared/validation';
21
21
  export type { ValidationError, PropertyValidator } from './shared/validation';
22
+ export { AdvancedTransfersService, IAdvancedTransfersService, } from './advancedTransfers';
22
23
  export { ActivitiesService, IActivitiesService } from './activities';
23
24
  export { AddressBooksService, IAddressBooksService } from './addressBooks';
24
25
  export { AllocationService, IAllocationService } from './allocations';
@@ -40,6 +41,7 @@ export { UsersService, IUsersService } from './users';
40
41
  export { WalletsService, IWalletsService } from './wallets';
41
42
  export type * from './model/';
42
43
  export * from './model/enums/';
44
+ export type { CancelAdvancedTransferRequest, CancelAdvancedTransferResponse, CreateAdvancedTransferRequest, CreateAdvancedTransferResponse, ListAdvancedTransferTransactionsRequest, ListAdvancedTransferTransactionsResponse, ListAdvancedTransfersRequest, ListAdvancedTransfersResponse, } from './advancedTransfers/types';
43
45
  export type { GetActivityRequest, GetActivityResponse, GetPortfolioActivitiesRequest, GetPortfolioActivityResponse, ListEntityActivitiesRequest, ListEntityActivitiesResponse, ListPortfolioActivitiesRequest, ListPortfolioActivitiesResponse, } from './activities/types';
44
46
  export type { CreateAddressBookRequest, CreateAddressBookResponse, ListAddressBooksRequest, ListAddressBooksResponse, } from './addressBooks/types';
45
47
  export type { CreateAllocationRequest, CreateAllocationResponse, CreateNetAllocationRequest, CreateNetAllocationResponse, ListNetAllocationsRequest, ListNetAllocationsResponse, ListPortfolioAllocationsRequest, ListPortfolioAllocationsResponse, GetAllocationRequest, GetAllocationResponse, } from './allocations/types';
@@ -47,7 +49,7 @@ export type { ListAssetsRequest, ListAssetsResponse } from './assets/types';
47
49
  export type { GetWalletBalanceRequest, GetWalletBalanceResponse, ListOnchainWalletBalancesRequest, ListOnchainWalletBalancesResponse, ListPortfolioBalancesRequest, ListPortfolioBalancesResponse, ListEntityBalancesRequest, ListEntityBalancesResponse, } from './balances/types';
48
50
  export type { GetPortfolioCommissionRequest, GetPortfolioCommissionResponse, } from './commission/types';
49
51
  export type { ListExistingLocatesRequest, ListExistingLocatesResponse, ListInterestAccrualsRequest, ListInterestAccrualsResponse, ListPortfolioInterestAccrualsRequest, ListPortfolioInterestAccrualsResponse, ListMarginCallSummariesRequest, ListMarginCallSummariesResponse, ListMarginConversionsRequest, ListMarginConversionsResponse, GetEntityLocateAvailabilitiesRequest, GetEntityLocateAvailabilitiesResponse, GetMarginInformationRequest, GetMarginInformationResponse, GetPortfolioBuyingPowerRequest, GetPortfolioBuyingPowerResponse, GetPortfolioCreditInformationRequest, GetPortfolioCreditInformationResponse, GetPortfolioWithdrawalPowerRequest, GetPortfolioWithdrawalPowerResponse, GetFcmMarginCallDetailsRequest, GetFcmMarginCallDetailsResponse, GetFcmRiskLimitsRequest, GetFcmRiskLimitsResponse, GetTieredPricingFeesRequest, GetTieredPricingFeesResponse, CreateNewLocatesRequest, CreateNewLocatesResponse, GetCrossMarginOverviewRequest, GetCrossMarginOverviewResponse, } from './financing/types';
50
- export type { CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, } from './futures/types';
52
+ export type { CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, GetEntityFcmEquityRequest, GetEntityFcmEquityResponse, } from './futures/types';
51
53
  export type { ListInvoicesRequest, ListInvoicesResponse, } from './invoices/types';
52
54
  export type { CreateOnchainAddressBookEntryRequest, CreateOnchainAddressBookEntryResponse, DeleteOnchainAddressBookEntryRequest, DeleteOnchainAddressBookEntryResponse, ListOnchainAddressBookRequest, ListOnchainAddressBookResponse, UpdateOnchainAddressBookEntryRequest, UpdateOnchainAddressBookEntryResponse, } from './onchainAddressBook/types';
53
55
  export type { AcceptQuoteRequest, AcceptQuoteResponse, CancelOrderRequest, CancelOrderResponse, CreateOrderPreviewRequest, CreateOrderPreviewResponse, CreateOrderRequest, CreateOrderResponse, CreateQuoteRequest, CreateQuoteResponse, GetOrderRequest, GetOrderResponse, GetOrderEditHistoryRequest, GetOrderEditHistoryResponse, ListOpenOrdersRequest, ListOpenOrdersResponse, ListOrderFillsRequest, ListOrderFillsResponse, ListPortfolioFillsRequest, ListPortfolioFillsResponse, ListPortfolioOrdersRequest, ListPortfolioOrdersResponse, EditOrderRequest, EditOrderResponse, } from './orders/types';
@@ -0,0 +1,31 @@
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 { XMLiquidationStatus } from './enums/XMLiquidationStatus';
21
+ export type ActiveLiquidationSummary = {
22
+ /**
23
+ * Financing liquidation UUID
24
+ */
25
+ liquidationId?: string;
26
+ status?: XMLiquidationStatus;
27
+ /**
28
+ * USD notional shortfall amount that triggered the liquidation
29
+ */
30
+ shortfallAmount?: string;
31
+ };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025-present Coinbase Global, Inc.
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,22 +17,17 @@
17
17
  *
18
18
  * Do not edit the class manually.
19
19
  */
20
- import { BlockchainAddress } from './BlockchainAddress';
21
- import { TravelRuleParty } from './TravelRuleParty';
22
- import { TravelRuleWalletDetails } from './TravelRuleWalletDetails';
23
- import { VASP } from './VASP';
20
+ import { AdvancedTransferState } from './enums/AdvancedTransferState';
21
+ import { AdvancedTransferType } from './enums/AdvancedTransferType';
22
+ import { BlindMatchMetadata } from './BlindMatchMetadata';
23
+ import { FundMovement } from './FundMovement';
24
24
  /**
25
- * Travel Rule Entry for sending addresses.
25
+ * AdvancedTransfer represents a complex transfer operation such as a blind match settlement.
26
26
  */
27
- export type TravelRuleEntry = {
27
+ export type AdvancedTransfer = {
28
28
  id?: string;
29
- blockchainAddress?: BlockchainAddress;
30
- originator?: TravelRuleParty;
31
- beneficiary?: TravelRuleParty;
32
- vasp?: VASP;
33
- walletDetails?: TravelRuleWalletDetails;
34
- transferPurpose?: string;
35
- isSelfCertified?: boolean;
36
- isIntermediary?: boolean;
37
- isSelf?: boolean;
29
+ type?: AdvancedTransferType;
30
+ state?: AdvancedTransferState;
31
+ fundMovements?: Array<FundMovement>;
32
+ blindMatchMetadata?: BlindMatchMetadata;
38
33
  };
@@ -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 BetaCrossMarginPrimeDerivativesEquityBreakdown = {
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 { BetaCrossMarginPrimeDerivativesEquityBreakdown } from './BetaCrossMarginPrimeDerivativesEquityBreakdown';
21
+ import { BetaCrossMarginPrimeRiskNettingInfo } from './BetaCrossMarginPrimeRiskNettingInfo';
22
+ import { BetaCrossMarginPrimeSpotEquityBreakdown } from './BetaCrossMarginPrimeSpotEquityBreakdown';
23
+ import { BetaPrimeXMHealthStatus } from './enums/BetaPrimeXMHealthStatus';
24
+ import { BetaPrimeXMMarginCallThresholds } from './BetaPrimeXMMarginCallThresholds';
25
+ import { BetaPrimeXMMarginRequirementType } from './enums/BetaPrimeXMMarginRequirementType';
26
+ /**
27
+ * Cross-margin account summary and nested breakdowns.
28
+ */
29
+ export type BetaCrossMarginPrimeMarginSummary = {
30
+ /**
31
+ * Cross Margin Margin Requirement (XMMR) notional
32
+ */
33
+ marginRequirement?: string;
34
+ marginRequirementType?: BetaPrimeXMMarginRequirementType;
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?: BetaCrossMarginPrimeSpotEquityBreakdown;
84
+ derivativesEquityBreakdown?: BetaCrossMarginPrimeDerivativesEquityBreakdown;
85
+ riskNettingInfo?: BetaCrossMarginPrimeRiskNettingInfo;
86
+ healthStatus?: BetaPrimeXMHealthStatus;
87
+ /**
88
+ * Equity ratio.
89
+ */
90
+ equityRatio?: string;
91
+ /**
92
+ * Deficit ratio.
93
+ */
94
+ deficitRatio?: string;
95
+ marginThresholds?: BetaPrimeXMMarginCallThresholds;
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 { BetaCrossMarginPrimeXMPosition } from './BetaCrossMarginPrimeXMPosition';
21
+ import { BetaPrimeXMMarginRequirementBreakdown } from './BetaPrimeXMMarginRequirementBreakdown';
22
+ import { BetaPrimeXMOffsetCreditBreakdown } from './BetaPrimeXMOffsetCreditBreakdown';
23
+ /**
24
+ * Groups XM margin requirement components, offset credits, and per-asset rows.
25
+ */
26
+ export type BetaCrossMarginPrimeRiskNettingInfo = {
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?: BetaPrimeXMMarginRequirementBreakdown;
44
+ ipmrBreakdown?: BetaPrimeXMMarginRequirementBreakdown;
45
+ portfolioMarginOffsetCreditBreakdown?: BetaPrimeXMOffsetCreditBreakdown;
46
+ integratedPortfolioMarginOffsetCreditBreakdown?: BetaPrimeXMOffsetCreditBreakdown;
47
+ /**
48
+ * Netted positions used in the model calculation.
49
+ */
50
+ xmPositions?: Array<BetaCrossMarginPrimeXMPosition>;
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 BetaCrossMarginPrimeSpotEquityBreakdown = {
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
+ };
@@ -0,0 +1,84 @@
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
+ * CrossMarginPrimeXMPosition is a single per-asset XM row (proto-backed fields from XMPositionDetails).
22
+ */
23
+ export type BetaCrossMarginPrimeXMPosition = {
24
+ /**
25
+ * Position currency
26
+ */
27
+ currency?: string;
28
+ /**
29
+ * Current market price
30
+ */
31
+ marketPrice?: string;
32
+ /**
33
+ * XM spot balance nominal
34
+ */
35
+ spotBalance?: string;
36
+ /**
37
+ * XM spot balance notional
38
+ */
39
+ spotBalanceNotional?: string;
40
+ /**
41
+ * XM futures balance nominal
42
+ */
43
+ futuresBalance?: string;
44
+ /**
45
+ * XM futures balance notional
46
+ */
47
+ futuresBalanceNotional?: string;
48
+ /**
49
+ * Base margin requirement notional
50
+ */
51
+ baseRequirement?: string;
52
+ /**
53
+ * Total margin required
54
+ */
55
+ totalPositionMargin?: string;
56
+ /**
57
+ * Basis offset credit applied to this asset row.
58
+ */
59
+ basisCredit?: string;
60
+ /**
61
+ * Post-netting USD notional for futures on this asset
62
+ */
63
+ futuresNettedNotional?: string;
64
+ /**
65
+ * Margin attributed to futures netting for this asset row.
66
+ */
67
+ futuresNettingMargin?: string;
68
+ /**
69
+ * Per-asset long amount from position_summary.
70
+ */
71
+ longAmount?: string;
72
+ /**
73
+ * Per-asset short amount from position_summary.
74
+ */
75
+ shortAmount?: string;
76
+ /**
77
+ * Volatility margin add-on for this asset.
78
+ */
79
+ volatilityAddon?: string;
80
+ /**
81
+ * Liquidity margin add-on for this asset.
82
+ */
83
+ liquidityAddon?: string;
84
+ };
@@ -0,0 +1,72 @@
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
+ * XM 2.0 risk parameters for an asset tier
22
+ */
23
+ export type BetaCrossMarginRiskParameters = {
24
+ /**
25
+ * Asset tier identifier
26
+ */
27
+ assetTier?: string;
28
+ /**
29
+ * Base ratio for long positions
30
+ */
31
+ baseRatioLong?: string;
32
+ /**
33
+ * Base ratio for short positions
34
+ */
35
+ baseRatioShort?: string;
36
+ /**
37
+ * Volatility rate for long positions
38
+ */
39
+ volatilityRateLong?: string;
40
+ /**
41
+ * Volatility rate for short positions
42
+ */
43
+ volatilityRateShort?: string;
44
+ /**
45
+ * Volatility low threshold
46
+ */
47
+ volatilityLowThreshold?: string;
48
+ /**
49
+ * Volatility high threshold
50
+ */
51
+ volatilityHighThreshold?: string;
52
+ /**
53
+ * Liquidity A for long positions
54
+ */
55
+ liquidityALong?: string;
56
+ /**
57
+ * Liquidity A for short positions
58
+ */
59
+ liquidityAShort?: string;
60
+ /**
61
+ * Liquidity B for short positions
62
+ */
63
+ liquidityBShort?: string;
64
+ /**
65
+ * Liquidity threshold
66
+ */
67
+ liquidityThreshold?: string;
68
+ /**
69
+ * Basis offset credit rate
70
+ */
71
+ basisOffsetCreditRate?: string;
72
+ };
@@ -0,0 +1,31 @@
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 { BetaCrossMarginPrimeMarginSummary } from './BetaCrossMarginPrimeMarginSummary';
21
+ import { BetaPrimeXMControlStatus } from './enums/BetaPrimeXMControlStatus';
22
+ import { BetaPrimeXMMarginLevel } from './enums/BetaPrimeXMMarginLevel';
23
+ export type BetaGetCrossMarginPrimeOverviewResponse = {
24
+ controlStatus?: BetaPrimeXMControlStatus;
25
+ marginLevel?: BetaPrimeXMMarginLevel;
26
+ /**
27
+ * When margin metrics were evaluated.
28
+ */
29
+ evaluatedAt?: Date;
30
+ marginSummary?: BetaCrossMarginPrimeMarginSummary;
31
+ };
@@ -0,0 +1,43 @@
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 { BetaCrossMarginRiskParameters } from './BetaCrossMarginRiskParameters';
21
+ import { BetaTierPairRateEntry } from './BetaTierPairRateEntry';
22
+ export type BetaGetCrossMarginRiskParametersResponse = {
23
+ /**
24
+ * Current XM tier risk parameters for the entity\'s client tier
25
+ */
26
+ riskParameters?: Array<BetaCrossMarginRiskParameters>;
27
+ /**
28
+ * Offset credit rate matrix for long/short tier pairs
29
+ */
30
+ offsetCreditMatrixLongShort?: Array<BetaTierPairRateEntry>;
31
+ /**
32
+ * Offset credit rate matrix for long/long tier pairs
33
+ */
34
+ offsetCreditMatrixLongLong?: Array<BetaTierPairRateEntry>;
35
+ /**
36
+ * Offset credit rate matrix for short/short tier pairs
37
+ */
38
+ offsetCreditMatrixShortShort?: Array<BetaTierPairRateEntry>;
39
+ /**
40
+ * Margin period of risk (number of days)
41
+ */
42
+ marginPeriodOfRisk?: number;
43
+ };
@@ -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
+ import { BetaMarketData } from './BetaMarketData';
21
+ import { PaginatedResponse } from './PaginatedResponse';
22
+ export type BetaGetMarketDataResponse = {
23
+ /**
24
+ * List of market data entries
25
+ */
26
+ marketData?: Array<BetaMarketData>;
27
+ pagination?: PaginatedResponse;
28
+ };
@@ -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 BetaMarketData = {
21
+ /**
22
+ * Base asset symbol (e.g., BTC, ETH, SOL)
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * Daily historical volatility over trailing 5 days (decimal, e.g., 0.65 = 65%)
27
+ */
28
+ vol5d?: string;
29
+ /**
30
+ * Daily historical volatility over trailing 30 days (decimal, e.g., 0.65 = 65%)
31
+ */
32
+ vol30d?: string;
33
+ /**
34
+ * Daily historical volatility over trailing 90 days (decimal, e.g., 0.65 = 65%)
35
+ */
36
+ vol90d?: string;
37
+ /**
38
+ * Average daily trading volume over trailing 30 days (USD)
39
+ */
40
+ adv30d?: string;
41
+ /**
42
+ * Weighted blend of the most recent vol_5d and the max vol_5d over last 30 days into a single volatility measure (decimal).
43
+ */
44
+ weightedVol?: string;
45
+ };