Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
GDAX deprecation: switch Websocket feed to Coinbase Pro URL.
Browse files Browse the repository at this point in the history
See https://docs.pro.coinbase.com/#websocket-feed for the URL.

$ perl -w -p -i -e 's#wss://ws-feed\.gdax\.com#wss://ws-feed.pro.coinbase.com#g' * */* */*/*
  • Loading branch information
blair authored and fb55 committed Nov 3, 2018
1 parent 39f1a92 commit 8b14262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/clients/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { signRequest } = require('../../lib/request_signer');
class WebsocketClient extends EventEmitter {
constructor(
productIDs,
websocketURI = 'wss://ws-feed.gdax.com',
websocketURI = 'wss://ws-feed.pro.coinbase.com',
auth = null,
{ channels = null } = {}
) {
Expand Down
2 changes: 1 addition & 1 deletion lib/orderbook_sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class OrderbookSync extends WebsocketClient {
constructor(
productIDs,
apiURI = 'https://api.pro.coinbase.com',
websocketURI = 'wss://ws-feed.gdax.com',
websocketURI = 'wss://ws-feed.pro.coinbase.com',
auth = null
) {
super(productIDs, websocketURI, auth);
Expand Down

0 comments on commit 8b14262

Please sign in to comment.