From 36f6431a59f4fc4381c75cf57c0696f4511012ea Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:33:18 +0200 Subject: [PATCH] feat(): added latency check, removed examples link, fixed type for getServerTime --- .gitignore | 1 + docs/endpointFunctionList.md | 101 +++++++++--------- .../allocatePortfolio.js | 1 - .../CBAdvancedTradeClient/cancelOrders.js | 1 - .../cancelPendingFuturesSweep.js | 1 - .../CBAdvancedTradeClient/closePosition.js | 1 - .../commitConvertTrade.js | 1 - .../CBAdvancedTradeClient/createPortfolio.js | 1 - .../CBAdvancedTradeClient/deletePortfolio.js | 1 - .../CBAdvancedTradeClient/getAccount.js | 1 - .../CBAdvancedTradeClient/getAccounts.js | 1 - .../getApiKeyPermissions.js | 1 - .../CBAdvancedTradeClient/getBestBidAsk.js | 1 - .../CBAdvancedTradeClient/getConvertTrade.js | 1 - .../getCurrentMarginWindow.js | 1 - .../apidoc/CBAdvancedTradeClient/getFills.js | 1 - .../getFuturesBalanceSummary.js | 1 - .../getFuturesPosition.js | 1 - .../getFuturesPositions.js | 1 - .../CBAdvancedTradeClient/getFuturesSweeps.js | 1 - .../getIntradayMarginSetting.js | 1 - .../CBAdvancedTradeClient/getMarketTrades.js | 1 - .../apidoc/CBAdvancedTradeClient/getOrder.js | 1 - .../apidoc/CBAdvancedTradeClient/getOrders.js | 1 - .../CBAdvancedTradeClient/getPaymentMethod.js | 1 - .../getPaymentMethods.js | 1 - .../getPerpetualsPortfolioSummary.js | 1 - .../getPerpetualsPosition.js | 1 - .../getPerpetualsPositions.js | 1 - .../getPortfolioBreakdown.js | 1 - .../CBAdvancedTradeClient/getPortfolios.js | 1 - .../getPortfoliosBalances.js | 1 - .../CBAdvancedTradeClient/getProduct.js | 1 - .../CBAdvancedTradeClient/getProductBook.js | 1 - .../getProductCandles.js | 1 - .../CBAdvancedTradeClient/getProducts.js | 1 - .../getPublicMarketTrades.js | 1 - .../CBAdvancedTradeClient/getPublicProduct.js | 1 - .../getPublicProductBook.js | 1 - .../getPublicProductCandles.js | 1 - .../getPublicProducts.js | 1 - .../CBAdvancedTradeClient/getServerTime.js | 21 ---- .../getTransactionSummary.js | 1 - .../movePortfolioFunds.js | 1 - .../CBAdvancedTradeClient/previewOrder.js | 1 - .../scheduleFuturesSweep.js | 1 - .../setIntradayMarginSetting.js | 1 - .../submitConvertQuote.js | 1 - .../CBAdvancedTradeClient/submitOrder.js | 1 - .../updateMultiAssetCollateral.js | 1 - .../CBAdvancedTradeClient/updateOrder.js | 1 - .../updateOrderPreview.js | 1 - .../CBAdvancedTradeClient/updatePortfolio.js | 1 - examples/apidoc/CBAppClient/commitDeposit.js | 1 - .../apidoc/CBAppClient/commitWithdrawal.js | 1 - examples/apidoc/CBAppClient/createAddress.js | 1 - examples/apidoc/CBAppClient/depositFunds.js | 1 - examples/apidoc/CBAppClient/getAccount.js | 1 - examples/apidoc/CBAppClient/getAccounts.js | 1 - examples/apidoc/CBAppClient/getAddress.js | 1 - .../CBAppClient/getAddressTransactions.js | 1 - examples/apidoc/CBAppClient/getAddresses.js | 1 - examples/apidoc/CBAppClient/getBuyPrice.js | 1 - .../apidoc/CBAppClient/getCryptocurrencies.js | 1 - examples/apidoc/CBAppClient/getCurrentTime.js | 1 - examples/apidoc/CBAppClient/getDeposit.js | 1 - examples/apidoc/CBAppClient/getDeposits.js | 1 - .../apidoc/CBAppClient/getExchangeRates.js | 1 - .../apidoc/CBAppClient/getFiatCurrencies.js | 1 - examples/apidoc/CBAppClient/getSellPrice.js | 1 - examples/apidoc/CBAppClient/getSpotPrice.js | 1 - examples/apidoc/CBAppClient/getTransaction.js | 1 - .../apidoc/CBAppClient/getTransactions.js | 1 - examples/apidoc/CBAppClient/getWithdrawal.js | 1 - examples/apidoc/CBAppClient/getWithdrawals.js | 1 - examples/apidoc/CBAppClient/sendMoney.js | 1 - examples/apidoc/CBAppClient/transferMoney.js | 1 - examples/apidoc/CBAppClient/withdrawFunds.js | 1 - .../apidoc/CBCommerceClient/createCharge.js | 1 - .../apidoc/CBCommerceClient/createCheckout.js | 1 - .../apidoc/CBCommerceClient/getAllCharges.js | 1 - .../CBCommerceClient/getAllCheckouts.js | 1 - examples/apidoc/CBCommerceClient/getCharge.js | 1 - .../apidoc/CBCommerceClient/getCheckout.js | 1 - .../apidoc/CBCommerceClient/listEvents.js | 1 - examples/apidoc/CBCommerceClient/showEvent.js | 1 - .../apidoc/CBExchangeClient/addAddresses.js | 1 - .../CBExchangeClient/cancelAllOrders.js | 1 - .../apidoc/CBExchangeClient/cancelOrder.js | 1 - .../CBExchangeClient/convertCurrency.js | 1 - .../createNewCryptoAddress.js | 1 - .../apidoc/CBExchangeClient/createProfile.js | 1 - .../apidoc/CBExchangeClient/createReport.js | 1 - .../CBExchangeClient/createStakeWrap.js | 1 - .../CBExchangeClient/createTravelRuleEntry.js | 1 - .../apidoc/CBExchangeClient/deleteAddress.js | 1 - .../apidoc/CBExchangeClient/deleteProfile.js | 1 - .../CBExchangeClient/deleteTravelRuleEntry.js | 1 - .../depositFromCoinbaseAccount.js | 1 - .../depositFromPaymentMethod.js | 1 - .../apidoc/CBExchangeClient/getAccount.js | 1 - .../CBExchangeClient/getAccountHolds.js | 1 - .../CBExchangeClient/getAccountLedger.js | 1 - .../CBExchangeClient/getAccountTransfers.js | 1 - .../apidoc/CBExchangeClient/getAccounts.js | 1 - .../apidoc/CBExchangeClient/getAddressBook.js | 1 - .../CBExchangeClient/getAllProductVolume.js | 1 - .../apidoc/CBExchangeClient/getAllReports.js | 1 - .../CBExchangeClient/getAllStakeWraps.js | 1 - .../CBExchangeClient/getAllTradingPairs.js | 1 - .../CBExchangeClient/getAllWrappedAssets.js | 1 - .../CBExchangeClient/getCoinbaseWallets.js | 1 - .../apidoc/CBExchangeClient/getConversion.js | 1 - .../CBExchangeClient/getConversionFeeRates.js | 1 - .../getCryptoWithdrawalFeeEstimate.js | 1 - .../apidoc/CBExchangeClient/getCurrencies.js | 1 - .../apidoc/CBExchangeClient/getCurrency.js | 1 - examples/apidoc/CBExchangeClient/getFees.js | 1 - examples/apidoc/CBExchangeClient/getFills.js | 1 - .../CBExchangeClient/getInterestCharges.js | 1 - .../getInterestRateHistory.js | 1 - .../CBExchangeClient/getInterestSummaries.js | 1 - .../CBExchangeClient/getLendingOverview.js | 1 - .../apidoc/CBExchangeClient/getLoanAssets.js | 1 - examples/apidoc/CBExchangeClient/getLoans.js | 1 - .../CBExchangeClient/getNewLoanOptions.js | 1 - .../CBExchangeClient/getNewLoanPreview.js | 1 - examples/apidoc/CBExchangeClient/getOrder.js | 1 - examples/apidoc/CBExchangeClient/getOrders.js | 1 - .../CBExchangeClient/getPaymentMethods.js | 1 - .../getPrincipalRepaymentPreview.js | 1 - .../apidoc/CBExchangeClient/getProduct.js | 1 - .../apidoc/CBExchangeClient/getProductBook.js | 1 - .../CBExchangeClient/getProductCandles.js | 1 - .../CBExchangeClient/getProductStats.js | 1 - .../CBExchangeClient/getProductTicker.js | 1 - .../CBExchangeClient/getProductTrades.js | 1 - .../apidoc/CBExchangeClient/getProfileById.js | 1 - .../apidoc/CBExchangeClient/getProfiles.js | 1 - examples/apidoc/CBExchangeClient/getReport.js | 1 - .../CBExchangeClient/getSignedPrices.js | 1 - .../apidoc/CBExchangeClient/getStakeWrap.js | 1 - .../apidoc/CBExchangeClient/getTransfer.js | 1 - .../apidoc/CBExchangeClient/getTransfers.js | 1 - .../getTravelRuleInformation.js | 1 - .../CBExchangeClient/getUserExchangeLimits.js | 1 - .../CBExchangeClient/getUserTradingVolume.js | 1 - .../getWrappedAssetConversionRate.js | 1 - .../getWrappedAssetDetails.js | 1 - .../apidoc/CBExchangeClient/renameProfile.js | 1 - .../CBExchangeClient/repayLoanInterest.js | 1 - .../CBExchangeClient/repayLoanPrincipal.js | 1 - .../apidoc/CBExchangeClient/submitNewLoan.js | 1 - .../apidoc/CBExchangeClient/submitOrder.js | 1 - .../submitTravelInformation.js | 1 - .../transferFundsBetweenProfiles.js | 1 - .../updateSettlementPreference.js | 1 - .../withdrawToCoinbaseAccount.js | 1 - .../withdrawToCryptoAddress.js | 1 - .../withdrawToPaymentMethod.js | 1 - .../CBInternationalClient/cancelOrder.js | 1 - .../CBInternationalClient/cancelOrders.js | 1 - .../createCounterpartyId.js | 1 - .../createCryptoAddress.js | 1 - .../CBInternationalClient/createPortfolio.js | 1 - .../getAggregatedCandlesData.js | 1 - .../CBInternationalClient/getAssetDetails.js | 1 - .../apidoc/CBInternationalClient/getAssets.js | 1 - .../getBalanceForPortfolioAsset.js | 1 - .../getDailyTradingVolumes.js | 1 - .../CBInternationalClient/getFeeRateTiers.js | 1 - .../getFillsByPortfolios.js | 1 - .../getHistoricalFundingRates.js | 1 - .../getInstrumentDetails.js | 1 - .../CBInternationalClient/getInstruments.js | 1 - .../getMatchingTransfers.js | 1 - .../CBInternationalClient/getOpenOrders.js | 1 - .../CBInternationalClient/getOrderDetails.js | 1 - .../getPortfolioBalances.js | 1 - .../getPortfolioDetails.js | 1 - .../getPortfolioFeeRates.js | 1 - .../getPortfolioFills.js | 1 - .../getPortfolioPositions.js | 1 - .../getPortfolioSummary.js | 1 - .../getPositionForPortfolioInstrument.js | 1 - .../getPositionOffsets.js | 1 - .../getQuotePerInstrument.js | 1 - .../CBInternationalClient/getRankings.js | 1 - .../getSupportedNetworksPerAsset.js | 1 - .../CBInternationalClient/getTransfer.js | 1 - .../CBInternationalClient/getUserPortfolio.js | 1 - .../getUserPortfolios.js | 1 - .../CBInternationalClient/setAutoMargin.js | 1 - .../setCrossCollateral.js | 1 - .../setPortfolioMarginOverride.js | 1 - .../CBInternationalClient/submitOrder.js | 1 - .../transferFundsBetweenPortfolios.js | 1 - .../transferPositionsBetweenPortfolios.js | 1 - .../CBInternationalClient/updateOpenOrder.js | 1 - .../CBInternationalClient/updatePortfolio.js | 1 - .../updatePortfolioParameters.js | 1 - .../validateCounterpartyId.js | 1 - .../withdrawToCounterpartyId.js | 1 - .../withdrawToCryptoAddress.js | 1 - examples/apidoc/CBPrimeClient/cancelOrder.js | 1 - .../CBPrimeClient/createAddressBookEntry.js | 1 - .../apidoc/CBPrimeClient/createConversion.js | 1 - .../createPortfolioAllocations.js | 1 - .../createPortfolioNetAllocations.js | 1 - .../apidoc/CBPrimeClient/createTransfer.js | 1 - examples/apidoc/CBPrimeClient/createWallet.js | 1 - .../apidoc/CBPrimeClient/createWithdrawal.js | 1 - .../apidoc/CBPrimeClient/getActivities.js | 1 - .../apidoc/CBPrimeClient/getActivityById.js | 1 - .../apidoc/CBPrimeClient/getAddressBook.js | 1 - .../apidoc/CBPrimeClient/getAllocationById.js | 1 - examples/apidoc/CBPrimeClient/getAssets.js | 1 - .../CBPrimeClient/getEntityPaymentMethod.js | 1 - .../CBPrimeClient/getEntityPaymentMethods.js | 1 - examples/apidoc/CBPrimeClient/getInvoices.js | 1 - .../getNetAllocationsByNettingId.js | 1 - .../apidoc/CBPrimeClient/getOpenOrders.js | 1 - examples/apidoc/CBPrimeClient/getOrderById.js | 1 - .../apidoc/CBPrimeClient/getOrderFills.js | 1 - .../apidoc/CBPrimeClient/getOrderPreview.js | 1 - .../CBPrimeClient/getPortfolioAllocations.js | 1 - .../CBPrimeClient/getPortfolioBalances.js | 1 - .../apidoc/CBPrimeClient/getPortfolioById.js | 1 - .../CBPrimeClient/getPortfolioCommission.js | 1 - .../getPortfolioCreditInformation.js | 1 - .../CBPrimeClient/getPortfolioOrders.js | 1 - .../CBPrimeClient/getPortfolioProducts.js | 1 - .../CBPrimeClient/getPortfolioTransactions.js | 1 - .../apidoc/CBPrimeClient/getPortfolioUsers.js | 1 - .../CBPrimeClient/getPortfolioWallets.js | 1 - .../apidoc/CBPrimeClient/getPortfolios.js | 1 - .../CBPrimeClient/getTransactionById.js | 1 - examples/apidoc/CBPrimeClient/getUsers.js | 1 - .../apidoc/CBPrimeClient/getWalletBalance.js | 1 - .../apidoc/CBPrimeClient/getWalletById.js | 1 - .../getWalletDepositInstructions.js | 1 - .../CBPrimeClient/getWalletTransactions.js | 1 - .../CBPrimeClient/getWeb3WalletBalances.js | 1 - examples/apidoc/CBPrimeClient/submitOrder.js | 1 - package-lock.json | 4 +- package.json | 2 +- src/CBAdvancedTradeClient.ts | 67 +++++++++++- 247 files changed, 119 insertions(+), 318 deletions(-) delete mode 100644 examples/apidoc/CBAdvancedTradeClient/getServerTime.js diff --git a/.gitignore b/.gitignore index b0dd14f..4be84fa 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ testfile-cbexch.ts restClientRegex.ts privaterepotracker.txt examples/_TiagoTests +testfile.ts diff --git a/docs/endpointFunctionList.md b/docs/endpointFunctionList.md index a76bfc5..47ea7fa 100644 --- a/docs/endpointFunctionList.md +++ b/docs/endpointFunctionList.md @@ -53,57 +53,56 @@ This table includes all endpoints from the official Exchange API docs and corres | Function | AUTH | HTTP Method | Endpoint | | -------- | :------: | :------: | -------- | -| [getAccounts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L85) | :closed_lock_with_key: | GET | `/api/v3/brokerage/accounts` | -| [getAccount()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L99) | :closed_lock_with_key: | GET | `/api/v3/brokerage/accounts/{account_id}` | -| [getBestBidAsk()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L116) | :closed_lock_with_key: | GET | `/api/v3/brokerage/best_bid_ask` | -| [getProductBook()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L127) | :closed_lock_with_key: | GET | `/api/v3/brokerage/product_book` | -| [getProducts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L141) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products` | -| [getProduct()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L153) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}` | -| [getProductCandles()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L169) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}/candles` | -| [getMarketTrades()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L184) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}/ticker` | -| [submitOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L206) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders` | -| [cancelOrders()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L223) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/batch_cancel` | -| [updateOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L240) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/edit` | -| [updateOrderPreview()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L256) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/edit_preview` | -| [getOrders()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L276) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/batch` | -| [getFills()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L291) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/fills` | -| [getOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L303) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/{order_id}` | -| [previewOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L321) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/preview` | -| [closePosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L335) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/close_position` | -| [getPortfolios()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L355) | :closed_lock_with_key: | GET | `/api/v3/brokerage/portfolios` | -| [createPortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L368) | :closed_lock_with_key: | POST | `/api/v3/brokerage/portfolios` | -| [movePortfolioFunds()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L381) | :closed_lock_with_key: | POST | `/api/v3/brokerage/portfolios/move_funds` | -| [getPortfolioBreakdown()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L395) | :closed_lock_with_key: | GET | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | -| [deletePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L411) | :closed_lock_with_key: | DELETE | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | -| [updatePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L422) | :closed_lock_with_key: | PUT | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | -| [getFuturesBalanceSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L453) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/balance_summary` | -| [getIntradayMarginSetting()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L464) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/intraday/margin_setting` | -| [setIntradayMarginSetting()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L478) | :closed_lock_with_key: | POST | `/api/v3/brokerage/cfm/intraday/margin_setting` | -| [getCurrentMarginWindow()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L494) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/intraday/current_margin_window` | -| [getFuturesPositions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L511) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/positions` | -| [getFuturesPosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L520) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/positions/{product_id}` | -| [scheduleFuturesSweep()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L540) | :closed_lock_with_key: | POST | `/api/v3/brokerage/cfm/sweeps/schedule` | -| [getFuturesSweeps()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L558) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/sweeps` | -| [cancelPendingFuturesSweep()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L567) | :closed_lock_with_key: | DELETE | `/api/v3/brokerage/cfm/sweeps` | -| [allocatePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L583) | :closed_lock_with_key: | POST | `/api/v3/brokerage/intx/allocate` | -| [getPerpetualsPortfolioSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L594) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/portfolio/{portfolio_uuid}` | -| [getPerpetualsPositions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L608) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/positions/{portfolio_uuid}` | -| [getPerpetualsPosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L623) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/positions/{portfolio_uuid}/{symbol}` | -| [getPortfoliosBalances()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L638) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/balances/{portfolio_uuid}` | -| [updateMultiAssetCollateral()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L650) | :closed_lock_with_key: | POST | `/api/v3/brokerage/intx/multi_asset_collateral` | -| [getTransactionSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L670) | :closed_lock_with_key: | GET | `/api/v3/brokerage/transaction_summary` | -| [submitConvertQuote()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L688) | :closed_lock_with_key: | POST | `/api/v3/brokerage/convert/quote` | -| [getConvertTrade()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L699) | :closed_lock_with_key: | GET | `/api/v3/brokerage/convert/trade/{trade_id}` | -| [commitConvertTrade()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L716) | :closed_lock_with_key: | POST | `/api/v3/brokerage/convert/trade/{trade_id}` | -| [getServerTime()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L733) | | GET | `/api/v3/brokerage/time` | -| [getPublicProductBook()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L746) | | GET | `/api/v3/brokerage/market/product_book` | -| [getPublicProducts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L759) | | GET | `/api/v3/brokerage/market/products` | -| [getPublicProduct()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L771) | | GET | `/api/v3/brokerage/market/products/{product_id}` | -| [getPublicProductCandles()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L783) | | GET | `/api/v3/brokerage/market/products/{product_id}/candles` | -| [getPublicMarketTrades()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L798) | | GET | `/api/v3/brokerage/market/products/{product_id}/ticker` | -| [getPaymentMethods()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L819) | :closed_lock_with_key: | GET | `/api/v3/brokerage/payment_methods` | -| [getPaymentMethod()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L830) | :closed_lock_with_key: | GET | `/api/v3/brokerage/payment_methods/{payment_method_id}` | -| [getApiKeyPermissions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L850) | :closed_lock_with_key: | GET | `/api/v3/brokerage/key_permissions` | +| [getAccounts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L148) | :closed_lock_with_key: | GET | `/api/v3/brokerage/accounts` | +| [getAccount()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L162) | :closed_lock_with_key: | GET | `/api/v3/brokerage/accounts/{account_id}` | +| [getBestBidAsk()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L179) | :closed_lock_with_key: | GET | `/api/v3/brokerage/best_bid_ask` | +| [getProductBook()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L190) | :closed_lock_with_key: | GET | `/api/v3/brokerage/product_book` | +| [getProducts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L204) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products` | +| [getProduct()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L216) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}` | +| [getProductCandles()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L232) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}/candles` | +| [getMarketTrades()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L247) | :closed_lock_with_key: | GET | `/api/v3/brokerage/products/{product_id}/ticker` | +| [submitOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L269) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders` | +| [cancelOrders()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L286) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/batch_cancel` | +| [updateOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L303) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/edit` | +| [updateOrderPreview()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L319) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/edit_preview` | +| [getOrders()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L339) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/batch` | +| [getFills()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L354) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/fills` | +| [getOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L366) | :closed_lock_with_key: | GET | `/api/v3/brokerage/orders/historical/{order_id}` | +| [previewOrder()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L384) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/preview` | +| [closePosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L398) | :closed_lock_with_key: | POST | `/api/v3/brokerage/orders/close_position` | +| [getPortfolios()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L418) | :closed_lock_with_key: | GET | `/api/v3/brokerage/portfolios` | +| [createPortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L431) | :closed_lock_with_key: | POST | `/api/v3/brokerage/portfolios` | +| [movePortfolioFunds()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L444) | :closed_lock_with_key: | POST | `/api/v3/brokerage/portfolios/move_funds` | +| [getPortfolioBreakdown()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L458) | :closed_lock_with_key: | GET | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | +| [deletePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L474) | :closed_lock_with_key: | DELETE | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | +| [updatePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L485) | :closed_lock_with_key: | PUT | `/api/v3/brokerage/portfolios/{portfolio_uuid}` | +| [getFuturesBalanceSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L516) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/balance_summary` | +| [getIntradayMarginSetting()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L527) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/intraday/margin_setting` | +| [setIntradayMarginSetting()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L541) | :closed_lock_with_key: | POST | `/api/v3/brokerage/cfm/intraday/margin_setting` | +| [getCurrentMarginWindow()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L557) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/intraday/current_margin_window` | +| [getFuturesPositions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L574) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/positions` | +| [getFuturesPosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L583) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/positions/{product_id}` | +| [scheduleFuturesSweep()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L603) | :closed_lock_with_key: | POST | `/api/v3/brokerage/cfm/sweeps/schedule` | +| [getFuturesSweeps()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L621) | :closed_lock_with_key: | GET | `/api/v3/brokerage/cfm/sweeps` | +| [cancelPendingFuturesSweep()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L630) | :closed_lock_with_key: | DELETE | `/api/v3/brokerage/cfm/sweeps` | +| [allocatePortfolio()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L646) | :closed_lock_with_key: | POST | `/api/v3/brokerage/intx/allocate` | +| [getPerpetualsPortfolioSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L657) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/portfolio/{portfolio_uuid}` | +| [getPerpetualsPositions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L671) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/positions/{portfolio_uuid}` | +| [getPerpetualsPosition()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L686) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/positions/{portfolio_uuid}/{symbol}` | +| [getPortfoliosBalances()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L701) | :closed_lock_with_key: | GET | `/api/v3/brokerage/intx/balances/{portfolio_uuid}` | +| [updateMultiAssetCollateral()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L713) | :closed_lock_with_key: | POST | `/api/v3/brokerage/intx/multi_asset_collateral` | +| [getTransactionSummary()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L733) | :closed_lock_with_key: | GET | `/api/v3/brokerage/transaction_summary` | +| [submitConvertQuote()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L751) | :closed_lock_with_key: | POST | `/api/v3/brokerage/convert/quote` | +| [getConvertTrade()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L762) | :closed_lock_with_key: | GET | `/api/v3/brokerage/convert/trade/{trade_id}` | +| [commitConvertTrade()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L779) | :closed_lock_with_key: | POST | `/api/v3/brokerage/convert/trade/{trade_id}` | +| [getPublicProductBook()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L809) | | GET | `/api/v3/brokerage/market/product_book` | +| [getPublicProducts()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L822) | | GET | `/api/v3/brokerage/market/products` | +| [getPublicProduct()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L834) | | GET | `/api/v3/brokerage/market/products/{product_id}` | +| [getPublicProductCandles()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L846) | | GET | `/api/v3/brokerage/market/products/{product_id}/candles` | +| [getPublicMarketTrades()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L861) | | GET | `/api/v3/brokerage/market/products/{product_id}/ticker` | +| [getPaymentMethods()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L882) | :closed_lock_with_key: | GET | `/api/v3/brokerage/payment_methods` | +| [getPaymentMethod()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L893) | :closed_lock_with_key: | GET | `/api/v3/brokerage/payment_methods/{payment_method_id}` | +| [getApiKeyPermissions()](https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L913) | :closed_lock_with_key: | GET | `/api/v3/brokerage/key_permissions` | # CBAppClient.ts diff --git a/examples/apidoc/CBAdvancedTradeClient/allocatePortfolio.js b/examples/apidoc/CBAdvancedTradeClient/allocatePortfolio.js index 0c7bf01..c621ed5 100644 --- a/examples/apidoc/CBAdvancedTradeClient/allocatePortfolio.js +++ b/examples/apidoc/CBAdvancedTradeClient/allocatePortfolio.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/allocate // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L583 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/cancelOrders.js b/examples/apidoc/CBAdvancedTradeClient/cancelOrders.js index 800927d..e6f2440 100644 --- a/examples/apidoc/CBAdvancedTradeClient/cancelOrders.js +++ b/examples/apidoc/CBAdvancedTradeClient/cancelOrders.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/batch_cancel // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L223 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/cancelPendingFuturesSweep.js b/examples/apidoc/CBAdvancedTradeClient/cancelPendingFuturesSweep.js index 2b877bc..664ac4c 100644 --- a/examples/apidoc/CBAdvancedTradeClient/cancelPendingFuturesSweep.js +++ b/examples/apidoc/CBAdvancedTradeClient/cancelPendingFuturesSweep.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/sweeps // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L567 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/closePosition.js b/examples/apidoc/CBAdvancedTradeClient/closePosition.js index 73fe363..cf0b87b 100644 --- a/examples/apidoc/CBAdvancedTradeClient/closePosition.js +++ b/examples/apidoc/CBAdvancedTradeClient/closePosition.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/close_position // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L335 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/commitConvertTrade.js b/examples/apidoc/CBAdvancedTradeClient/commitConvertTrade.js index 80006cc..bdcda83 100644 --- a/examples/apidoc/CBAdvancedTradeClient/commitConvertTrade.js +++ b/examples/apidoc/CBAdvancedTradeClient/commitConvertTrade.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/convert/trade/{trade_id} // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L716 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/createPortfolio.js b/examples/apidoc/CBAdvancedTradeClient/createPortfolio.js index 9407b00..96b85d1 100644 --- a/examples/apidoc/CBAdvancedTradeClient/createPortfolio.js +++ b/examples/apidoc/CBAdvancedTradeClient/createPortfolio.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L368 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/deletePortfolio.js b/examples/apidoc/CBAdvancedTradeClient/deletePortfolio.js index a051d96..1d4c7ee 100644 --- a/examples/apidoc/CBAdvancedTradeClient/deletePortfolio.js +++ b/examples/apidoc/CBAdvancedTradeClient/deletePortfolio.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios/{portfolio_uuid} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L411 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getAccount.js b/examples/apidoc/CBAdvancedTradeClient/getAccount.js index 14b1131..5435fa4 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getAccount.js +++ b/examples/apidoc/CBAdvancedTradeClient/getAccount.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/accounts/{account_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L99 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getAccounts.js b/examples/apidoc/CBAdvancedTradeClient/getAccounts.js index ac2691b..2d23617 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getAccounts.js +++ b/examples/apidoc/CBAdvancedTradeClient/getAccounts.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L85 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getApiKeyPermissions.js b/examples/apidoc/CBAdvancedTradeClient/getApiKeyPermissions.js index 9a0a3a6..c03f1d1 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getApiKeyPermissions.js +++ b/examples/apidoc/CBAdvancedTradeClient/getApiKeyPermissions.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/key_permissions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L850 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getBestBidAsk.js b/examples/apidoc/CBAdvancedTradeClient/getBestBidAsk.js index c3d8d07..a6b57ce 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getBestBidAsk.js +++ b/examples/apidoc/CBAdvancedTradeClient/getBestBidAsk.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/best_bid_ask // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L116 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getConvertTrade.js b/examples/apidoc/CBAdvancedTradeClient/getConvertTrade.js index 6ce482a..068a154 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getConvertTrade.js +++ b/examples/apidoc/CBAdvancedTradeClient/getConvertTrade.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/convert/trade/{trade_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L699 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getCurrentMarginWindow.js b/examples/apidoc/CBAdvancedTradeClient/getCurrentMarginWindow.js index 5d3ca7c..a6c7c10 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getCurrentMarginWindow.js +++ b/examples/apidoc/CBAdvancedTradeClient/getCurrentMarginWindow.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/intraday/current_margin_window // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L494 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getFills.js b/examples/apidoc/CBAdvancedTradeClient/getFills.js index 9a6d7bb..194bab7 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getFills.js +++ b/examples/apidoc/CBAdvancedTradeClient/getFills.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/historical/fills // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L291 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getFuturesBalanceSummary.js b/examples/apidoc/CBAdvancedTradeClient/getFuturesBalanceSummary.js index d694d6a..bcba3c5 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getFuturesBalanceSummary.js +++ b/examples/apidoc/CBAdvancedTradeClient/getFuturesBalanceSummary.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/balance_summary // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L453 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getFuturesPosition.js b/examples/apidoc/CBAdvancedTradeClient/getFuturesPosition.js index 59d1c47..d07373f 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getFuturesPosition.js +++ b/examples/apidoc/CBAdvancedTradeClient/getFuturesPosition.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/positions/{product_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L520 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getFuturesPositions.js b/examples/apidoc/CBAdvancedTradeClient/getFuturesPositions.js index e553c30..80125b9 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getFuturesPositions.js +++ b/examples/apidoc/CBAdvancedTradeClient/getFuturesPositions.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/positions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L511 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getFuturesSweeps.js b/examples/apidoc/CBAdvancedTradeClient/getFuturesSweeps.js index a971fb8..b6911ea 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getFuturesSweeps.js +++ b/examples/apidoc/CBAdvancedTradeClient/getFuturesSweeps.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/sweeps // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L558 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getIntradayMarginSetting.js b/examples/apidoc/CBAdvancedTradeClient/getIntradayMarginSetting.js index e18181c..d5db870 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getIntradayMarginSetting.js +++ b/examples/apidoc/CBAdvancedTradeClient/getIntradayMarginSetting.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/intraday/margin_setting // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L464 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getMarketTrades.js b/examples/apidoc/CBAdvancedTradeClient/getMarketTrades.js index d704398..457e97a 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getMarketTrades.js +++ b/examples/apidoc/CBAdvancedTradeClient/getMarketTrades.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/products/{product_id}/ticker // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L184 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getOrder.js b/examples/apidoc/CBAdvancedTradeClient/getOrder.js index b5724f2..c7d8dbf 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getOrder.js +++ b/examples/apidoc/CBAdvancedTradeClient/getOrder.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/historical/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L303 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getOrders.js b/examples/apidoc/CBAdvancedTradeClient/getOrders.js index 6b29896..6b546c0 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getOrders.js +++ b/examples/apidoc/CBAdvancedTradeClient/getOrders.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/historical/batch // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L276 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPaymentMethod.js b/examples/apidoc/CBAdvancedTradeClient/getPaymentMethod.js index 2fe1c73..70f8321 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPaymentMethod.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPaymentMethod.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/payment_methods/{payment_method_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L830 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPaymentMethods.js b/examples/apidoc/CBAdvancedTradeClient/getPaymentMethods.js index 621b722..b451e75 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPaymentMethods.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPaymentMethods.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/payment_methods // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L819 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPortfolioSummary.js b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPortfolioSummary.js index 7d5de8e..6b6c6cb 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPortfolioSummary.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPortfolioSummary.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/portfolio/{portfolio_uuid} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L594 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPosition.js b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPosition.js index 8a125a5..b66345b 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPosition.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPosition.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/positions/{portfolio_uuid}/{symbol} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L623 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPositions.js b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPositions.js index 8aa55b1..b44e021 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPositions.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPerpetualsPositions.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/positions/{portfolio_uuid} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L608 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPortfolioBreakdown.js b/examples/apidoc/CBAdvancedTradeClient/getPortfolioBreakdown.js index 7f3f758..a76e150 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPortfolioBreakdown.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPortfolioBreakdown.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios/{portfolio_uuid} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L395 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPortfolios.js b/examples/apidoc/CBAdvancedTradeClient/getPortfolios.js index eb2eb3c..db9c162 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPortfolios.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPortfolios.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L355 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPortfoliosBalances.js b/examples/apidoc/CBAdvancedTradeClient/getPortfoliosBalances.js index d70fd04..590a98d 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPortfoliosBalances.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPortfoliosBalances.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/balances/{portfolio_uuid} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L638 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getProduct.js b/examples/apidoc/CBAdvancedTradeClient/getProduct.js index 3c38a29..90256b4 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getProduct.js +++ b/examples/apidoc/CBAdvancedTradeClient/getProduct.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/products/{product_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L153 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getProductBook.js b/examples/apidoc/CBAdvancedTradeClient/getProductBook.js index 47e6ede..18733e7 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getProductBook.js +++ b/examples/apidoc/CBAdvancedTradeClient/getProductBook.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/product_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L127 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getProductCandles.js b/examples/apidoc/CBAdvancedTradeClient/getProductCandles.js index 5fbf5bd..48787c5 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getProductCandles.js +++ b/examples/apidoc/CBAdvancedTradeClient/getProductCandles.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/products/{product_id}/candles // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L169 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getProducts.js b/examples/apidoc/CBAdvancedTradeClient/getProducts.js index 7c4dae6..2634795 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getProducts.js +++ b/examples/apidoc/CBAdvancedTradeClient/getProducts.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/products // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L141 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPublicMarketTrades.js b/examples/apidoc/CBAdvancedTradeClient/getPublicMarketTrades.js index 8f49b8d..78e931c 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPublicMarketTrades.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPublicMarketTrades.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/market/products/{product_id}/ticker // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L798 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPublicProduct.js b/examples/apidoc/CBAdvancedTradeClient/getPublicProduct.js index 17dd0ae..c37ec43 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPublicProduct.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPublicProduct.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/market/products/{product_id} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L771 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPublicProductBook.js b/examples/apidoc/CBAdvancedTradeClient/getPublicProductBook.js index 5fa5b9f..91d7dbb 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPublicProductBook.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPublicProductBook.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/market/product_book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L746 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPublicProductCandles.js b/examples/apidoc/CBAdvancedTradeClient/getPublicProductCandles.js index 8151c68..d72b156 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPublicProductCandles.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPublicProductCandles.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/market/products/{product_id}/candles // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L783 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getPublicProducts.js b/examples/apidoc/CBAdvancedTradeClient/getPublicProducts.js index 66131e3..7b1b375 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getPublicProducts.js +++ b/examples/apidoc/CBAdvancedTradeClient/getPublicProducts.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/market/products // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L759 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/getServerTime.js b/examples/apidoc/CBAdvancedTradeClient/getServerTime.js deleted file mode 100644 index beae01c..0000000 --- a/examples/apidoc/CBAdvancedTradeClient/getServerTime.js +++ /dev/null @@ -1,21 +0,0 @@ -const { CBAdvancedTradeClient } = require('coinbase-api'); - - // This example shows how to call this coinbase API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "coinbase-api" for coinbase exchange - // This coinbase API SDK is available on npm via "npm install coinbase-api" - // ENDPOINT: /api/v3/brokerage/time - // METHOD: GET - // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L733 - -const client = new CBAdvancedTradeClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', -}); - -client.getServerTime(params) - .then((response) => { - console.log(response); - }) - .catch((error) => { - console.error(error); - }); diff --git a/examples/apidoc/CBAdvancedTradeClient/getTransactionSummary.js b/examples/apidoc/CBAdvancedTradeClient/getTransactionSummary.js index a4fe4af..47e7b15 100644 --- a/examples/apidoc/CBAdvancedTradeClient/getTransactionSummary.js +++ b/examples/apidoc/CBAdvancedTradeClient/getTransactionSummary.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/transaction_summary // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L670 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/movePortfolioFunds.js b/examples/apidoc/CBAdvancedTradeClient/movePortfolioFunds.js index 0288a70..e292199 100644 --- a/examples/apidoc/CBAdvancedTradeClient/movePortfolioFunds.js +++ b/examples/apidoc/CBAdvancedTradeClient/movePortfolioFunds.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios/move_funds // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L381 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/previewOrder.js b/examples/apidoc/CBAdvancedTradeClient/previewOrder.js index 9779578..b92bb83 100644 --- a/examples/apidoc/CBAdvancedTradeClient/previewOrder.js +++ b/examples/apidoc/CBAdvancedTradeClient/previewOrder.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/preview // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L321 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/scheduleFuturesSweep.js b/examples/apidoc/CBAdvancedTradeClient/scheduleFuturesSweep.js index 74ec122..ca4c1db 100644 --- a/examples/apidoc/CBAdvancedTradeClient/scheduleFuturesSweep.js +++ b/examples/apidoc/CBAdvancedTradeClient/scheduleFuturesSweep.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/sweeps/schedule // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L540 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/setIntradayMarginSetting.js b/examples/apidoc/CBAdvancedTradeClient/setIntradayMarginSetting.js index 012f6e6..09cacb0 100644 --- a/examples/apidoc/CBAdvancedTradeClient/setIntradayMarginSetting.js +++ b/examples/apidoc/CBAdvancedTradeClient/setIntradayMarginSetting.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/cfm/intraday/margin_setting // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L478 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/submitConvertQuote.js b/examples/apidoc/CBAdvancedTradeClient/submitConvertQuote.js index 359e8a2..969d767 100644 --- a/examples/apidoc/CBAdvancedTradeClient/submitConvertQuote.js +++ b/examples/apidoc/CBAdvancedTradeClient/submitConvertQuote.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/convert/quote // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L688 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/submitOrder.js b/examples/apidoc/CBAdvancedTradeClient/submitOrder.js index d63b531..12dfe5a 100644 --- a/examples/apidoc/CBAdvancedTradeClient/submitOrder.js +++ b/examples/apidoc/CBAdvancedTradeClient/submitOrder.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L206 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/updateMultiAssetCollateral.js b/examples/apidoc/CBAdvancedTradeClient/updateMultiAssetCollateral.js index 22fdeaf..ed96fdf 100644 --- a/examples/apidoc/CBAdvancedTradeClient/updateMultiAssetCollateral.js +++ b/examples/apidoc/CBAdvancedTradeClient/updateMultiAssetCollateral.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/intx/multi_asset_collateral // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L650 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/updateOrder.js b/examples/apidoc/CBAdvancedTradeClient/updateOrder.js index 97f1698..1347934 100644 --- a/examples/apidoc/CBAdvancedTradeClient/updateOrder.js +++ b/examples/apidoc/CBAdvancedTradeClient/updateOrder.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/edit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L240 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/updateOrderPreview.js b/examples/apidoc/CBAdvancedTradeClient/updateOrderPreview.js index fc3b537..52fba42 100644 --- a/examples/apidoc/CBAdvancedTradeClient/updateOrderPreview.js +++ b/examples/apidoc/CBAdvancedTradeClient/updateOrderPreview.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/orders/edit_preview // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L256 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAdvancedTradeClient/updatePortfolio.js b/examples/apidoc/CBAdvancedTradeClient/updatePortfolio.js index 392d590..ace4218 100644 --- a/examples/apidoc/CBAdvancedTradeClient/updatePortfolio.js +++ b/examples/apidoc/CBAdvancedTradeClient/updatePortfolio.js @@ -5,7 +5,6 @@ const { CBAdvancedTradeClient } = require('coinbase-api'); // ENDPOINT: /api/v3/brokerage/portfolios/{portfolio_uuid} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAdvancedTradeClient.ts#L422 const client = new CBAdvancedTradeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/commitDeposit.js b/examples/apidoc/CBAppClient/commitDeposit.js index ef557e2..8ed511f 100644 --- a/examples/apidoc/CBAppClient/commitDeposit.js +++ b/examples/apidoc/CBAppClient/commitDeposit.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/deposits/{deposit_id}/commit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L264 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/commitWithdrawal.js b/examples/apidoc/CBAppClient/commitWithdrawal.js index b59be9d..684a9ce 100644 --- a/examples/apidoc/CBAppClient/commitWithdrawal.js +++ b/examples/apidoc/CBAppClient/commitWithdrawal.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/withdrawals/{withdrawal_id}/commit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L329 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/createAddress.js b/examples/apidoc/CBAppClient/createAddress.js index 2bdc137..de206a2 100644 --- a/examples/apidoc/CBAppClient/createAddress.js +++ b/examples/apidoc/CBAppClient/createAddress.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/addresses // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L96 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/depositFunds.js b/examples/apidoc/CBAppClient/depositFunds.js index ec9e2d5..ad8bc13 100644 --- a/examples/apidoc/CBAppClient/depositFunds.js +++ b/examples/apidoc/CBAppClient/depositFunds.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/deposits // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L250 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getAccount.js b/examples/apidoc/CBAppClient/getAccount.js index d36726d..b847c1c 100644 --- a/examples/apidoc/CBAppClient/getAccount.js +++ b/examples/apidoc/CBAppClient/getAccount.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L79 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getAccounts.js b/examples/apidoc/CBAppClient/getAccounts.js index 5f19dd8..85806fe 100644 --- a/examples/apidoc/CBAppClient/getAccounts.js +++ b/examples/apidoc/CBAppClient/getAccounts.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L64 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getAddress.js b/examples/apidoc/CBAppClient/getAddress.js index 387b801..7d9376e 100644 --- a/examples/apidoc/CBAppClient/getAddress.js +++ b/examples/apidoc/CBAppClient/getAddress.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/addresses/{addressId} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L133 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getAddressTransactions.js b/examples/apidoc/CBAppClient/getAddressTransactions.js index fcfff16..039049f 100644 --- a/examples/apidoc/CBAppClient/getAddressTransactions.js +++ b/examples/apidoc/CBAppClient/getAddressTransactions.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/addresses/{addressId}/transactions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L150 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getAddresses.js b/examples/apidoc/CBAppClient/getAddresses.js index 3b96874..19a7c50 100644 --- a/examples/apidoc/CBAppClient/getAddresses.js +++ b/examples/apidoc/CBAppClient/getAddresses.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/addresses // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L112 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getBuyPrice.js b/examples/apidoc/CBAppClient/getBuyPrice.js index da9dbfd..65ad093 100644 --- a/examples/apidoc/CBAppClient/getBuyPrice.js +++ b/examples/apidoc/CBAppClient/getBuyPrice.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/prices/{currencyPair}/buy // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L435 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getCryptocurrencies.js b/examples/apidoc/CBAppClient/getCryptocurrencies.js index 38d62af..387b296 100644 --- a/examples/apidoc/CBAppClient/getCryptocurrencies.js +++ b/examples/apidoc/CBAppClient/getCryptocurrencies.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/currencies/crypto // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L398 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getCurrentTime.js b/examples/apidoc/CBAppClient/getCurrentTime.js index 13ce139..cd93fc0 100644 --- a/examples/apidoc/CBAppClient/getCurrentTime.js +++ b/examples/apidoc/CBAppClient/getCurrentTime.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/time // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L487 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getDeposit.js b/examples/apidoc/CBAppClient/getDeposit.js index 7b4ea32..e74c6a1 100644 --- a/examples/apidoc/CBAppClient/getDeposit.js +++ b/examples/apidoc/CBAppClient/getDeposit.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/deposits/{deposit_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L296 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getDeposits.js b/examples/apidoc/CBAppClient/getDeposits.js index fc9096e..7f0156f 100644 --- a/examples/apidoc/CBAppClient/getDeposits.js +++ b/examples/apidoc/CBAppClient/getDeposits.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/deposits // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L281 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getExchangeRates.js b/examples/apidoc/CBAppClient/getExchangeRates.js index 4c12a24..d663015 100644 --- a/examples/apidoc/CBAppClient/getExchangeRates.js +++ b/examples/apidoc/CBAppClient/getExchangeRates.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/exchange-rates // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L414 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getFiatCurrencies.js b/examples/apidoc/CBAppClient/getFiatCurrencies.js index 62dcd6c..accd034 100644 --- a/examples/apidoc/CBAppClient/getFiatCurrencies.js +++ b/examples/apidoc/CBAppClient/getFiatCurrencies.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L387 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getSellPrice.js b/examples/apidoc/CBAppClient/getSellPrice.js index 8d4d6b0..4879fc7 100644 --- a/examples/apidoc/CBAppClient/getSellPrice.js +++ b/examples/apidoc/CBAppClient/getSellPrice.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/prices/{currencyPair}/sell // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L450 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getSpotPrice.js b/examples/apidoc/CBAppClient/getSpotPrice.js index 13a9332..a6a83dd 100644 --- a/examples/apidoc/CBAppClient/getSpotPrice.js +++ b/examples/apidoc/CBAppClient/getSpotPrice.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/prices/{currencyPair}/spot // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L465 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getTransaction.js b/examples/apidoc/CBAppClient/getTransaction.js index 47722c7..93303b4 100644 --- a/examples/apidoc/CBAppClient/getTransaction.js +++ b/examples/apidoc/CBAppClient/getTransaction.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/transactions/{transactionId} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L228 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getTransactions.js b/examples/apidoc/CBAppClient/getTransactions.js index 85db15c..ab222b2 100644 --- a/examples/apidoc/CBAppClient/getTransactions.js +++ b/examples/apidoc/CBAppClient/getTransactions.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/transactions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L210 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getWithdrawal.js b/examples/apidoc/CBAppClient/getWithdrawal.js index 227f832..b1173ea 100644 --- a/examples/apidoc/CBAppClient/getWithdrawal.js +++ b/examples/apidoc/CBAppClient/getWithdrawal.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/withdrawals/{withdrawal_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L364 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/getWithdrawals.js b/examples/apidoc/CBAppClient/getWithdrawals.js index 16a5aa1..e10cd21 100644 --- a/examples/apidoc/CBAppClient/getWithdrawals.js +++ b/examples/apidoc/CBAppClient/getWithdrawals.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/withdrawals // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L346 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/sendMoney.js b/examples/apidoc/CBAppClient/sendMoney.js index c4f0be8..0b3ea27 100644 --- a/examples/apidoc/CBAppClient/sendMoney.js +++ b/examples/apidoc/CBAppClient/sendMoney.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/transactions // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L178 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/transferMoney.js b/examples/apidoc/CBAppClient/transferMoney.js index f62e7fc..e3e8205 100644 --- a/examples/apidoc/CBAppClient/transferMoney.js +++ b/examples/apidoc/CBAppClient/transferMoney.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/transactions // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L193 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBAppClient/withdrawFunds.js b/examples/apidoc/CBAppClient/withdrawFunds.js index 3ae2d56..99511b9 100644 --- a/examples/apidoc/CBAppClient/withdrawFunds.js +++ b/examples/apidoc/CBAppClient/withdrawFunds.js @@ -5,7 +5,6 @@ const { CBAppClient } = require('coinbase-api'); // ENDPOINT: /v2/accounts/{account_id}/withdrawals // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBAppClient.ts#L315 const client = new CBAppClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/createCharge.js b/examples/apidoc/CBCommerceClient/createCharge.js index 448a2ca..dd1e96c 100644 --- a/examples/apidoc/CBCommerceClient/createCharge.js +++ b/examples/apidoc/CBCommerceClient/createCharge.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /charges // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L38 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/createCheckout.js b/examples/apidoc/CBCommerceClient/createCheckout.js index 21d3951..2b165fa 100644 --- a/examples/apidoc/CBCommerceClient/createCheckout.js +++ b/examples/apidoc/CBCommerceClient/createCheckout.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /checkouts // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L87 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/getAllCharges.js b/examples/apidoc/CBCommerceClient/getAllCharges.js index c44d8a5..1c552fd 100644 --- a/examples/apidoc/CBCommerceClient/getAllCharges.js +++ b/examples/apidoc/CBCommerceClient/getAllCharges.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /charges // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L63 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/getAllCheckouts.js b/examples/apidoc/CBCommerceClient/getAllCheckouts.js index 87379b9..112ed44 100644 --- a/examples/apidoc/CBCommerceClient/getAllCheckouts.js +++ b/examples/apidoc/CBCommerceClient/getAllCheckouts.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /checkouts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L110 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/getCharge.js b/examples/apidoc/CBCommerceClient/getCharge.js index ab25a0b..962c74e 100644 --- a/examples/apidoc/CBCommerceClient/getCharge.js +++ b/examples/apidoc/CBCommerceClient/getCharge.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /charges/{charge_code_or_charge_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L72 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/getCheckout.js b/examples/apidoc/CBCommerceClient/getCheckout.js index d6cc75e..7cb1a69 100644 --- a/examples/apidoc/CBCommerceClient/getCheckout.js +++ b/examples/apidoc/CBCommerceClient/getCheckout.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /checkouts/{checkout_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L119 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/listEvents.js b/examples/apidoc/CBCommerceClient/listEvents.js index 3b59adf..dcdd17e 100644 --- a/examples/apidoc/CBCommerceClient/listEvents.js +++ b/examples/apidoc/CBCommerceClient/listEvents.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /events // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L134 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBCommerceClient/showEvent.js b/examples/apidoc/CBCommerceClient/showEvent.js index 6cec2f2..10c043b 100644 --- a/examples/apidoc/CBCommerceClient/showEvent.js +++ b/examples/apidoc/CBCommerceClient/showEvent.js @@ -5,7 +5,6 @@ const { CBCommerceClient } = require('coinbase-api'); // ENDPOINT: /events/{event_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBCommerceClient.ts#L145 const client = new CBCommerceClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/addAddresses.js b/examples/apidoc/CBExchangeClient/addAddresses.js index 3f8e183..29aee34 100644 --- a/examples/apidoc/CBExchangeClient/addAddresses.js +++ b/examples/apidoc/CBExchangeClient/addAddresses.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /address-book // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L144 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/cancelAllOrders.js b/examples/apidoc/CBExchangeClient/cancelAllOrders.js index 5e0b3bf..a197882 100644 --- a/examples/apidoc/CBExchangeClient/cancelAllOrders.js +++ b/examples/apidoc/CBExchangeClient/cancelAllOrders.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L402 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/cancelOrder.js b/examples/apidoc/CBExchangeClient/cancelOrder.js index 7d767ba..b489017 100644 --- a/examples/apidoc/CBExchangeClient/cancelOrder.js +++ b/examples/apidoc/CBExchangeClient/cancelOrder.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L435 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/convertCurrency.js b/examples/apidoc/CBExchangeClient/convertCurrency.js index 0389502..01146e0 100644 --- a/examples/apidoc/CBExchangeClient/convertCurrency.js +++ b/examples/apidoc/CBExchangeClient/convertCurrency.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /conversions // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L195 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/createNewCryptoAddress.js b/examples/apidoc/CBExchangeClient/createNewCryptoAddress.js index de08561..dd678b5 100644 --- a/examples/apidoc/CBExchangeClient/createNewCryptoAddress.js +++ b/examples/apidoc/CBExchangeClient/createNewCryptoAddress.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /coinbase-accounts/{account_id}/addresses // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L177 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/createProfile.js b/examples/apidoc/CBExchangeClient/createProfile.js index c4b9d0a..60f5309 100644 --- a/examples/apidoc/CBExchangeClient/createProfile.js +++ b/examples/apidoc/CBExchangeClient/createProfile.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L687 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/createReport.js b/examples/apidoc/CBExchangeClient/createReport.js index 08fd7e4..9329765 100644 --- a/examples/apidoc/CBExchangeClient/createReport.js +++ b/examples/apidoc/CBExchangeClient/createReport.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /reports // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L759 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/createStakeWrap.js b/examples/apidoc/CBExchangeClient/createStakeWrap.js index ae93849..dc6cb0e 100644 --- a/examples/apidoc/CBExchangeClient/createStakeWrap.js +++ b/examples/apidoc/CBExchangeClient/createStakeWrap.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets/stake-wrap // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L879 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/createTravelRuleEntry.js b/examples/apidoc/CBExchangeClient/createTravelRuleEntry.js index 4783673..9131e3f 100644 --- a/examples/apidoc/CBExchangeClient/createTravelRuleEntry.js +++ b/examples/apidoc/CBExchangeClient/createTravelRuleEntry.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /travel-rules // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L794 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/deleteAddress.js b/examples/apidoc/CBExchangeClient/deleteAddress.js index e5e0f12..cfeb076 100644 --- a/examples/apidoc/CBExchangeClient/deleteAddress.js +++ b/examples/apidoc/CBExchangeClient/deleteAddress.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /address-book/{id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L153 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/deleteProfile.js b/examples/apidoc/CBExchangeClient/deleteProfile.js index c4ef5e6..9556811 100644 --- a/examples/apidoc/CBExchangeClient/deleteProfile.js +++ b/examples/apidoc/CBExchangeClient/deleteProfile.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles/{profile_id}/deactivate // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L731 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/deleteTravelRuleEntry.js b/examples/apidoc/CBExchangeClient/deleteTravelRuleEntry.js index d617e94..d517bde 100644 --- a/examples/apidoc/CBExchangeClient/deleteTravelRuleEntry.js +++ b/examples/apidoc/CBExchangeClient/deleteTravelRuleEntry.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /travel-rules/{id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L807 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/depositFromCoinbaseAccount.js b/examples/apidoc/CBExchangeClient/depositFromCoinbaseAccount.js index 9cb837f..5ba893f 100644 --- a/examples/apidoc/CBExchangeClient/depositFromCoinbaseAccount.js +++ b/examples/apidoc/CBExchangeClient/depositFromCoinbaseAccount.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /deposits/coinbase-account // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L256 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/depositFromPaymentMethod.js b/examples/apidoc/CBExchangeClient/depositFromPaymentMethod.js index 3beed84..3e4e922 100644 --- a/examples/apidoc/CBExchangeClient/depositFromPaymentMethod.js +++ b/examples/apidoc/CBExchangeClient/depositFromPaymentMethod.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /deposits/payment-method // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L270 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAccount.js b/examples/apidoc/CBExchangeClient/getAccount.js index 44b6787..ccb51d9 100644 --- a/examples/apidoc/CBExchangeClient/getAccount.js +++ b/examples/apidoc/CBExchangeClient/getAccount.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /accounts/{account_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L79 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAccountHolds.js b/examples/apidoc/CBExchangeClient/getAccountHolds.js index 85a16fc..cc4f96e 100644 --- a/examples/apidoc/CBExchangeClient/getAccountHolds.js +++ b/examples/apidoc/CBExchangeClient/getAccountHolds.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /accounts/{account_id}/holds // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L90 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAccountLedger.js b/examples/apidoc/CBExchangeClient/getAccountLedger.js index a531702..3385b78 100644 --- a/examples/apidoc/CBExchangeClient/getAccountLedger.js +++ b/examples/apidoc/CBExchangeClient/getAccountLedger.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /accounts/{account_id}/ledger // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L109 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAccountTransfers.js b/examples/apidoc/CBExchangeClient/getAccountTransfers.js index 0d6ba66..d4118ba 100644 --- a/examples/apidoc/CBExchangeClient/getAccountTransfers.js +++ b/examples/apidoc/CBExchangeClient/getAccountTransfers.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /accounts/{account_id}/transfers // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L119 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAccounts.js b/examples/apidoc/CBExchangeClient/getAccounts.js index e10afba..a489e09 100644 --- a/examples/apidoc/CBExchangeClient/getAccounts.js +++ b/examples/apidoc/CBExchangeClient/getAccounts.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L70 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAddressBook.js b/examples/apidoc/CBExchangeClient/getAddressBook.js index eff6b4c..3cf7b4e 100644 --- a/examples/apidoc/CBExchangeClient/getAddressBook.js +++ b/examples/apidoc/CBExchangeClient/getAddressBook.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /address-book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L135 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAllProductVolume.js b/examples/apidoc/CBExchangeClient/getAllProductVolume.js index 6161bf0..a92bc24 100644 --- a/examples/apidoc/CBExchangeClient/getAllProductVolume.js +++ b/examples/apidoc/CBExchangeClient/getAllProductVolume.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/volume-summary // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L603 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAllReports.js b/examples/apidoc/CBExchangeClient/getAllReports.js index ce221f3..0185d50 100644 --- a/examples/apidoc/CBExchangeClient/getAllReports.js +++ b/examples/apidoc/CBExchangeClient/getAllReports.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /reports // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L749 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAllStakeWraps.js b/examples/apidoc/CBExchangeClient/getAllStakeWraps.js index 765017d..9a6d53c 100644 --- a/examples/apidoc/CBExchangeClient/getAllStakeWraps.js +++ b/examples/apidoc/CBExchangeClient/getAllStakeWraps.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets/stake-wrap // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L870 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAllTradingPairs.js b/examples/apidoc/CBExchangeClient/getAllTradingPairs.js index 2765ec2..7e5ebc6 100644 --- a/examples/apidoc/CBExchangeClient/getAllTradingPairs.js +++ b/examples/apidoc/CBExchangeClient/getAllTradingPairs.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L594 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getAllWrappedAssets.js b/examples/apidoc/CBExchangeClient/getAllWrappedAssets.js index b47e355..ed75691 100644 --- a/examples/apidoc/CBExchangeClient/getAllWrappedAssets.js +++ b/examples/apidoc/CBExchangeClient/getAllWrappedAssets.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L861 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getCoinbaseWallets.js b/examples/apidoc/CBExchangeClient/getCoinbaseWallets.js index 2a02544..c74b8b7 100644 --- a/examples/apidoc/CBExchangeClient/getCoinbaseWallets.js +++ b/examples/apidoc/CBExchangeClient/getCoinbaseWallets.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /coinbase-accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L168 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getConversion.js b/examples/apidoc/CBExchangeClient/getConversion.js index da6d8d4..0e49a41 100644 --- a/examples/apidoc/CBExchangeClient/getConversion.js +++ b/examples/apidoc/CBExchangeClient/getConversion.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /conversions/{conversion_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L213 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getConversionFeeRates.js b/examples/apidoc/CBExchangeClient/getConversionFeeRates.js index 751ee62..5dc9efd 100644 --- a/examples/apidoc/CBExchangeClient/getConversionFeeRates.js +++ b/examples/apidoc/CBExchangeClient/getConversionFeeRates.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /conversions/fees // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L204 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getCryptoWithdrawalFeeEstimate.js b/examples/apidoc/CBExchangeClient/getCryptoWithdrawalFeeEstimate.js index 12c8dbd..85ee09d 100644 --- a/examples/apidoc/CBExchangeClient/getCryptoWithdrawalFeeEstimate.js +++ b/examples/apidoc/CBExchangeClient/getCryptoWithdrawalFeeEstimate.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /withdrawals/fee-estimate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L340 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getCurrencies.js b/examples/apidoc/CBExchangeClient/getCurrencies.js index cb9abad..207b430 100644 --- a/examples/apidoc/CBExchangeClient/getCurrencies.js +++ b/examples/apidoc/CBExchangeClient/getCurrencies.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L232 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getCurrency.js b/examples/apidoc/CBExchangeClient/getCurrency.js index 35aa9eb..b6c0a6b 100644 --- a/examples/apidoc/CBExchangeClient/getCurrency.js +++ b/examples/apidoc/CBExchangeClient/getCurrency.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /currencies/{currency_id} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L241 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getFees.js b/examples/apidoc/CBExchangeClient/getFees.js index 607277a..b5957ab 100644 --- a/examples/apidoc/CBExchangeClient/getFees.js +++ b/examples/apidoc/CBExchangeClient/getFees.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /fees // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L368 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getFills.js b/examples/apidoc/CBExchangeClient/getFills.js index c639671..0eb833f 100644 --- a/examples/apidoc/CBExchangeClient/getFills.js +++ b/examples/apidoc/CBExchangeClient/getFills.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /fills // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L383 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getInterestCharges.js b/examples/apidoc/CBExchangeClient/getInterestCharges.js index 034688f..7c32c68 100644 --- a/examples/apidoc/CBExchangeClient/getInterestCharges.js +++ b/examples/apidoc/CBExchangeClient/getInterestCharges.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/interest/{loan_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L489 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getInterestRateHistory.js b/examples/apidoc/CBExchangeClient/getInterestRateHistory.js index 8161fc8..9e42a38 100644 --- a/examples/apidoc/CBExchangeClient/getInterestRateHistory.js +++ b/examples/apidoc/CBExchangeClient/getInterestRateHistory.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/interest/history/{loan_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L480 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getInterestSummaries.js b/examples/apidoc/CBExchangeClient/getInterestSummaries.js index 3250232..f689415 100644 --- a/examples/apidoc/CBExchangeClient/getInterestSummaries.js +++ b/examples/apidoc/CBExchangeClient/getInterestSummaries.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/interest // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L471 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getLendingOverview.js b/examples/apidoc/CBExchangeClient/getLendingOverview.js index c5ba46c..e5f7250 100644 --- a/examples/apidoc/CBExchangeClient/getLendingOverview.js +++ b/examples/apidoc/CBExchangeClient/getLendingOverview.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/lending-overview // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L501 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getLoanAssets.js b/examples/apidoc/CBExchangeClient/getLoanAssets.js index cd02baf..3b764c7 100644 --- a/examples/apidoc/CBExchangeClient/getLoanAssets.js +++ b/examples/apidoc/CBExchangeClient/getLoanAssets.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/assets // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L462 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getLoans.js b/examples/apidoc/CBExchangeClient/getLoans.js index 8acf89a..4cff89c 100644 --- a/examples/apidoc/CBExchangeClient/getLoans.js +++ b/examples/apidoc/CBExchangeClient/getLoans.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L453 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getNewLoanOptions.js b/examples/apidoc/CBExchangeClient/getNewLoanOptions.js index 03c41eb..3990c6c 100644 --- a/examples/apidoc/CBExchangeClient/getNewLoanOptions.js +++ b/examples/apidoc/CBExchangeClient/getNewLoanOptions.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/options // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L534 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getNewLoanPreview.js b/examples/apidoc/CBExchangeClient/getNewLoanPreview.js index d936b49..8057b58 100644 --- a/examples/apidoc/CBExchangeClient/getNewLoanPreview.js +++ b/examples/apidoc/CBExchangeClient/getNewLoanPreview.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/loan-preview // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L512 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getOrder.js b/examples/apidoc/CBExchangeClient/getOrder.js index 5676ac3..d17c08c 100644 --- a/examples/apidoc/CBExchangeClient/getOrder.js +++ b/examples/apidoc/CBExchangeClient/getOrder.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L425 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getOrders.js b/examples/apidoc/CBExchangeClient/getOrders.js index ddd1c43..19f31da 100644 --- a/examples/apidoc/CBExchangeClient/getOrders.js +++ b/examples/apidoc/CBExchangeClient/getOrders.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L393 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getPaymentMethods.js b/examples/apidoc/CBExchangeClient/getPaymentMethods.js index 4037b43..db75f74 100644 --- a/examples/apidoc/CBExchangeClient/getPaymentMethods.js +++ b/examples/apidoc/CBExchangeClient/getPaymentMethods.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /payment-methods // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L281 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getPrincipalRepaymentPreview.js b/examples/apidoc/CBExchangeClient/getPrincipalRepaymentPreview.js index 2f54e9b..4b3c2f7 100644 --- a/examples/apidoc/CBExchangeClient/getPrincipalRepaymentPreview.js +++ b/examples/apidoc/CBExchangeClient/getPrincipalRepaymentPreview.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/repayment-preview // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L562 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProduct.js b/examples/apidoc/CBExchangeClient/getProduct.js index 680fc6e..1b4c199 100644 --- a/examples/apidoc/CBExchangeClient/getProduct.js +++ b/examples/apidoc/CBExchangeClient/getProduct.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L612 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProductBook.js b/examples/apidoc/CBExchangeClient/getProductBook.js index 61825f5..71c3580 100644 --- a/examples/apidoc/CBExchangeClient/getProductBook.js +++ b/examples/apidoc/CBExchangeClient/getProductBook.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id}/book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L623 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProductCandles.js b/examples/apidoc/CBExchangeClient/getProductCandles.js index c7d1f34..7f6ffd1 100644 --- a/examples/apidoc/CBExchangeClient/getProductCandles.js +++ b/examples/apidoc/CBExchangeClient/getProductCandles.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id}/candles // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L634 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProductStats.js b/examples/apidoc/CBExchangeClient/getProductStats.js index 8b5817e..8dc6bf6 100644 --- a/examples/apidoc/CBExchangeClient/getProductStats.js +++ b/examples/apidoc/CBExchangeClient/getProductStats.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id}/stats // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L644 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProductTicker.js b/examples/apidoc/CBExchangeClient/getProductTicker.js index 4419496..4ed4544 100644 --- a/examples/apidoc/CBExchangeClient/getProductTicker.js +++ b/examples/apidoc/CBExchangeClient/getProductTicker.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id}/ticker // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L653 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProductTrades.js b/examples/apidoc/CBExchangeClient/getProductTrades.js index 18ef00f..311606e 100644 --- a/examples/apidoc/CBExchangeClient/getProductTrades.js +++ b/examples/apidoc/CBExchangeClient/getProductTrades.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /products/{product_id}/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L662 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProfileById.js b/examples/apidoc/CBExchangeClient/getProfileById.js index 3d204d1..98830ac 100644 --- a/examples/apidoc/CBExchangeClient/getProfileById.js +++ b/examples/apidoc/CBExchangeClient/getProfileById.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles/{profile_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L707 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getProfiles.js b/examples/apidoc/CBExchangeClient/getProfiles.js index 56074cf..e286aa2 100644 --- a/examples/apidoc/CBExchangeClient/getProfiles.js +++ b/examples/apidoc/CBExchangeClient/getProfiles.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L678 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getReport.js b/examples/apidoc/CBExchangeClient/getReport.js index c8a34fb..e17c8a9 100644 --- a/examples/apidoc/CBExchangeClient/getReport.js +++ b/examples/apidoc/CBExchangeClient/getReport.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /reports/{report_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L768 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getSignedPrices.js b/examples/apidoc/CBExchangeClient/getSignedPrices.js index 4b2e4d2..5888df6 100644 --- a/examples/apidoc/CBExchangeClient/getSignedPrices.js +++ b/examples/apidoc/CBExchangeClient/getSignedPrices.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /oracle // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L579 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getStakeWrap.js b/examples/apidoc/CBExchangeClient/getStakeWrap.js index 7021256..97945ac 100644 --- a/examples/apidoc/CBExchangeClient/getStakeWrap.js +++ b/examples/apidoc/CBExchangeClient/getStakeWrap.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets/stake-wrap/{stake_wrap_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L892 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getTransfer.js b/examples/apidoc/CBExchangeClient/getTransfer.js index 678951f..d5e491d 100644 --- a/examples/apidoc/CBExchangeClient/getTransfer.js +++ b/examples/apidoc/CBExchangeClient/getTransfer.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /transfers/{transfer_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L299 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getTransfers.js b/examples/apidoc/CBExchangeClient/getTransfers.js index 54a0a8a..8cef0fc 100644 --- a/examples/apidoc/CBExchangeClient/getTransfers.js +++ b/examples/apidoc/CBExchangeClient/getTransfers.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /transfers // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L290 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getTravelRuleInformation.js b/examples/apidoc/CBExchangeClient/getTravelRuleInformation.js index 0959228..1ea9690 100644 --- a/examples/apidoc/CBExchangeClient/getTravelRuleInformation.js +++ b/examples/apidoc/CBExchangeClient/getTravelRuleInformation.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /travel-rules // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L783 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getUserExchangeLimits.js b/examples/apidoc/CBExchangeClient/getUserExchangeLimits.js index 958b11a..b344332 100644 --- a/examples/apidoc/CBExchangeClient/getUserExchangeLimits.js +++ b/examples/apidoc/CBExchangeClient/getUserExchangeLimits.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /users/{user_id}/exchange-limits // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L822 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getUserTradingVolume.js b/examples/apidoc/CBExchangeClient/getUserTradingVolume.js index 2f9be3b..da6c69e 100644 --- a/examples/apidoc/CBExchangeClient/getUserTradingVolume.js +++ b/examples/apidoc/CBExchangeClient/getUserTradingVolume.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /users/{user_id}/trading-volumes // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L846 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getWrappedAssetConversionRate.js b/examples/apidoc/CBExchangeClient/getWrappedAssetConversionRate.js index c7aa29e..ad4adfb 100644 --- a/examples/apidoc/CBExchangeClient/getWrappedAssetConversionRate.js +++ b/examples/apidoc/CBExchangeClient/getWrappedAssetConversionRate.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets/{wrapped_asset_id}/conversion-rate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L912 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/getWrappedAssetDetails.js b/examples/apidoc/CBExchangeClient/getWrappedAssetDetails.js index 9b6e25c..ebc0592 100644 --- a/examples/apidoc/CBExchangeClient/getWrappedAssetDetails.js +++ b/examples/apidoc/CBExchangeClient/getWrappedAssetDetails.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /wrapped-assets/{wrapped_asset_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L903 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/renameProfile.js b/examples/apidoc/CBExchangeClient/renameProfile.js index 66268cb..b9a5f66 100644 --- a/examples/apidoc/CBExchangeClient/renameProfile.js +++ b/examples/apidoc/CBExchangeClient/renameProfile.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles/{profile_id} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L720 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/repayLoanInterest.js b/examples/apidoc/CBExchangeClient/repayLoanInterest.js index 23e85fd..cd7a246 100644 --- a/examples/apidoc/CBExchangeClient/repayLoanInterest.js +++ b/examples/apidoc/CBExchangeClient/repayLoanInterest.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/repay-interest // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L543 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/repayLoanPrincipal.js b/examples/apidoc/CBExchangeClient/repayLoanPrincipal.js index 072970a..b919aca 100644 --- a/examples/apidoc/CBExchangeClient/repayLoanPrincipal.js +++ b/examples/apidoc/CBExchangeClient/repayLoanPrincipal.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/repay-principal // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L552 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/submitNewLoan.js b/examples/apidoc/CBExchangeClient/submitNewLoan.js index 401c0c4..e94bcaf 100644 --- a/examples/apidoc/CBExchangeClient/submitNewLoan.js +++ b/examples/apidoc/CBExchangeClient/submitNewLoan.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /loans/open // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L525 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/submitOrder.js b/examples/apidoc/CBExchangeClient/submitOrder.js index 0b37f59..73b0225 100644 --- a/examples/apidoc/CBExchangeClient/submitOrder.js +++ b/examples/apidoc/CBExchangeClient/submitOrder.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L415 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/submitTravelInformation.js b/examples/apidoc/CBExchangeClient/submitTravelInformation.js index 0805769..bbf9226 100644 --- a/examples/apidoc/CBExchangeClient/submitTravelInformation.js +++ b/examples/apidoc/CBExchangeClient/submitTravelInformation.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /transfers/{transfer_id}/travel-rules // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L308 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/transferFundsBetweenProfiles.js b/examples/apidoc/CBExchangeClient/transferFundsBetweenProfiles.js index e82b65b..bf926cd 100644 --- a/examples/apidoc/CBExchangeClient/transferFundsBetweenProfiles.js +++ b/examples/apidoc/CBExchangeClient/transferFundsBetweenProfiles.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /profiles/transfer // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L696 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/updateSettlementPreference.js b/examples/apidoc/CBExchangeClient/updateSettlementPreference.js index 56ba656..5892e2b 100644 --- a/examples/apidoc/CBExchangeClient/updateSettlementPreference.js +++ b/examples/apidoc/CBExchangeClient/updateSettlementPreference.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /users/{user_id}/settlement-preferences // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L831 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/withdrawToCoinbaseAccount.js b/examples/apidoc/CBExchangeClient/withdrawToCoinbaseAccount.js index cadf662..2403e3c 100644 --- a/examples/apidoc/CBExchangeClient/withdrawToCoinbaseAccount.js +++ b/examples/apidoc/CBExchangeClient/withdrawToCoinbaseAccount.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /withdrawals/coinbase-account // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L322 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/withdrawToCryptoAddress.js b/examples/apidoc/CBExchangeClient/withdrawToCryptoAddress.js index b8af5de..9dadb4e 100644 --- a/examples/apidoc/CBExchangeClient/withdrawToCryptoAddress.js +++ b/examples/apidoc/CBExchangeClient/withdrawToCryptoAddress.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /withdrawals/crypto // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L331 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBExchangeClient/withdrawToPaymentMethod.js b/examples/apidoc/CBExchangeClient/withdrawToPaymentMethod.js index 4c95bbf..b4a6b1a 100644 --- a/examples/apidoc/CBExchangeClient/withdrawToPaymentMethod.js +++ b/examples/apidoc/CBExchangeClient/withdrawToPaymentMethod.js @@ -5,7 +5,6 @@ const { CBExchangeClient } = require('coinbase-api'); // ENDPOINT: /withdrawals/payment-method // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBExchangeClient.ts#L352 const client = new CBExchangeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/cancelOrder.js b/examples/apidoc/CBInternationalClient/cancelOrder.js index d8b2b35..8057a9d 100644 --- a/examples/apidoc/CBInternationalClient/cancelOrder.js +++ b/examples/apidoc/CBInternationalClient/cancelOrder.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders/{id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L219 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/cancelOrders.js b/examples/apidoc/CBInternationalClient/cancelOrders.js index 3532e63..fd2421c 100644 --- a/examples/apidoc/CBInternationalClient/cancelOrders.js +++ b/examples/apidoc/CBInternationalClient/cancelOrders.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L188 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/createCounterpartyId.js b/examples/apidoc/CBInternationalClient/createCounterpartyId.js index 220661e..e0ec2a8 100644 --- a/examples/apidoc/CBInternationalClient/createCounterpartyId.js +++ b/examples/apidoc/CBInternationalClient/createCounterpartyId.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/create-counterparty-id // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L510 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/createCryptoAddress.js b/examples/apidoc/CBInternationalClient/createCryptoAddress.js index f903cd6..7738a58 100644 --- a/examples/apidoc/CBInternationalClient/createCryptoAddress.js +++ b/examples/apidoc/CBInternationalClient/createCryptoAddress.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/address // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L497 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/createPortfolio.js b/examples/apidoc/CBInternationalClient/createPortfolio.js index 3665856..dfa369e 100644 --- a/examples/apidoc/CBInternationalClient/createPortfolio.js +++ b/examples/apidoc/CBInternationalClient/createPortfolio.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L246 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getAggregatedCandlesData.js b/examples/apidoc/CBInternationalClient/getAggregatedCandlesData.js index cf6b602..39b94dd 100644 --- a/examples/apidoc/CBInternationalClient/getAggregatedCandlesData.js +++ b/examples/apidoc/CBInternationalClient/getAggregatedCandlesData.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments/{instrument}/candles // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L123 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getAssetDetails.js b/examples/apidoc/CBInternationalClient/getAssetDetails.js index 0bed3a6..aebdac4 100644 --- a/examples/apidoc/CBInternationalClient/getAssetDetails.js +++ b/examples/apidoc/CBInternationalClient/getAssetDetails.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/assets/{asset} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L63 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getAssets.js b/examples/apidoc/CBInternationalClient/getAssets.js index 6df0072..016b27c 100644 --- a/examples/apidoc/CBInternationalClient/getAssets.js +++ b/examples/apidoc/CBInternationalClient/getAssets.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/assets // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L54 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getBalanceForPortfolioAsset.js b/examples/apidoc/CBInternationalClient/getBalanceForPortfolioAsset.js index 95c4250..61bc7a4 100644 --- a/examples/apidoc/CBInternationalClient/getBalanceForPortfolioAsset.js +++ b/examples/apidoc/CBInternationalClient/getBalanceForPortfolioAsset.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/balances/{asset} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L312 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getDailyTradingVolumes.js b/examples/apidoc/CBInternationalClient/getDailyTradingVolumes.js index 55ccf7a..b755d7b 100644 --- a/examples/apidoc/CBInternationalClient/getDailyTradingVolumes.js +++ b/examples/apidoc/CBInternationalClient/getDailyTradingVolumes.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments/volumes/daily // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L114 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getFeeRateTiers.js b/examples/apidoc/CBInternationalClient/getFeeRateTiers.js index 7fa6f45..547acad 100644 --- a/examples/apidoc/CBInternationalClient/getFeeRateTiers.js +++ b/examples/apidoc/CBInternationalClient/getFeeRateTiers.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/fee-rate-tiers // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L550 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getFillsByPortfolios.js b/examples/apidoc/CBInternationalClient/getFillsByPortfolios.js index 1f23983..230aeb7 100644 --- a/examples/apidoc/CBInternationalClient/getFillsByPortfolios.js +++ b/examples/apidoc/CBInternationalClient/getFillsByPortfolios.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/fills // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L349 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getHistoricalFundingRates.js b/examples/apidoc/CBInternationalClient/getHistoricalFundingRates.js index 1c43eec..cb03e80 100644 --- a/examples/apidoc/CBInternationalClient/getHistoricalFundingRates.js +++ b/examples/apidoc/CBInternationalClient/getHistoricalFundingRates.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments/{instrument}/funding // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L133 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getInstrumentDetails.js b/examples/apidoc/CBInternationalClient/getInstrumentDetails.js index 3f6995a..7a44ac4 100644 --- a/examples/apidoc/CBInternationalClient/getInstrumentDetails.js +++ b/examples/apidoc/CBInternationalClient/getInstrumentDetails.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments/{instrument} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L96 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getInstruments.js b/examples/apidoc/CBInternationalClient/getInstruments.js index 73a49be..fb429d5 100644 --- a/examples/apidoc/CBInternationalClient/getInstruments.js +++ b/examples/apidoc/CBInternationalClient/getInstruments.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L87 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getMatchingTransfers.js b/examples/apidoc/CBInternationalClient/getMatchingTransfers.js index 8b83d25..5ef2ec4 100644 --- a/examples/apidoc/CBInternationalClient/getMatchingTransfers.js +++ b/examples/apidoc/CBInternationalClient/getMatchingTransfers.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L468 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getOpenOrders.js b/examples/apidoc/CBInternationalClient/getOpenOrders.js index 0038225..b09e661 100644 --- a/examples/apidoc/CBInternationalClient/getOpenOrders.js +++ b/examples/apidoc/CBInternationalClient/getOpenOrders.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L179 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getOrderDetails.js b/examples/apidoc/CBInternationalClient/getOrderDetails.js index 021ee29..f195c9d 100644 --- a/examples/apidoc/CBInternationalClient/getOrderDetails.js +++ b/examples/apidoc/CBInternationalClient/getOrderDetails.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders/{id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L209 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioBalances.js b/examples/apidoc/CBInternationalClient/getPortfolioBalances.js index c63413f..ba6846a 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioBalances.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioBalances.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L303 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioDetails.js b/examples/apidoc/CBInternationalClient/getPortfolioDetails.js index 3206643..098164d 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioDetails.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioDetails.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/detail // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L285 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioFeeRates.js b/examples/apidoc/CBInternationalClient/getPortfolioFeeRates.js index a817986..f02fca2 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioFeeRates.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioFeeRates.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/fee-rates // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L435 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioFills.js b/examples/apidoc/CBInternationalClient/getPortfolioFills.js index 07c20d7..14685f9 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioFills.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioFills.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/fills // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L358 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioPositions.js b/examples/apidoc/CBInternationalClient/getPortfolioPositions.js index e47dafc..b36a7ca 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioPositions.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioPositions.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/positions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L326 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPortfolioSummary.js b/examples/apidoc/CBInternationalClient/getPortfolioSummary.js index 90f4b70..2a29aac 100644 --- a/examples/apidoc/CBInternationalClient/getPortfolioSummary.js +++ b/examples/apidoc/CBInternationalClient/getPortfolioSummary.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/summary // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L294 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPositionForPortfolioInstrument.js b/examples/apidoc/CBInternationalClient/getPositionForPortfolioInstrument.js index 1a1cf36..d2853da 100644 --- a/examples/apidoc/CBInternationalClient/getPositionForPortfolioInstrument.js +++ b/examples/apidoc/CBInternationalClient/getPositionForPortfolioInstrument.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/positions/{instrument} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L335 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getPositionOffsets.js b/examples/apidoc/CBInternationalClient/getPositionOffsets.js index 7de9d1b..24ec253 100644 --- a/examples/apidoc/CBInternationalClient/getPositionOffsets.js +++ b/examples/apidoc/CBInternationalClient/getPositionOffsets.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/position-offsets // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L153 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getQuotePerInstrument.js b/examples/apidoc/CBInternationalClient/getQuotePerInstrument.js index aa41d80..21d355d 100644 --- a/examples/apidoc/CBInternationalClient/getQuotePerInstrument.js +++ b/examples/apidoc/CBInternationalClient/getQuotePerInstrument.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/instruments/{instrument}/quote // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L105 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getRankings.js b/examples/apidoc/CBInternationalClient/getRankings.js index 62b5b1a..940c57b 100644 --- a/examples/apidoc/CBInternationalClient/getRankings.js +++ b/examples/apidoc/CBInternationalClient/getRankings.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/rankings/statistics // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L449 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getSupportedNetworksPerAsset.js b/examples/apidoc/CBInternationalClient/getSupportedNetworksPerAsset.js index fb5474f..4d13115 100644 --- a/examples/apidoc/CBInternationalClient/getSupportedNetworksPerAsset.js +++ b/examples/apidoc/CBInternationalClient/getSupportedNetworksPerAsset.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/assets/{asset}/networks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L72 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getTransfer.js b/examples/apidoc/CBInternationalClient/getTransfer.js index 4a5bc7f..75bc1d6 100644 --- a/examples/apidoc/CBInternationalClient/getTransfer.js +++ b/examples/apidoc/CBInternationalClient/getTransfer.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/{transfer_uuid} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L477 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getUserPortfolio.js b/examples/apidoc/CBInternationalClient/getUserPortfolio.js index 22814c4..fff2a15 100644 --- a/examples/apidoc/CBInternationalClient/getUserPortfolio.js +++ b/examples/apidoc/CBInternationalClient/getUserPortfolio.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L266 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/getUserPortfolios.js b/examples/apidoc/CBInternationalClient/getUserPortfolios.js index 01146f1..80aeb5d 100644 --- a/examples/apidoc/CBInternationalClient/getUserPortfolios.js +++ b/examples/apidoc/CBInternationalClient/getUserPortfolios.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L237 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/setAutoMargin.js b/examples/apidoc/CBInternationalClient/setAutoMargin.js index 61d4e60..33d767f 100644 --- a/examples/apidoc/CBInternationalClient/setAutoMargin.js +++ b/examples/apidoc/CBInternationalClient/setAutoMargin.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/auto-margin-enabled // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L385 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/setCrossCollateral.js b/examples/apidoc/CBInternationalClient/setCrossCollateral.js index ee49f34..956cee1 100644 --- a/examples/apidoc/CBInternationalClient/setCrossCollateral.js +++ b/examples/apidoc/CBInternationalClient/setCrossCollateral.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio}/cross-collateral-enabled // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L368 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/setPortfolioMarginOverride.js b/examples/apidoc/CBInternationalClient/setPortfolioMarginOverride.js index 6eb01a7..5975cfc 100644 --- a/examples/apidoc/CBInternationalClient/setPortfolioMarginOverride.js +++ b/examples/apidoc/CBInternationalClient/setPortfolioMarginOverride.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/margin // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L398 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/submitOrder.js b/examples/apidoc/CBInternationalClient/submitOrder.js index c422ac5..2a6050e 100644 --- a/examples/apidoc/CBInternationalClient/submitOrder.js +++ b/examples/apidoc/CBInternationalClient/submitOrder.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L168 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/transferFundsBetweenPortfolios.js b/examples/apidoc/CBInternationalClient/transferFundsBetweenPortfolios.js index 5e76d6a..18c7b5e 100644 --- a/examples/apidoc/CBInternationalClient/transferFundsBetweenPortfolios.js +++ b/examples/apidoc/CBInternationalClient/transferFundsBetweenPortfolios.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/transfer // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L410 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/transferPositionsBetweenPortfolios.js b/examples/apidoc/CBInternationalClient/transferPositionsBetweenPortfolios.js index 176b85b..c39305b 100644 --- a/examples/apidoc/CBInternationalClient/transferPositionsBetweenPortfolios.js +++ b/examples/apidoc/CBInternationalClient/transferPositionsBetweenPortfolios.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/transfer-position // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L422 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/updateOpenOrder.js b/examples/apidoc/CBInternationalClient/updateOpenOrder.js index 5f2fdcb..f2a753b 100644 --- a/examples/apidoc/CBInternationalClient/updateOpenOrder.js +++ b/examples/apidoc/CBInternationalClient/updateOpenOrder.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/orders/{id} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L199 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/updatePortfolio.js b/examples/apidoc/CBInternationalClient/updatePortfolio.js index bdd1a4b..f952430 100644 --- a/examples/apidoc/CBInternationalClient/updatePortfolio.js +++ b/examples/apidoc/CBInternationalClient/updatePortfolio.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios/{portfolio} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L275 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/updatePortfolioParameters.js b/examples/apidoc/CBInternationalClient/updatePortfolioParameters.js index 06592cf..52e4386 100644 --- a/examples/apidoc/CBInternationalClient/updatePortfolioParameters.js +++ b/examples/apidoc/CBInternationalClient/updatePortfolioParameters.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/portfolios // METHOD: PATCH // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L255 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/validateCounterpartyId.js b/examples/apidoc/CBInternationalClient/validateCounterpartyId.js index 90d7433..8412808 100644 --- a/examples/apidoc/CBInternationalClient/validateCounterpartyId.js +++ b/examples/apidoc/CBInternationalClient/validateCounterpartyId.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/validate-counterparty-id // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L521 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/withdrawToCounterpartyId.js b/examples/apidoc/CBInternationalClient/withdrawToCounterpartyId.js index 7252fa7..de2aadd 100644 --- a/examples/apidoc/CBInternationalClient/withdrawToCounterpartyId.js +++ b/examples/apidoc/CBInternationalClient/withdrawToCounterpartyId.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/withdraw/counterparty // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L532 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBInternationalClient/withdrawToCryptoAddress.js b/examples/apidoc/CBInternationalClient/withdrawToCryptoAddress.js index 8b1428c..7a3f2bd 100644 --- a/examples/apidoc/CBInternationalClient/withdrawToCryptoAddress.js +++ b/examples/apidoc/CBInternationalClient/withdrawToCryptoAddress.js @@ -5,7 +5,6 @@ const { CBInternationalClient } = require('coinbase-api'); // ENDPOINT: /api/v1/transfers/withdraw // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBInternationalClient.ts#L486 const client = new CBInternationalClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/cancelOrder.js b/examples/apidoc/CBPrimeClient/cancelOrder.js index 71d8e26..45e2043 100644 --- a/examples/apidoc/CBPrimeClient/cancelOrder.js +++ b/examples/apidoc/CBPrimeClient/cancelOrder.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/orders/{order_id}/cancel // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L443 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createAddressBookEntry.js b/examples/apidoc/CBPrimeClient/createAddressBookEntry.js index fdcddab..e8c0bbc 100644 --- a/examples/apidoc/CBPrimeClient/createAddressBookEntry.js +++ b/examples/apidoc/CBPrimeClient/createAddressBookEntry.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/address_book // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L300 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createConversion.js b/examples/apidoc/CBPrimeClient/createConversion.js index d5ae24e..5a78d5f 100644 --- a/examples/apidoc/CBPrimeClient/createConversion.js +++ b/examples/apidoc/CBPrimeClient/createConversion.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/conversion // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L523 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createPortfolioAllocations.js b/examples/apidoc/CBPrimeClient/createPortfolioAllocations.js index ff48e97..777a184 100644 --- a/examples/apidoc/CBPrimeClient/createPortfolioAllocations.js +++ b/examples/apidoc/CBPrimeClient/createPortfolioAllocations.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/allocations // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L64 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createPortfolioNetAllocations.js b/examples/apidoc/CBPrimeClient/createPortfolioNetAllocations.js index 56e2144..6f5a407 100644 --- a/examples/apidoc/CBPrimeClient/createPortfolioNetAllocations.js +++ b/examples/apidoc/CBPrimeClient/createPortfolioNetAllocations.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/allocations/net // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L75 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createTransfer.js b/examples/apidoc/CBPrimeClient/createTransfer.js index 834465f..0076809 100644 --- a/examples/apidoc/CBPrimeClient/createTransfer.js +++ b/examples/apidoc/CBPrimeClient/createTransfer.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/transfers // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L551 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createWallet.js b/examples/apidoc/CBPrimeClient/createWallet.js index c18d05f..79b8ca0 100644 --- a/examples/apidoc/CBPrimeClient/createWallet.js +++ b/examples/apidoc/CBPrimeClient/createWallet.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L593 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/createWithdrawal.js b/examples/apidoc/CBPrimeClient/createWithdrawal.js index 2547130..4beb752 100644 --- a/examples/apidoc/CBPrimeClient/createWithdrawal.js +++ b/examples/apidoc/CBPrimeClient/createWithdrawal.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/withdrawals // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L564 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getActivities.js b/examples/apidoc/CBPrimeClient/getActivities.js index 7524bf6..db3afd5 100644 --- a/examples/apidoc/CBPrimeClient/getActivities.js +++ b/examples/apidoc/CBPrimeClient/getActivities.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/activities // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L256 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getActivityById.js b/examples/apidoc/CBPrimeClient/getActivityById.js index 9939422..d9afc84 100644 --- a/examples/apidoc/CBPrimeClient/getActivityById.js +++ b/examples/apidoc/CBPrimeClient/getActivityById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/activities/{activity_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L266 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getAddressBook.js b/examples/apidoc/CBPrimeClient/getAddressBook.js index a83b1e7..764d692 100644 --- a/examples/apidoc/CBPrimeClient/getAddressBook.js +++ b/examples/apidoc/CBPrimeClient/getAddressBook.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/address_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L287 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getAllocationById.js b/examples/apidoc/CBPrimeClient/getAllocationById.js index 12727ec..ddcbd82 100644 --- a/examples/apidoc/CBPrimeClient/getAllocationById.js +++ b/examples/apidoc/CBPrimeClient/getAllocationById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/allocations/{allocation_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L98 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getAssets.js b/examples/apidoc/CBPrimeClient/getAssets.js index 6c62426..ecf6ef5 100644 --- a/examples/apidoc/CBPrimeClient/getAssets.js +++ b/examples/apidoc/CBPrimeClient/getAssets.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/entities/{entity_id}/assets // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L150 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getEntityPaymentMethod.js b/examples/apidoc/CBPrimeClient/getEntityPaymentMethod.js index 546b57c..d90f355 100644 --- a/examples/apidoc/CBPrimeClient/getEntityPaymentMethod.js +++ b/examples/apidoc/CBPrimeClient/getEntityPaymentMethod.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/entities/{entity_id}/payment-methods/{payment_method_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L174 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getEntityPaymentMethods.js b/examples/apidoc/CBPrimeClient/getEntityPaymentMethods.js index cc35ff6..c74a72b 100644 --- a/examples/apidoc/CBPrimeClient/getEntityPaymentMethods.js +++ b/examples/apidoc/CBPrimeClient/getEntityPaymentMethods.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/entities/{entity_id}/payment-methods // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L165 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getInvoices.js b/examples/apidoc/CBPrimeClient/getInvoices.js index 51106c1..d52aa8c 100644 --- a/examples/apidoc/CBPrimeClient/getInvoices.js +++ b/examples/apidoc/CBPrimeClient/getInvoices.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/entities/{entity_id}/invoices // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L134 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getNetAllocationsByNettingId.js b/examples/apidoc/CBPrimeClient/getNetAllocationsByNettingId.js index 34600e4..ffec76b 100644 --- a/examples/apidoc/CBPrimeClient/getNetAllocationsByNettingId.js +++ b/examples/apidoc/CBPrimeClient/getNetAllocationsByNettingId.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/allocations/net/{netting_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L113 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getOpenOrders.js b/examples/apidoc/CBPrimeClient/getOpenOrders.js index 6349cda..733bca6 100644 --- a/examples/apidoc/CBPrimeClient/getOpenOrders.js +++ b/examples/apidoc/CBPrimeClient/getOpenOrders.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/open_orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L385 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getOrderById.js b/examples/apidoc/CBPrimeClient/getOrderById.js index 37bbaef..baa1dd6 100644 --- a/examples/apidoc/CBPrimeClient/getOrderById.js +++ b/examples/apidoc/CBPrimeClient/getOrderById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L430 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getOrderFills.js b/examples/apidoc/CBPrimeClient/getOrderFills.js index dbdd88a..d87ed6c 100644 --- a/examples/apidoc/CBPrimeClient/getOrderFills.js +++ b/examples/apidoc/CBPrimeClient/getOrderFills.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/orders/{order_id}/fills // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L458 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getOrderPreview.js b/examples/apidoc/CBPrimeClient/getOrderPreview.js index 5449995..58249d5 100644 --- a/examples/apidoc/CBPrimeClient/getOrderPreview.js +++ b/examples/apidoc/CBPrimeClient/getOrderPreview.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/order_preview // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L408 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioAllocations.js b/examples/apidoc/CBPrimeClient/getPortfolioAllocations.js index f6397d6..a933b0c 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioAllocations.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioAllocations.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/allocations // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L86 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioBalances.js b/examples/apidoc/CBPrimeClient/getPortfolioBalances.js index 7b4e685..8dacefe 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioBalances.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioBalances.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L320 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioById.js b/examples/apidoc/CBPrimeClient/getPortfolioById.js index 6c4acc2..0904b31 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioById.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L230 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioCommission.js b/examples/apidoc/CBPrimeClient/getPortfolioCommission.js index cc194be..e930450 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioCommission.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioCommission.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/commission // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L370 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioCreditInformation.js b/examples/apidoc/CBPrimeClient/getPortfolioCreditInformation.js index d9a61ee..45658a6 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioCreditInformation.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioCreditInformation.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/credit // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L239 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioOrders.js b/examples/apidoc/CBPrimeClient/getPortfolioOrders.js index 0c6e7b5..d44d307 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioOrders.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioOrders.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L420 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioProducts.js b/examples/apidoc/CBPrimeClient/getPortfolioProducts.js index 2059b08..2ebf730 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioProducts.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioProducts.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/products // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L477 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioTransactions.js b/examples/apidoc/CBPrimeClient/getPortfolioTransactions.js index 9ffd148..6130d30 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioTransactions.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioTransactions.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/transactions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L493 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioUsers.js b/examples/apidoc/CBPrimeClient/getPortfolioUsers.js index 950282b..65baa99 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioUsers.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioUsers.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/users // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L205 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolioWallets.js b/examples/apidoc/CBPrimeClient/getPortfolioWallets.js index edc32ec..55e3794 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolioWallets.js +++ b/examples/apidoc/CBPrimeClient/getPortfolioWallets.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L583 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getPortfolios.js b/examples/apidoc/CBPrimeClient/getPortfolios.js index 544e4d5..d71f6a2 100644 --- a/examples/apidoc/CBPrimeClient/getPortfolios.js +++ b/examples/apidoc/CBPrimeClient/getPortfolios.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L221 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getTransactionById.js b/examples/apidoc/CBPrimeClient/getTransactionById.js index 06d8de2..f151cf1 100644 --- a/examples/apidoc/CBPrimeClient/getTransactionById.js +++ b/examples/apidoc/CBPrimeClient/getTransactionById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/transactions/{transaction_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L508 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getUsers.js b/examples/apidoc/CBPrimeClient/getUsers.js index 3a71c20..a805fae 100644 --- a/examples/apidoc/CBPrimeClient/getUsers.js +++ b/examples/apidoc/CBPrimeClient/getUsers.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/entities/{entity_id}/users // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L195 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getWalletBalance.js b/examples/apidoc/CBPrimeClient/getWalletBalance.js index 7251cb5..a70de69 100644 --- a/examples/apidoc/CBPrimeClient/getWalletBalance.js +++ b/examples/apidoc/CBPrimeClient/getWalletBalance.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/balance // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L334 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getWalletById.js b/examples/apidoc/CBPrimeClient/getWalletById.js index 9c99f95..e6fb66a 100644 --- a/examples/apidoc/CBPrimeClient/getWalletById.js +++ b/examples/apidoc/CBPrimeClient/getWalletById.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L605 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getWalletDepositInstructions.js b/examples/apidoc/CBPrimeClient/getWalletDepositInstructions.js index 7eeff13..6c7ccf5 100644 --- a/examples/apidoc/CBPrimeClient/getWalletDepositInstructions.js +++ b/examples/apidoc/CBPrimeClient/getWalletDepositInstructions.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/deposit_instructions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L620 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getWalletTransactions.js b/examples/apidoc/CBPrimeClient/getWalletTransactions.js index 0d6555b..c1e6e73 100644 --- a/examples/apidoc/CBPrimeClient/getWalletTransactions.js +++ b/examples/apidoc/CBPrimeClient/getWalletTransactions.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/transactions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L536 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/getWeb3WalletBalances.js b/examples/apidoc/CBPrimeClient/getWeb3WalletBalances.js index 4375dfb..200da3e 100644 --- a/examples/apidoc/CBPrimeClient/getWeb3WalletBalances.js +++ b/examples/apidoc/CBPrimeClient/getWeb3WalletBalances.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/wallets/{wallet_id}/web3_balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L349 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/CBPrimeClient/submitOrder.js b/examples/apidoc/CBPrimeClient/submitOrder.js index 3bc1317..b4c3c47 100644 --- a/examples/apidoc/CBPrimeClient/submitOrder.js +++ b/examples/apidoc/CBPrimeClient/submitOrder.js @@ -5,7 +5,6 @@ const { CBPrimeClient } = require('coinbase-api'); // ENDPOINT: /v1/portfolios/{portfolio_id}/order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/coinbase-api/blob/master/src/CBPrimeClient.ts#L395 const client = new CBPrimeClient({ apiKey: 'insert_api_key_here', diff --git a/package-lock.json b/package-lock.json index a9aec8d..3a04dac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coinbase-api", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coinbase-api", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "axios": "^1.7.4", diff --git a/package.json b/package.json index 52e8d2a..e557d96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coinbase-api", - "version": "1.0.1", + "version": "1.0.2", "description": "Node.js SDK for Coinbase's REST APIs and WebSockets, with TypeScript & strong end to end tests.", "scripts": { "clean": "rm -rf dist", diff --git a/src/CBAdvancedTradeClient.ts b/src/CBAdvancedTradeClient.ts index 918f2b9..2ce98ef 100644 --- a/src/CBAdvancedTradeClient.ts +++ b/src/CBAdvancedTradeClient.ts @@ -67,6 +67,69 @@ export class CBAdvancedTradeClient extends BaseRestClient { return this; } + /** + * + * Custom SDK functions + * + */ + + /** + * This method is used to get the latency and time sync between the client and the server. + * This is not official API endpoint and is only used for internal testing purposes. + * Use this method to check the latency and time sync between the client and the server. + * Final values might vary slightly, but it should be within few ms difference. + * If you have any suggestions or improvements to this measurement, please create an issue or pull request on GitHub. + */ + async fetchLatencySummary(): Promise { + const clientTimeReqStart = Date.now(); + const serverTime = await this.getServerTime(); + const clientTimeReqEnd = Date.now(); + console.log('serverTime', serverTime); + + const serverTimeMs = Number(serverTime.epochMillis); + const roundTripTime = clientTimeReqEnd - clientTimeReqStart; + const estimatedOneWayLatency = Math.floor(roundTripTime / 2); + + // Adjust server time by adding estimated one-way latency + const adjustedServerTime = serverTimeMs + estimatedOneWayLatency; + + // Calculate time difference between adjusted server time and local time + const timeDifference = adjustedServerTime - clientTimeReqEnd; + + const result = { + localTime: clientTimeReqEnd, + serverTime: serverTimeMs, + roundTripTime, + estimatedOneWayLatency, + adjustedServerTime, + timeDifference, + }; + + console.log('Time synchronization results:'); + console.log(result); + + console.log( + `Your approximate latency to exchange server: + One way: ${estimatedOneWayLatency}ms. + Round trip: ${roundTripTime}ms. + `, + ); + + if (timeDifference > 500) { + console.warn( + `WARNING! Time difference between server and client clock is greater than 500ms. It is currently ${timeDifference}ms. + Consider adjusting your system clock to avoid unwanted clock sync errors! + Visit https://github.com/tiagosiebler/awesome-crypto-examples/wiki/Timestamp-for-this-request-is-outside-of-the-recvWindow for more information`, + ); + } else { + console.log( + `Time difference between server and client clock is within acceptable range of 500ms. It is currently ${timeDifference}ms.`, + ); + } + + return result; + } + getClientType(): RestClientType { return REST_CLIENT_TYPE_ENUM.advancedTrade; } @@ -732,8 +795,8 @@ export class CBAdvancedTradeClient extends BaseRestClient { getServerTime(): Promise<{ iso: string; - epochSeconds: number; - epochMillis: number; + epochSeconds: string; + epochMillis: string; }> { return this.get(`/api/v3/brokerage/time`); }