Skip to content

Commit

Permalink
Merge pull request #56 from JJ-Cro/latencyCheck
Browse files Browse the repository at this point in the history
feat(): added latency check, removed examples link, fixed type for getServerTime
  • Loading branch information
tiagosiebler authored Oct 22, 2024
2 parents 5ce1690 + 36f6431 commit 7087cd5
Show file tree
Hide file tree
Showing 247 changed files with 119 additions and 318 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ testfile-cbexch.ts
restClientRegex.ts
privaterepotracker.txt
examples/_TiagoTests
testfile.ts
101 changes: 50 additions & 51 deletions docs/endpointFunctionList.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/allocatePortfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/cancelOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/closePosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/createPortfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/deletePortfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getAccounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getBestBidAsk.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getConvertTrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getFills.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getFuturesSweeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getMarketTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getPaymentMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getPaymentMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getPortfolios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getProductBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getProductCandles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getProducts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getPublicProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/getPublicProducts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
21 changes: 0 additions & 21 deletions examples/apidoc/CBAdvancedTradeClient/getServerTime.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/previewOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CBAdvancedTradeClient/submitOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading

0 comments on commit 7087cd5

Please sign in to comment.