@coinbase-sample/advanced-trade-sdk-ts 0.2.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/README.md +134 -0
- package/dist/constants.d.ts +7 -0
- package/dist/constants.js +10 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +44 -0
- package/dist/model/Account.d.ts +80 -0
- package/dist/model/Account.js +21 -0
- package/dist/model/Address.d.ts +27 -0
- package/dist/model/Address.js +21 -0
- package/dist/model/AllocatePortfolioRequest.d.ts +37 -0
- package/dist/model/AllocatePortfolioRequest.js +21 -0
- package/dist/model/Allocation.d.ts +25 -0
- package/dist/model/Allocation.js +21 -0
- package/dist/model/AllocationLeg.d.ts +25 -0
- package/dist/model/AllocationLeg.js +21 -0
- package/dist/model/Amount.d.ts +29 -0
- package/dist/model/Amount.js +21 -0
- package/dist/model/ApplePay.d.ts +40 -0
- package/dist/model/ApplePay.js +21 -0
- package/dist/model/ApplePayBraintreeData.d.ts +23 -0
- package/dist/model/ApplePayBraintreeData.js +21 -0
- package/dist/model/Asset.d.ts +30 -0
- package/dist/model/Asset.js +21 -0
- package/dist/model/Balance.d.ts +32 -0
- package/dist/model/Balance.js +21 -0
- package/dist/model/BalancePair.d.ts +24 -0
- package/dist/model/BalancePair.js +21 -0
- package/dist/model/BankAccount.d.ts +25 -0
- package/dist/model/BankAccount.js +21 -0
- package/dist/model/BestBidAskGetProductBookConfig.d.ts +25 -0
- package/dist/model/BestBidAskGetProductBookConfig.js +21 -0
- package/dist/model/BlockchainAddress.d.ts +23 -0
- package/dist/model/BlockchainAddress.js +21 -0
- package/dist/model/BlockchainTransaction.d.ts +23 -0
- package/dist/model/BlockchainTransaction.js +21 -0
- package/dist/model/CTN.d.ts +22 -0
- package/dist/model/CTN.js +21 -0
- package/dist/model/CancelFCMSweepResponse.d.ts +22 -0
- package/dist/model/CancelFCMSweepResponse.js +21 -0
- package/dist/model/CancelOrderResponse.d.ts +34 -0
- package/dist/model/CancelOrderResponse.js +21 -0
- package/dist/model/CancelOrdersRequest.d.ts +25 -0
- package/dist/model/CancelOrdersRequest.js +21 -0
- package/dist/model/CancelOrdersResponse.d.ts +26 -0
- package/dist/model/CancelOrdersResponse.js +21 -0
- package/dist/model/Candle.d.ts +45 -0
- package/dist/model/Candle.js +21 -0
- package/dist/model/Candles.d.ts +23 -0
- package/dist/model/Candles.js +21 -0
- package/dist/model/Card.d.ts +46 -0
- package/dist/model/Card.js +21 -0
- package/dist/model/CardDob.d.ts +24 -0
- package/dist/model/CardDob.js +21 -0
- package/dist/model/Cbit.d.ts +22 -0
- package/dist/model/Cbit.js +21 -0
- package/dist/model/CheckoutPaymentLink.d.ts +22 -0
- package/dist/model/CheckoutPaymentLink.js +21 -0
- package/dist/model/ClosePositionRequest.d.ts +33 -0
- package/dist/model/ClosePositionRequest.js +21 -0
- package/dist/model/ClosePositionResponse.d.ts +34 -0
- package/dist/model/ClosePositionResponse.js +21 -0
- package/dist/model/CoinbaseAccount.d.ts +22 -0
- package/dist/model/CoinbaseAccount.js +21 -0
- package/dist/model/CommitConvertTradeRequest.d.ts +29 -0
- package/dist/model/CommitConvertTradeRequest.js +21 -0
- package/dist/model/CommitConvertTradeResponse.d.ts +23 -0
- package/dist/model/CommitConvertTradeResponse.js +21 -0
- package/dist/model/CreateConvertQuoteRequest.d.ts +38 -0
- package/dist/model/CreateConvertQuoteRequest.js +21 -0
- package/dist/model/CreateConvertQuoteResponse.d.ts +23 -0
- package/dist/model/CreateConvertQuoteResponse.js +21 -0
- package/dist/model/CreatePortfolioRequest.d.ts +25 -0
- package/dist/model/CreatePortfolioRequest.js +21 -0
- package/dist/model/CreatePortfolioResponse.d.ts +23 -0
- package/dist/model/CreatePortfolioResponse.js +21 -0
- package/dist/model/CustodialPool.d.ts +24 -0
- package/dist/model/CustodialPool.js +21 -0
- package/dist/model/DAppWalletAccount.d.ts +24 -0
- package/dist/model/DAppWalletAccount.js +21 -0
- package/dist/model/DAppWalletBlockchainAddress.d.ts +24 -0
- package/dist/model/DAppWalletBlockchainAddress.js +21 -0
- package/dist/model/DefaultAccount.d.ts +23 -0
- package/dist/model/DefaultAccount.js +21 -0
- package/dist/model/DenebIMPS.d.ts +30 -0
- package/dist/model/DenebIMPS.js +21 -0
- package/dist/model/DenebUPI.d.ts +29 -0
- package/dist/model/DenebUPI.js +21 -0
- package/dist/model/DerivativeSettlement.d.ts +25 -0
- package/dist/model/DerivativeSettlement.js +21 -0
- package/dist/model/DerivativeSettlementAccountSettlement.d.ts +33 -0
- package/dist/model/DerivativeSettlementAccountSettlement.js +21 -0
- package/dist/model/DerivativeSettlementEquityReset.d.ts +25 -0
- package/dist/model/DerivativeSettlementEquityReset.js +21 -0
- package/dist/model/DigitalWalletDetails.d.ts +23 -0
- package/dist/model/DigitalWalletDetails.js +21 -0
- package/dist/model/DirectDeposit.d.ts +22 -0
- package/dist/model/DirectDeposit.js +21 -0
- package/dist/model/Disclosure.d.ts +25 -0
- package/dist/model/Disclosure.js +21 -0
- package/dist/model/Edit.d.ts +30 -0
- package/dist/model/Edit.js +21 -0
- package/dist/model/EditOrderError.d.ts +25 -0
- package/dist/model/EditOrderError.js +21 -0
- package/dist/model/EditOrderErrorResponse.d.ts +30 -0
- package/dist/model/EditOrderErrorResponse.js +21 -0
- package/dist/model/EditOrderRequest.d.ts +33 -0
- package/dist/model/EditOrderRequest.js +21 -0
- package/dist/model/EditOrderResponse.d.ts +27 -0
- package/dist/model/EditOrderResponse.js +21 -0
- package/dist/model/EditOrderSuccessResponse.d.ts +25 -0
- package/dist/model/EditOrderSuccessResponse.js +21 -0
- package/dist/model/EditPortfolioRequest.d.ts +25 -0
- package/dist/model/EditPortfolioRequest.js +21 -0
- package/dist/model/EditPortfolioResponse.d.ts +23 -0
- package/dist/model/EditPortfolioResponse.js +21 -0
- package/dist/model/EmailAddress.d.ts +22 -0
- package/dist/model/EmailAddress.js +21 -0
- package/dist/model/Error.d.ts +30 -0
- package/dist/model/Error.js +21 -0
- package/dist/model/ExpiryDate.d.ts +23 -0
- package/dist/model/ExpiryDate.js +21 -0
- package/dist/model/ExtendedTimestamp.d.ts +33 -0
- package/dist/model/ExtendedTimestamp.js +21 -0
- package/dist/model/ExternalPaymentMethod.d.ts +22 -0
- package/dist/model/ExternalPaymentMethod.js +21 -0
- package/dist/model/FCMBalanceSummary.d.ts +73 -0
- package/dist/model/FCMBalanceSummary.js +21 -0
- package/dist/model/FCMPosition.d.ts +54 -0
- package/dist/model/FCMPosition.js +21 -0
- package/dist/model/FCMSweep.d.ts +43 -0
- package/dist/model/FCMSweep.js +21 -0
- package/dist/model/FcmMarginWindowMeasure.d.ts +51 -0
- package/dist/model/FcmMarginWindowMeasure.js +21 -0
- package/dist/model/FcmScheduledMaintenance.d.ts +26 -0
- package/dist/model/FcmScheduledMaintenance.js +21 -0
- package/dist/model/FcmTradingSessionDetails.d.ts +31 -0
- package/dist/model/FcmTradingSessionDetails.js +21 -0
- package/dist/model/Fedwire.d.ts +27 -0
- package/dist/model/Fedwire.js +21 -0
- package/dist/model/FedwireAccount.d.ts +25 -0
- package/dist/model/FedwireAccount.js +21 -0
- package/dist/model/FedwireAddress.d.ts +26 -0
- package/dist/model/FedwireAddress.js +21 -0
- package/dist/model/FedwireInstitution.d.ts +31 -0
- package/dist/model/FedwireInstitution.js +21 -0
- package/dist/model/Fee.d.ts +31 -0
- package/dist/model/Fee.js +21 -0
- package/dist/model/FeeTier.d.ts +49 -0
- package/dist/model/FeeTier.js +21 -0
- package/dist/model/Fill.d.ts +83 -0
- package/dist/model/Fill.js +21 -0
- package/dist/model/FirstDataToken.d.ts +23 -0
- package/dist/model/FirstDataToken.js +21 -0
- package/dist/model/FundMovement.d.ts +27 -0
- package/dist/model/FundMovement.js +21 -0
- package/dist/model/FutureProductDetails.d.ts +43 -0
- package/dist/model/FutureProductDetails.js +21 -0
- package/dist/model/FuturesPosition.d.ts +35 -0
- package/dist/model/FuturesPosition.js +21 -0
- package/dist/model/GetAccountResponse.d.ts +23 -0
- package/dist/model/GetAccountResponse.js +21 -0
- package/dist/model/GetAccountsResponse.d.ts +35 -0
- package/dist/model/GetAccountsResponse.js +21 -0
- package/dist/model/GetApiKeyPermissionsResponse.d.ts +42 -0
- package/dist/model/GetApiKeyPermissionsResponse.js +21 -0
- package/dist/model/GetBalanceSummaryResponse.d.ts +23 -0
- package/dist/model/GetBalanceSummaryResponse.js +21 -0
- package/dist/model/GetBestBidAskResponse.d.ts +23 -0
- package/dist/model/GetBestBidAskResponse.js +21 -0
- package/dist/model/GetCandlesResponse.d.ts +23 -0
- package/dist/model/GetCandlesResponse.js +21 -0
- package/dist/model/GetConvertTradeResponse.d.ts +23 -0
- package/dist/model/GetConvertTradeResponse.js +21 -0
- package/dist/model/GetCurrentMarginWindowResponse.d.ts +31 -0
- package/dist/model/GetCurrentMarginWindowResponse.js +21 -0
- package/dist/model/GetFCMBalanceSummaryResponse.d.ts +23 -0
- package/dist/model/GetFCMBalanceSummaryResponse.js +21 -0
- package/dist/model/GetFCMPositionResponse.d.ts +23 -0
- package/dist/model/GetFCMPositionResponse.js +21 -0
- package/dist/model/GetFCMPositionsResponse.d.ts +23 -0
- package/dist/model/GetFCMPositionsResponse.js +21 -0
- package/dist/model/GetFCMSweepsResponse.d.ts +23 -0
- package/dist/model/GetFCMSweepsResponse.js +21 -0
- package/dist/model/GetFillsResponse.d.ts +30 -0
- package/dist/model/GetFillsResponse.js +21 -0
- package/dist/model/GetHistoricalOrderResponse.d.ts +26 -0
- package/dist/model/GetHistoricalOrderResponse.js +21 -0
- package/dist/model/GetHistoricalOrdersResponse.d.ts +38 -0
- package/dist/model/GetHistoricalOrdersResponse.js +21 -0
- package/dist/model/GetIntradayMarginSettingResponse.d.ts +23 -0
- package/dist/model/GetIntradayMarginSettingResponse.js +21 -0
- package/dist/model/GetMarketTradesResponse.d.ts +31 -0
- package/dist/model/GetMarketTradesResponse.js +21 -0
- package/dist/model/GetPaymentMethodResponse.d.ts +23 -0
- package/dist/model/GetPaymentMethodResponse.js +21 -0
- package/dist/model/GetPaymentMethodsResponse.d.ts +23 -0
- package/dist/model/GetPaymentMethodsResponse.js +21 -0
- package/dist/model/GetPortfolioBreakdownResponse.d.ts +23 -0
- package/dist/model/GetPortfolioBreakdownResponse.js +21 -0
- package/dist/model/GetPortfoliosResponse.d.ts +25 -0
- package/dist/model/GetPortfoliosResponse.js +21 -0
- package/dist/model/GetPositionResponse.d.ts +23 -0
- package/dist/model/GetPositionResponse.js +21 -0
- package/dist/model/GetPositionsResponse.d.ts +25 -0
- package/dist/model/GetPositionsResponse.js +21 -0
- package/dist/model/GetProductBookResponse.d.ts +27 -0
- package/dist/model/GetProductBookResponse.js +21 -0
- package/dist/model/GetProductResponse.d.ts +23 -0
- package/dist/model/GetProductResponse.js +21 -0
- package/dist/model/GetProductsResponse.d.ts +23 -0
- package/dist/model/GetProductsResponse.js +21 -0
- package/dist/model/GetTransactionSummaryResponse.d.ts +61 -0
- package/dist/model/GetTransactionSummaryResponse.js +21 -0
- package/dist/model/GoodsAndServicesTax.d.ts +24 -0
- package/dist/model/GoodsAndServicesTax.js +21 -0
- package/dist/model/GooglePay.d.ts +40 -0
- package/dist/model/GooglePay.js +21 -0
- package/dist/model/GooglePayBraintreeData.d.ts +23 -0
- package/dist/model/GooglePayBraintreeData.js +21 -0
- package/dist/model/HistoricalMarketTrade.d.ts +50 -0
- package/dist/model/HistoricalMarketTrade.js +21 -0
- package/dist/model/Ideal.d.ts +27 -0
- package/dist/model/Ideal.js +21 -0
- package/dist/model/IdentityContractCall.d.ts +23 -0
- package/dist/model/IdentityContractCall.js +21 -0
- package/dist/model/Interac.d.ts +23 -0
- package/dist/model/Interac.js +21 -0
- package/dist/model/InteracAccount.d.ts +34 -0
- package/dist/model/InteracAccount.js +21 -0
- package/dist/model/IntraBank.d.ts +26 -0
- package/dist/model/IntraBank.js +21 -0
- package/dist/model/L2Level.d.ts +23 -0
- package/dist/model/L2Level.js +21 -0
- package/dist/model/LedgerAccount.d.ts +25 -0
- package/dist/model/LedgerAccount.js +21 -0
- package/dist/model/LedgerNamedAccount.d.ts +24 -0
- package/dist/model/LedgerNamedAccount.js +21 -0
- package/dist/model/LimitLimitFok.d.ts +29 -0
- package/dist/model/LimitLimitFok.js +21 -0
- package/dist/model/LimitLimitGtc.d.ts +33 -0
- package/dist/model/LimitLimitGtc.js +21 -0
- package/dist/model/LimitLimitGtd.d.ts +37 -0
- package/dist/model/LimitLimitGtd.js +21 -0
- package/dist/model/Link.d.ts +23 -0
- package/dist/model/Link.js +21 -0
- package/dist/model/LiquidationMarketGtc.d.ts +25 -0
- package/dist/model/LiquidationMarketGtc.js +21 -0
- package/dist/model/LiquidationMarketGtd.d.ts +29 -0
- package/dist/model/LiquidationMarketGtd.js +21 -0
- package/dist/model/LiquidityPool.d.ts +25 -0
- package/dist/model/LiquidityPool.js +21 -0
- package/dist/model/MarginWindow.d.ts +30 -0
- package/dist/model/MarginWindow.js +21 -0
- package/dist/model/MarketMarketIoc.d.ts +29 -0
- package/dist/model/MarketMarketIoc.js +21 -0
- package/dist/model/Merchant.d.ts +22 -0
- package/dist/model/Merchant.js +21 -0
- package/dist/model/Money.d.ts +26 -0
- package/dist/model/Money.js +21 -0
- package/dist/model/MovePortfolioFundsRequest.d.ts +34 -0
- package/dist/model/MovePortfolioFundsRequest.js +21 -0
- package/dist/model/MovePortfolioFundsResponse.d.ts +29 -0
- package/dist/model/MovePortfolioFundsResponse.js +21 -0
- package/dist/model/MultiAssetCollateralRequest.d.ts +29 -0
- package/dist/model/MultiAssetCollateralRequest.js +21 -0
- package/dist/model/MultiAssetCollateralResponse.d.ts +22 -0
- package/dist/model/MultiAssetCollateralResponse.js +21 -0
- package/dist/model/NewOrderErrorResponse.d.ts +43 -0
- package/dist/model/NewOrderErrorResponse.js +21 -0
- package/dist/model/NewOrderRequest.d.ts +56 -0
- package/dist/model/NewOrderRequest.js +21 -0
- package/dist/model/NewOrderResponse.d.ts +34 -0
- package/dist/model/NewOrderResponse.js +21 -0
- package/dist/model/NewOrderSuccessResponse.d.ts +38 -0
- package/dist/model/NewOrderSuccessResponse.js +21 -0
- package/dist/model/Order.d.ts +172 -0
- package/dist/model/Order.js +21 -0
- package/dist/model/OrderConfiguration.d.ts +66 -0
- package/dist/model/OrderConfiguration.js +21 -0
- package/dist/model/OrderPreviewRequest.d.ts +48 -0
- package/dist/model/OrderPreviewRequest.js +21 -0
- package/dist/model/OrderPreviewResponse.d.ts +59 -0
- package/dist/model/OrderPreviewResponse.js +21 -0
- package/dist/model/Owner.d.ts +26 -0
- package/dist/model/Owner.js +21 -0
- package/dist/model/PaymentMethod.d.ts +65 -0
- package/dist/model/PaymentMethod.js +21 -0
- package/dist/model/Paypal.d.ts +25 -0
- package/dist/model/Paypal.js +21 -0
- package/dist/model/PaypalAccount.d.ts +23 -0
- package/dist/model/PaypalAccount.js +21 -0
- package/dist/model/PaypalMerchant.d.ts +22 -0
- package/dist/model/PaypalMerchant.js +21 -0
- package/dist/model/PerpPosition.d.ts +44 -0
- package/dist/model/PerpPosition.js +21 -0
- package/dist/model/PerpetualProductDetails.d.ts +27 -0
- package/dist/model/PerpetualProductDetails.js +21 -0
- package/dist/model/PhoneNumber.d.ts +22 -0
- package/dist/model/PhoneNumber.js +21 -0
- package/dist/model/PixEbanx.d.ts +27 -0
- package/dist/model/PixEbanx.js +21 -0
- package/dist/model/PixEbanxPixDeposit.d.ts +23 -0
- package/dist/model/PixEbanxPixDeposit.js +21 -0
- package/dist/model/PixEbanxPixWithdrawal.d.ts +26 -0
- package/dist/model/PixEbanxPixWithdrawal.js +21 -0
- package/dist/model/PnlConfiguration.d.ts +23 -0
- package/dist/model/PnlConfiguration.js +21 -0
- package/dist/model/Portfolio.d.ts +80 -0
- package/dist/model/Portfolio.js +21 -0
- package/dist/model/PortfolioBalance.d.ts +25 -0
- package/dist/model/PortfolioBalance.js +21 -0
- package/dist/model/PortfolioBalances.d.ts +28 -0
- package/dist/model/PortfolioBalances.js +21 -0
- package/dist/model/PortfolioBreakdown.d.ts +31 -0
- package/dist/model/PortfolioBreakdown.js +21 -0
- package/dist/model/PortfolioPosition.d.ts +32 -0
- package/dist/model/PortfolioPosition.js +21 -0
- package/dist/model/PortfoliosSummary.d.ts +26 -0
- package/dist/model/PortfoliosSummary.js +21 -0
- package/dist/model/Position.d.ts +71 -0
- package/dist/model/Position.js +21 -0
- package/dist/model/PositionSummary.d.ts +23 -0
- package/dist/model/PositionSummary.js +21 -0
- package/dist/model/PreviewEditOrderResponse.d.ts +37 -0
- package/dist/model/PreviewEditOrderResponse.js +21 -0
- package/dist/model/PriceBook.d.ts +29 -0
- package/dist/model/PriceBook.js +21 -0
- package/dist/model/ProAccount.d.ts +26 -0
- package/dist/model/ProAccount.js +21 -0
- package/dist/model/ProInternalAccount.d.ts +23 -0
- package/dist/model/ProInternalAccount.js +21 -0
- package/dist/model/Product.d.ts +167 -0
- package/dist/model/Product.js +21 -0
- package/dist/model/Products.d.ts +30 -0
- package/dist/model/Products.js +21 -0
- package/dist/model/RatConvertTrade.d.ts +67 -0
- package/dist/model/RatConvertTrade.js +21 -0
- package/dist/model/Remitly.d.ts +23 -0
- package/dist/model/Remitly.js +21 -0
- package/dist/model/RemitlyAccount.d.ts +23 -0
- package/dist/model/RemitlyAccount.js +21 -0
- package/dist/model/Rtp.d.ts +28 -0
- package/dist/model/Rtp.js +21 -0
- package/dist/model/RtpAccount.d.ts +23 -0
- package/dist/model/RtpAccount.js +21 -0
- package/dist/model/RtpInstitution.d.ts +22 -0
- package/dist/model/RtpInstitution.js +21 -0
- package/dist/model/ScaledAmount.d.ts +24 -0
- package/dist/model/ScaledAmount.js +21 -0
- package/dist/model/ScheduleFCMSweepRequest.d.ts +25 -0
- package/dist/model/ScheduleFCMSweepRequest.js +21 -0
- package/dist/model/ScheduleFCMSweepResponse.d.ts +22 -0
- package/dist/model/ScheduleFCMSweepResponse.js +21 -0
- package/dist/model/Sepa.d.ts +29 -0
- package/dist/model/Sepa.js +21 -0
- package/dist/model/SepaAccount.d.ts +24 -0
- package/dist/model/SepaAccount.js +21 -0
- package/dist/model/SepaAccountDetail.d.ts +32 -0
- package/dist/model/SepaAccountDetail.js +21 -0
- package/dist/model/SepaInstitution.d.ts +23 -0
- package/dist/model/SepaInstitution.js +21 -0
- package/dist/model/SepaV2.d.ts +46 -0
- package/dist/model/SepaV2.js +21 -0
- package/dist/model/SetIntradayMarginSettingRequest.d.ts +26 -0
- package/dist/model/SetIntradayMarginSettingRequest.js +21 -0
- package/dist/model/SgFast.d.ts +28 -0
- package/dist/model/SgFast.js +21 -0
- package/dist/model/SgFastAccount.d.ts +23 -0
- package/dist/model/SgFastAccount.js +21 -0
- package/dist/model/SgFastInstitution.d.ts +22 -0
- package/dist/model/SgFastInstitution.js +21 -0
- package/dist/model/SgPayNow.d.ts +28 -0
- package/dist/model/SgPayNow.js +21 -0
- package/dist/model/Signet.d.ts +22 -0
- package/dist/model/Signet.js +21 -0
- package/dist/model/SingleProductGetProductBookConfig.d.ts +29 -0
- package/dist/model/SingleProductGetProductBookConfig.js +21 -0
- package/dist/model/Sofort.d.ts +27 -0
- package/dist/model/Sofort.js +21 -0
- package/dist/model/SorLimitIoc.d.ts +29 -0
- package/dist/model/SorLimitIoc.js +21 -0
- package/dist/model/StopLimitStopLimitGtc.d.ts +38 -0
- package/dist/model/StopLimitStopLimitGtc.js +21 -0
- package/dist/model/StopLimitStopLimitGtd.d.ts +42 -0
- package/dist/model/StopLimitStopLimitGtd.js +21 -0
- package/dist/model/SubscriptionInfo.d.ts +30 -0
- package/dist/model/SubscriptionInfo.js +21 -0
- package/dist/model/Swift.d.ts +26 -0
- package/dist/model/Swift.js +21 -0
- package/dist/model/SwiftAccount.d.ts +29 -0
- package/dist/model/SwiftAccount.js +21 -0
- package/dist/model/SwiftInstitution.d.ts +29 -0
- package/dist/model/SwiftInstitution.js +21 -0
- package/dist/model/TaxInfo.d.ts +24 -0
- package/dist/model/TaxInfo.js +21 -0
- package/dist/model/TradeIncentiveInfo.d.ts +28 -0
- package/dist/model/TradeIncentiveInfo.js +21 -0
- package/dist/model/TradeIncentiveMetadata.d.ts +29 -0
- package/dist/model/TradeIncentiveMetadata.js +21 -0
- package/dist/model/TriggerBracketGtc.d.ts +33 -0
- package/dist/model/TriggerBracketGtc.js +21 -0
- package/dist/model/TriggerBracketGtd.d.ts +37 -0
- package/dist/model/TriggerBracketGtd.js +21 -0
- package/dist/model/TriggerBracketPnl.d.ts +23 -0
- package/dist/model/TriggerBracketPnl.js +21 -0
- package/dist/model/TwapLimitGtd.d.ts +41 -0
- package/dist/model/TwapLimitGtd.js +21 -0
- package/dist/model/TypesDecimal.d.ts +28 -0
- package/dist/model/TypesDecimal.js +21 -0
- package/dist/model/Uk.d.ts +29 -0
- package/dist/model/Uk.js +21 -0
- package/dist/model/UkAccount.d.ts +25 -0
- package/dist/model/UkAccount.js +21 -0
- package/dist/model/UkInstitution.d.ts +22 -0
- package/dist/model/UkInstitution.js +21 -0
- package/dist/model/UnitPrice.d.ts +25 -0
- package/dist/model/UnitPrice.js +21 -0
- package/dist/model/User.d.ts +22 -0
- package/dist/model/User.js +21 -0
- package/dist/model/UserWarning.d.ts +28 -0
- package/dist/model/UserWarning.js +21 -0
- package/dist/model/UserWarningContext.d.ts +24 -0
- package/dist/model/UserWarningContext.js +21 -0
- package/dist/model/VaultToken.d.ts +23 -0
- package/dist/model/VaultToken.js +21 -0
- package/dist/model/VendorPayment.d.ts +23 -0
- package/dist/model/VendorPayment.js +21 -0
- package/dist/model/Venue.d.ts +22 -0
- package/dist/model/Venue.js +21 -0
- package/dist/model/WorldpayParams.d.ts +27 -0
- package/dist/model/WorldpayParams.js +21 -0
- package/dist/model/ZaakpayMobikwik.d.ts +25 -0
- package/dist/model/ZaakpayMobikwik.js +21 -0
- package/dist/model/Zengin.d.ts +28 -0
- package/dist/model/Zengin.js +21 -0
- package/dist/model/ZenginAccount.d.ts +24 -0
- package/dist/model/ZenginAccount.js +21 -0
- package/dist/model/ZenginInstitution.d.ts +23 -0
- package/dist/model/ZenginInstitution.js +21 -0
- package/dist/model/ZenginV2.d.ts +28 -0
- package/dist/model/ZenginV2.js +21 -0
- package/dist/model/ZenginV2Account.d.ts +24 -0
- package/dist/model/ZenginV2Account.js +21 -0
- package/dist/model/ZenginV2Institution.d.ts +23 -0
- package/dist/model/ZenginV2Institution.js +21 -0
- package/dist/model/Zepto.d.ts +26 -0
- package/dist/model/Zepto.js +21 -0
- package/dist/model/ZeptoAccount.d.ts +32 -0
- package/dist/model/ZeptoAccount.js +21 -0
- package/dist/model/enums/AccountPlatform.d.ts +25 -0
- package/dist/model/enums/AccountPlatform.js +29 -0
- package/dist/model/enums/AccountType.d.ts +26 -0
- package/dist/model/enums/AccountType.js +30 -0
- package/dist/model/enums/ApplePayResult.d.ts +24 -0
- package/dist/model/enums/ApplePayResult.js +28 -0
- package/dist/model/enums/ApplePayScheme.d.ts +24 -0
- package/dist/model/enums/ApplePayScheme.js +28 -0
- package/dist/model/enums/CancelOrderFailureReason.d.ts +31 -0
- package/dist/model/enums/CancelOrderFailureReason.js +35 -0
- package/dist/model/enums/CardScheme.d.ts +24 -0
- package/dist/model/enums/CardScheme.js +28 -0
- package/dist/model/enums/ContractExpiryType.d.ts +24 -0
- package/dist/model/enums/ContractExpiryType.js +28 -0
- package/dist/model/enums/EditOrderFailureReason.d.ts +35 -0
- package/dist/model/enums/EditOrderFailureReason.js +39 -0
- package/dist/model/enums/ErrorCodes.d.ts +44 -0
- package/dist/model/enums/ErrorCodes.js +48 -0
- package/dist/model/enums/ErrorCta.d.ts +29 -0
- package/dist/model/enums/ErrorCta.js +33 -0
- package/dist/model/enums/ExpiringContractStatus.d.ts +25 -0
- package/dist/model/enums/ExpiringContractStatus.js +29 -0
- package/dist/model/enums/FCMPositionSide.d.ts +24 -0
- package/dist/model/enums/FCMPositionSide.js +28 -0
- package/dist/model/enums/FCMSweepStatus.d.ts +24 -0
- package/dist/model/enums/FCMSweepStatus.js +28 -0
- package/dist/model/enums/FcmMarginWindowType.d.ts +26 -0
- package/dist/model/enums/FcmMarginWindowType.js +30 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
- package/dist/model/enums/FcmTradingSessionState.d.ts +26 -0
- package/dist/model/enums/FcmTradingSessionState.js +30 -0
- package/dist/model/enums/FedwireInstitutionType.d.ts +34 -0
- package/dist/model/enums/FedwireInstitutionType.js +38 -0
- package/dist/model/enums/FuturesPositionSide.d.ts +24 -0
- package/dist/model/enums/FuturesPositionSide.js +28 -0
- package/dist/model/enums/GetFillsRequestFillsSortBy.d.ts +24 -0
- package/dist/model/enums/GetFillsRequestFillsSortBy.js +28 -0
- package/dist/model/enums/GetHistoricalOrdersRequestHistoricalOrdersSortBy.d.ts +24 -0
- package/dist/model/enums/GetHistoricalOrdersRequestHistoricalOrdersSortBy.js +28 -0
- package/dist/model/enums/GooglePayResult.d.ts +24 -0
- package/dist/model/enums/GooglePayResult.js +28 -0
- package/dist/model/enums/GooglePayScheme.d.ts +24 -0
- package/dist/model/enums/GooglePayScheme.js +28 -0
- package/dist/model/enums/Granularity.d.ts +30 -0
- package/dist/model/enums/Granularity.js +34 -0
- package/dist/model/enums/GstType.d.ts +23 -0
- package/dist/model/enums/GstType.js +27 -0
- package/dist/model/enums/IntradayMarginSetting.d.ts +24 -0
- package/dist/model/enums/IntradayMarginSetting.js +28 -0
- package/dist/model/enums/LiquidityIndicator.d.ts +24 -0
- package/dist/model/enums/LiquidityIndicator.js +28 -0
- package/dist/model/enums/MarginLevelType.d.ts +26 -0
- package/dist/model/enums/MarginLevelType.js +30 -0
- package/dist/model/enums/MarginProfileType.d.ts +24 -0
- package/dist/model/enums/MarginProfileType.js +28 -0
- package/dist/model/enums/MarginType.d.ts +26 -0
- package/dist/model/enums/MarginType.js +30 -0
- package/dist/model/enums/MarginWindowType.d.ts +26 -0
- package/dist/model/enums/MarginWindowType.js +30 -0
- package/dist/model/enums/NewOrderFailureReason.d.ts +66 -0
- package/dist/model/enums/NewOrderFailureReason.js +70 -0
- package/dist/model/enums/OrderExecutionStatus.d.ts +30 -0
- package/dist/model/enums/OrderExecutionStatus.js +34 -0
- package/dist/model/enums/OrderPlacementSource.d.ts +24 -0
- package/dist/model/enums/OrderPlacementSource.js +28 -0
- package/dist/model/enums/OrderSide.d.ts +23 -0
- package/dist/model/enums/OrderSide.js +27 -0
- package/dist/model/enums/OrderType.d.ts +30 -0
- package/dist/model/enums/OrderType.js +34 -0
- package/dist/model/enums/OwnerType.d.ts +26 -0
- package/dist/model/enums/OwnerType.js +30 -0
- package/dist/model/enums/PaymentMethodType.d.ts +75 -0
- package/dist/model/enums/PaymentMethodType.js +79 -0
- package/dist/model/enums/PortfolioLiquidationStatus.d.ts +28 -0
- package/dist/model/enums/PortfolioLiquidationStatus.js +32 -0
- package/dist/model/enums/PortfolioMarginFlags.d.ts +23 -0
- package/dist/model/enums/PortfolioMarginFlags.js +27 -0
- package/dist/model/enums/PortfolioMarginType.d.ts +24 -0
- package/dist/model/enums/PortfolioMarginType.js +28 -0
- package/dist/model/enums/PortfolioType.d.ts +25 -0
- package/dist/model/enums/PortfolioType.js +29 -0
- package/dist/model/enums/PositionSide.d.ts +24 -0
- package/dist/model/enums/PositionSide.js +28 -0
- package/dist/model/enums/PreviewFailureReason.d.ts +95 -0
- package/dist/model/enums/PreviewFailureReason.js +99 -0
- package/dist/model/enums/PreviewWarningMsg.d.ts +24 -0
- package/dist/model/enums/PreviewWarningMsg.js +28 -0
- package/dist/model/enums/ProductType.d.ts +24 -0
- package/dist/model/enums/ProductType.js +28 -0
- package/dist/model/enums/ProductVenue.d.ts +25 -0
- package/dist/model/enums/ProductVenue.js +29 -0
- package/dist/model/enums/RejectReason.d.ts +26 -0
- package/dist/model/enums/RejectReason.js +30 -0
- package/dist/model/enums/RiskManagementType.d.ts +24 -0
- package/dist/model/enums/RiskManagementType.js +28 -0
- package/dist/model/enums/SgPayNowIdentifierType.d.ts +24 -0
- package/dist/model/enums/SgPayNowIdentifierType.js +28 -0
- package/dist/model/enums/StopPriceDirection.d.ts +23 -0
- package/dist/model/enums/StopPriceDirection.js +27 -0
- package/dist/model/enums/StopTriggerStatus.d.ts +25 -0
- package/dist/model/enums/StopTriggerStatus.js +29 -0
- package/dist/model/enums/TimeInForceType.d.ts +26 -0
- package/dist/model/enums/TimeInForceType.js +30 -0
- package/dist/model/enums/TradeStatus.d.ts +26 -0
- package/dist/model/enums/TradeStatus.js +30 -0
- package/dist/rest/accounts/index.d.ts +14 -0
- package/dist/rest/accounts/index.js +37 -0
- package/dist/rest/accounts/types.d.ts +11 -0
- package/dist/rest/accounts/types.js +2 -0
- package/dist/rest/client.d.ts +20 -0
- package/dist/rest/client.js +31 -0
- package/dist/rest/convert/index.d.ts +16 -0
- package/dist/rest/convert/index.js +55 -0
- package/dist/rest/convert/types.d.ts +25 -0
- package/dist/rest/convert/types.js +2 -0
- package/dist/rest/credentials/index.d.ts +6 -0
- package/dist/rest/credentials/index.js +80 -0
- package/dist/rest/data/index.d.ts +12 -0
- package/dist/rest/data/index.js +27 -0
- package/dist/rest/data/types.d.ts +3 -0
- package/dist/rest/data/types.js +2 -0
- package/dist/rest/errors/index.d.ts +22 -0
- package/dist/rest/errors/index.js +31 -0
- package/dist/rest/fees/index.d.ts +12 -0
- package/dist/rest/fees/index.js +28 -0
- package/dist/rest/fees/types.d.ts +10 -0
- package/dist/rest/fees/types.js +2 -0
- package/dist/rest/futures/index.d.ts +28 -0
- package/dist/rest/futures/index.js +106 -0
- package/dist/rest/futures/types.d.ts +35 -0
- package/dist/rest/futures/types.js +2 -0
- package/dist/rest/orders/index.d.ts +28 -0
- package/dist/rest/orders/index.js +114 -0
- package/dist/rest/orders/types.d.ts +71 -0
- package/dist/rest/orders/types.js +2 -0
- package/dist/rest/paymentMethods/index.d.ts +14 -0
- package/dist/rest/paymentMethods/index.js +36 -0
- package/dist/rest/paymentMethods/types.d.ts +9 -0
- package/dist/rest/paymentMethods/types.js +2 -0
- package/dist/rest/perpetuals/index.d.ts +22 -0
- package/dist/rest/perpetuals/index.js +77 -0
- package/dist/rest/perpetuals/types.d.ts +28 -0
- package/dist/rest/perpetuals/types.js +2 -0
- package/dist/rest/portfolios/index.d.ts +22 -0
- package/dist/rest/portfolios/index.js +81 -0
- package/dist/rest/portfolios/types.d.ts +27 -0
- package/dist/rest/portfolios/types.js +2 -0
- package/dist/rest/products/index.d.ts +22 -0
- package/dist/rest/products/index.js +96 -0
- package/dist/rest/products/types.d.ts +52 -0
- package/dist/rest/products/types.js +2 -0
- package/dist/rest/public/index.d.ts +22 -0
- package/dist/rest/public/index.js +76 -0
- package/dist/rest/public/types.d.ts +46 -0
- package/dist/rest/public/types.js +2 -0
- package/dist/rest/shared/toCamelCase.d.ts +1 -0
- package/dist/rest/shared/toCamelCase.js +23 -0
- package/package.json +36 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.GooglePayScheme = void 0;
|
|
23
|
+
var GooglePayScheme;
|
|
24
|
+
(function (GooglePayScheme) {
|
|
25
|
+
GooglePayScheme["Unknown"] = "UNKNOWN";
|
|
26
|
+
GooglePayScheme["Visa"] = "VISA";
|
|
27
|
+
GooglePayScheme["Mastercard"] = "MASTERCARD";
|
|
28
|
+
})(GooglePayScheme || (exports.GooglePayScheme = GooglePayScheme = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum Granularity {
|
|
21
|
+
UnknownGranularity = "UNKNOWN_GRANULARITY",
|
|
22
|
+
OneMinute = "ONE_MINUTE",
|
|
23
|
+
FiveMinute = "FIVE_MINUTE",
|
|
24
|
+
FifteenMinute = "FIFTEEN_MINUTE",
|
|
25
|
+
ThirtyMinute = "THIRTY_MINUTE",
|
|
26
|
+
OneHour = "ONE_HOUR",
|
|
27
|
+
TwoHour = "TWO_HOUR",
|
|
28
|
+
SixHour = "SIX_HOUR",
|
|
29
|
+
OneDay = "ONE_DAY"
|
|
30
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.Granularity = void 0;
|
|
23
|
+
var Granularity;
|
|
24
|
+
(function (Granularity) {
|
|
25
|
+
Granularity["UnknownGranularity"] = "UNKNOWN_GRANULARITY";
|
|
26
|
+
Granularity["OneMinute"] = "ONE_MINUTE";
|
|
27
|
+
Granularity["FiveMinute"] = "FIVE_MINUTE";
|
|
28
|
+
Granularity["FifteenMinute"] = "FIFTEEN_MINUTE";
|
|
29
|
+
Granularity["ThirtyMinute"] = "THIRTY_MINUTE";
|
|
30
|
+
Granularity["OneHour"] = "ONE_HOUR";
|
|
31
|
+
Granularity["TwoHour"] = "TWO_HOUR";
|
|
32
|
+
Granularity["SixHour"] = "SIX_HOUR";
|
|
33
|
+
Granularity["OneDay"] = "ONE_DAY";
|
|
34
|
+
})(Granularity || (exports.Granularity = Granularity = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum GstType {
|
|
21
|
+
Inclusive = "INCLUSIVE",
|
|
22
|
+
Exclusive = "EXCLUSIVE"
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.GstType = void 0;
|
|
23
|
+
var GstType;
|
|
24
|
+
(function (GstType) {
|
|
25
|
+
GstType["Inclusive"] = "INCLUSIVE";
|
|
26
|
+
GstType["Exclusive"] = "EXCLUSIVE";
|
|
27
|
+
})(GstType || (exports.GstType = GstType = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum IntradayMarginSetting {
|
|
21
|
+
Unspecified = "INTRADAY_MARGIN_SETTING_UNSPECIFIED",
|
|
22
|
+
Standard = "INTRADAY_MARGIN_SETTING_STANDARD",
|
|
23
|
+
Intraday = "INTRADAY_MARGIN_SETTING_INTRADAY"
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.IntradayMarginSetting = void 0;
|
|
23
|
+
var IntradayMarginSetting;
|
|
24
|
+
(function (IntradayMarginSetting) {
|
|
25
|
+
IntradayMarginSetting["Unspecified"] = "INTRADAY_MARGIN_SETTING_UNSPECIFIED";
|
|
26
|
+
IntradayMarginSetting["Standard"] = "INTRADAY_MARGIN_SETTING_STANDARD";
|
|
27
|
+
IntradayMarginSetting["Intraday"] = "INTRADAY_MARGIN_SETTING_INTRADAY";
|
|
28
|
+
})(IntradayMarginSetting || (exports.IntradayMarginSetting = IntradayMarginSetting = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum LiquidityIndicator {
|
|
21
|
+
UnknownLiquidityIndicator = "UNKNOWN_LIQUIDITY_INDICATOR",
|
|
22
|
+
Maker = "MAKER",
|
|
23
|
+
Taker = "TAKER"
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.LiquidityIndicator = void 0;
|
|
23
|
+
var LiquidityIndicator;
|
|
24
|
+
(function (LiquidityIndicator) {
|
|
25
|
+
LiquidityIndicator["UnknownLiquidityIndicator"] = "UNKNOWN_LIQUIDITY_INDICATOR";
|
|
26
|
+
LiquidityIndicator["Maker"] = "MAKER";
|
|
27
|
+
LiquidityIndicator["Taker"] = "TAKER";
|
|
28
|
+
})(LiquidityIndicator || (exports.LiquidityIndicator = LiquidityIndicator = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum MarginLevelType {
|
|
21
|
+
Unspecified = "MARGIN_LEVEL_TYPE_UNSPECIFIED",
|
|
22
|
+
Base = "MARGIN_LEVEL_TYPE_BASE",
|
|
23
|
+
Warning = "MARGIN_LEVEL_TYPE_WARNING",
|
|
24
|
+
Danger = "MARGIN_LEVEL_TYPE_DANGER",
|
|
25
|
+
Liquidation = "MARGIN_LEVEL_TYPE_LIQUIDATION"
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.MarginLevelType = void 0;
|
|
23
|
+
var MarginLevelType;
|
|
24
|
+
(function (MarginLevelType) {
|
|
25
|
+
MarginLevelType["Unspecified"] = "MARGIN_LEVEL_TYPE_UNSPECIFIED";
|
|
26
|
+
MarginLevelType["Base"] = "MARGIN_LEVEL_TYPE_BASE";
|
|
27
|
+
MarginLevelType["Warning"] = "MARGIN_LEVEL_TYPE_WARNING";
|
|
28
|
+
MarginLevelType["Danger"] = "MARGIN_LEVEL_TYPE_DANGER";
|
|
29
|
+
MarginLevelType["Liquidation"] = "MARGIN_LEVEL_TYPE_LIQUIDATION";
|
|
30
|
+
})(MarginLevelType || (exports.MarginLevelType = MarginLevelType = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum MarginProfileType {
|
|
21
|
+
Unspecified = "MARGIN_PROFILE_TYPE_UNSPECIFIED",
|
|
22
|
+
RetailRegular = "MARGIN_PROFILE_TYPE_RETAIL_REGULAR",
|
|
23
|
+
RetailIntradayMargin1 = "MARGIN_PROFILE_TYPE_RETAIL_INTRADAY_MARGIN_1"
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.MarginProfileType = void 0;
|
|
23
|
+
var MarginProfileType;
|
|
24
|
+
(function (MarginProfileType) {
|
|
25
|
+
MarginProfileType["Unspecified"] = "MARGIN_PROFILE_TYPE_UNSPECIFIED";
|
|
26
|
+
MarginProfileType["RetailRegular"] = "MARGIN_PROFILE_TYPE_RETAIL_REGULAR";
|
|
27
|
+
MarginProfileType["RetailIntradayMargin1"] = "MARGIN_PROFILE_TYPE_RETAIL_INTRADAY_MARGIN_1";
|
|
28
|
+
})(MarginProfileType || (exports.MarginProfileType = MarginProfileType = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
* - CROSS: Cross margin applies margin to the position of the entire portfolio - ISOLATED: Isolated margin applies margin to a single position
|
|
22
|
+
*/
|
|
23
|
+
export declare enum MarginType {
|
|
24
|
+
Cross = "CROSS",
|
|
25
|
+
Isolated = "ISOLATED"
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.MarginType = void 0;
|
|
23
|
+
/**
|
|
24
|
+
* - CROSS: Cross margin applies margin to the position of the entire portfolio - ISOLATED: Isolated margin applies margin to a single position
|
|
25
|
+
*/
|
|
26
|
+
var MarginType;
|
|
27
|
+
(function (MarginType) {
|
|
28
|
+
MarginType["Cross"] = "CROSS";
|
|
29
|
+
MarginType["Isolated"] = "ISOLATED";
|
|
30
|
+
})(MarginType || (exports.MarginType = MarginType = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum MarginWindowType {
|
|
21
|
+
Unspecified = "MARGIN_WINDOW_TYPE_UNSPECIFIED",
|
|
22
|
+
Overnight = "MARGIN_WINDOW_TYPE_OVERNIGHT",
|
|
23
|
+
Weekend = "MARGIN_WINDOW_TYPE_WEEKEND",
|
|
24
|
+
Intraday = "MARGIN_WINDOW_TYPE_INTRADAY",
|
|
25
|
+
Transition = "MARGIN_WINDOW_TYPE_TRANSITION"
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.MarginWindowType = void 0;
|
|
23
|
+
var MarginWindowType;
|
|
24
|
+
(function (MarginWindowType) {
|
|
25
|
+
MarginWindowType["Unspecified"] = "MARGIN_WINDOW_TYPE_UNSPECIFIED";
|
|
26
|
+
MarginWindowType["Overnight"] = "MARGIN_WINDOW_TYPE_OVERNIGHT";
|
|
27
|
+
MarginWindowType["Weekend"] = "MARGIN_WINDOW_TYPE_WEEKEND";
|
|
28
|
+
MarginWindowType["Intraday"] = "MARGIN_WINDOW_TYPE_INTRADAY";
|
|
29
|
+
MarginWindowType["Transition"] = "MARGIN_WINDOW_TYPE_TRANSITION";
|
|
30
|
+
})(MarginWindowType || (exports.MarginWindowType = MarginWindowType = {}));
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum NewOrderFailureReason {
|
|
21
|
+
UnknownFailureReason = "UNKNOWN_FAILURE_REASON",
|
|
22
|
+
UnsupportedOrderConfiguration = "UNSUPPORTED_ORDER_CONFIGURATION",
|
|
23
|
+
InvalidSide = "INVALID_SIDE",
|
|
24
|
+
InvalidProductId = "INVALID_PRODUCT_ID",
|
|
25
|
+
InvalidSizePrecision = "INVALID_SIZE_PRECISION",
|
|
26
|
+
InvalidPricePrecision = "INVALID_PRICE_PRECISION",
|
|
27
|
+
InsufficientFund = "INSUFFICIENT_FUND",
|
|
28
|
+
InvalidLedgerBalance = "INVALID_LEDGER_BALANCE",
|
|
29
|
+
OrderEntryDisabled = "ORDER_ENTRY_DISABLED",
|
|
30
|
+
IneligiblePair = "INELIGIBLE_PAIR",
|
|
31
|
+
InvalidLimitPricePostOnly = "INVALID_LIMIT_PRICE_POST_ONLY",
|
|
32
|
+
InvalidLimitPrice = "INVALID_LIMIT_PRICE",
|
|
33
|
+
InvalidNoLiquidity = "INVALID_NO_LIQUIDITY",
|
|
34
|
+
InvalidRequest = "INVALID_REQUEST",
|
|
35
|
+
CommanderRejectedNewOrder = "COMMANDER_REJECTED_NEW_ORDER",
|
|
36
|
+
InsufficientFunds = "INSUFFICIENT_FUNDS",
|
|
37
|
+
InLiquidation = "IN_LIQUIDATION",
|
|
38
|
+
InvalidMarginType = "INVALID_MARGIN_TYPE",
|
|
39
|
+
InvalidLeverage = "INVALID_LEVERAGE",
|
|
40
|
+
UntradableProduct = "UNTRADABLE_PRODUCT",
|
|
41
|
+
InvalidFcmTradingSession = "INVALID_FCM_TRADING_SESSION",
|
|
42
|
+
GeofencingRestriction = "GEOFENCING_RESTRICTION",
|
|
43
|
+
QuoteSizeNotAllowedForBracket = "QUOTE_SIZE_NOT_ALLOWED_FOR_BRACKET",
|
|
44
|
+
InvalidBracketPrices = "INVALID_BRACKET_PRICES",
|
|
45
|
+
MissingMarketTradeData = "MISSING_MARKET_TRADE_DATA",
|
|
46
|
+
InvalidBracketLimitPrice = "INVALID_BRACKET_LIMIT_PRICE",
|
|
47
|
+
InvalidBracketStopTriggerPrice = "INVALID_BRACKET_STOP_TRIGGER_PRICE",
|
|
48
|
+
BracketLimitPriceOutOfBounds = "BRACKET_LIMIT_PRICE_OUT_OF_BOUNDS",
|
|
49
|
+
StopTriggerPriceOutOfBounds = "STOP_TRIGGER_PRICE_OUT_OF_BOUNDS",
|
|
50
|
+
BracketOrderNotSupported = "BRACKET_ORDER_NOT_SUPPORTED",
|
|
51
|
+
FokDisabled = "FOK_DISABLED",
|
|
52
|
+
FokOnlyAllowedOnLimitOrders = "FOK_ONLY_ALLOWED_ON_LIMIT_ORDERS",
|
|
53
|
+
PostOnlyNotAllowedWithFok = "POST_ONLY_NOT_ALLOWED_WITH_FOK",
|
|
54
|
+
UboHighLeverageQuantityBreached = "UBO_HIGH_LEVERAGE_QUANTITY_BREACHED",
|
|
55
|
+
EndTimeTooFarInFuture = "END_TIME_TOO_FAR_IN_FUTURE",
|
|
56
|
+
LimitPriceTooFarFromMarket = "LIMIT_PRICE_TOO_FAR_FROM_MARKET",
|
|
57
|
+
OpenBracketOrders = "OPEN_BRACKET_ORDERS",
|
|
58
|
+
FuturesAfterHourInvalidOrderType = "FUTURES_AFTER_HOUR_INVALID_ORDER_TYPE",
|
|
59
|
+
FuturesAfterHourInvalidTimeInForce = "FUTURES_AFTER_HOUR_INVALID_TIME_IN_FORCE",
|
|
60
|
+
InvalidAttachedTakeProfitPrice = "INVALID_ATTACHED_TAKE_PROFIT_PRICE",
|
|
61
|
+
InvalidAttachedStopLossPrice = "INVALID_ATTACHED_STOP_LOSS_PRICE",
|
|
62
|
+
InvalidAttachedTakeProfitPricePrecision = "INVALID_ATTACHED_TAKE_PROFIT_PRICE_PRECISION",
|
|
63
|
+
InvalidAttachedStopLossPricePrecision = "INVALID_ATTACHED_STOP_LOSS_PRICE_PRECISION",
|
|
64
|
+
InvalidAttachedTakeProfitPriceOutOfBounds = "INVALID_ATTACHED_TAKE_PROFIT_PRICE_OUT_OF_BOUNDS",
|
|
65
|
+
InvalidAttachedStopLossPriceOutOfBounds = "INVALID_ATTACHED_STOP_LOSS_PRICE_OUT_OF_BOUNDS"
|
|
66
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.NewOrderFailureReason = void 0;
|
|
23
|
+
var NewOrderFailureReason;
|
|
24
|
+
(function (NewOrderFailureReason) {
|
|
25
|
+
NewOrderFailureReason["UnknownFailureReason"] = "UNKNOWN_FAILURE_REASON";
|
|
26
|
+
NewOrderFailureReason["UnsupportedOrderConfiguration"] = "UNSUPPORTED_ORDER_CONFIGURATION";
|
|
27
|
+
NewOrderFailureReason["InvalidSide"] = "INVALID_SIDE";
|
|
28
|
+
NewOrderFailureReason["InvalidProductId"] = "INVALID_PRODUCT_ID";
|
|
29
|
+
NewOrderFailureReason["InvalidSizePrecision"] = "INVALID_SIZE_PRECISION";
|
|
30
|
+
NewOrderFailureReason["InvalidPricePrecision"] = "INVALID_PRICE_PRECISION";
|
|
31
|
+
NewOrderFailureReason["InsufficientFund"] = "INSUFFICIENT_FUND";
|
|
32
|
+
NewOrderFailureReason["InvalidLedgerBalance"] = "INVALID_LEDGER_BALANCE";
|
|
33
|
+
NewOrderFailureReason["OrderEntryDisabled"] = "ORDER_ENTRY_DISABLED";
|
|
34
|
+
NewOrderFailureReason["IneligiblePair"] = "INELIGIBLE_PAIR";
|
|
35
|
+
NewOrderFailureReason["InvalidLimitPricePostOnly"] = "INVALID_LIMIT_PRICE_POST_ONLY";
|
|
36
|
+
NewOrderFailureReason["InvalidLimitPrice"] = "INVALID_LIMIT_PRICE";
|
|
37
|
+
NewOrderFailureReason["InvalidNoLiquidity"] = "INVALID_NO_LIQUIDITY";
|
|
38
|
+
NewOrderFailureReason["InvalidRequest"] = "INVALID_REQUEST";
|
|
39
|
+
NewOrderFailureReason["CommanderRejectedNewOrder"] = "COMMANDER_REJECTED_NEW_ORDER";
|
|
40
|
+
NewOrderFailureReason["InsufficientFunds"] = "INSUFFICIENT_FUNDS";
|
|
41
|
+
NewOrderFailureReason["InLiquidation"] = "IN_LIQUIDATION";
|
|
42
|
+
NewOrderFailureReason["InvalidMarginType"] = "INVALID_MARGIN_TYPE";
|
|
43
|
+
NewOrderFailureReason["InvalidLeverage"] = "INVALID_LEVERAGE";
|
|
44
|
+
NewOrderFailureReason["UntradableProduct"] = "UNTRADABLE_PRODUCT";
|
|
45
|
+
NewOrderFailureReason["InvalidFcmTradingSession"] = "INVALID_FCM_TRADING_SESSION";
|
|
46
|
+
NewOrderFailureReason["GeofencingRestriction"] = "GEOFENCING_RESTRICTION";
|
|
47
|
+
NewOrderFailureReason["QuoteSizeNotAllowedForBracket"] = "QUOTE_SIZE_NOT_ALLOWED_FOR_BRACKET";
|
|
48
|
+
NewOrderFailureReason["InvalidBracketPrices"] = "INVALID_BRACKET_PRICES";
|
|
49
|
+
NewOrderFailureReason["MissingMarketTradeData"] = "MISSING_MARKET_TRADE_DATA";
|
|
50
|
+
NewOrderFailureReason["InvalidBracketLimitPrice"] = "INVALID_BRACKET_LIMIT_PRICE";
|
|
51
|
+
NewOrderFailureReason["InvalidBracketStopTriggerPrice"] = "INVALID_BRACKET_STOP_TRIGGER_PRICE";
|
|
52
|
+
NewOrderFailureReason["BracketLimitPriceOutOfBounds"] = "BRACKET_LIMIT_PRICE_OUT_OF_BOUNDS";
|
|
53
|
+
NewOrderFailureReason["StopTriggerPriceOutOfBounds"] = "STOP_TRIGGER_PRICE_OUT_OF_BOUNDS";
|
|
54
|
+
NewOrderFailureReason["BracketOrderNotSupported"] = "BRACKET_ORDER_NOT_SUPPORTED";
|
|
55
|
+
NewOrderFailureReason["FokDisabled"] = "FOK_DISABLED";
|
|
56
|
+
NewOrderFailureReason["FokOnlyAllowedOnLimitOrders"] = "FOK_ONLY_ALLOWED_ON_LIMIT_ORDERS";
|
|
57
|
+
NewOrderFailureReason["PostOnlyNotAllowedWithFok"] = "POST_ONLY_NOT_ALLOWED_WITH_FOK";
|
|
58
|
+
NewOrderFailureReason["UboHighLeverageQuantityBreached"] = "UBO_HIGH_LEVERAGE_QUANTITY_BREACHED";
|
|
59
|
+
NewOrderFailureReason["EndTimeTooFarInFuture"] = "END_TIME_TOO_FAR_IN_FUTURE";
|
|
60
|
+
NewOrderFailureReason["LimitPriceTooFarFromMarket"] = "LIMIT_PRICE_TOO_FAR_FROM_MARKET";
|
|
61
|
+
NewOrderFailureReason["OpenBracketOrders"] = "OPEN_BRACKET_ORDERS";
|
|
62
|
+
NewOrderFailureReason["FuturesAfterHourInvalidOrderType"] = "FUTURES_AFTER_HOUR_INVALID_ORDER_TYPE";
|
|
63
|
+
NewOrderFailureReason["FuturesAfterHourInvalidTimeInForce"] = "FUTURES_AFTER_HOUR_INVALID_TIME_IN_FORCE";
|
|
64
|
+
NewOrderFailureReason["InvalidAttachedTakeProfitPrice"] = "INVALID_ATTACHED_TAKE_PROFIT_PRICE";
|
|
65
|
+
NewOrderFailureReason["InvalidAttachedStopLossPrice"] = "INVALID_ATTACHED_STOP_LOSS_PRICE";
|
|
66
|
+
NewOrderFailureReason["InvalidAttachedTakeProfitPricePrecision"] = "INVALID_ATTACHED_TAKE_PROFIT_PRICE_PRECISION";
|
|
67
|
+
NewOrderFailureReason["InvalidAttachedStopLossPricePrecision"] = "INVALID_ATTACHED_STOP_LOSS_PRICE_PRECISION";
|
|
68
|
+
NewOrderFailureReason["InvalidAttachedTakeProfitPriceOutOfBounds"] = "INVALID_ATTACHED_TAKE_PROFIT_PRICE_OUT_OF_BOUNDS";
|
|
69
|
+
NewOrderFailureReason["InvalidAttachedStopLossPriceOutOfBounds"] = "INVALID_ATTACHED_STOP_LOSS_PRICE_OUT_OF_BOUNDS";
|
|
70
|
+
})(NewOrderFailureReason || (exports.NewOrderFailureReason = NewOrderFailureReason = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 declare enum OrderExecutionStatus {
|
|
21
|
+
Pending = "PENDING",
|
|
22
|
+
Open = "OPEN",
|
|
23
|
+
Filled = "FILLED",
|
|
24
|
+
Cancelled = "CANCELLED",
|
|
25
|
+
Expired = "EXPIRED",
|
|
26
|
+
Failed = "FAILED",
|
|
27
|
+
UnknownOrderStatus = "UNKNOWN_ORDER_STATUS",
|
|
28
|
+
Queued = "QUEUED",
|
|
29
|
+
CancelQueued = "CANCEL_QUEUED"
|
|
30
|
+
}
|