1
- # Coinbase Exchange
1
+ # DEPRECATED
2
+
3
+ This package has been deprecated and will receive any further updates.
4
+
5
+ Please use the new official client [ gdax-node] ( https://github.com/coinbase/gdax-node ) .
6
+
7
+ # Coinbase Exchange
2
8
The official Node.js library for the [ GDAX
3
9
API] ( https://docs.gdax.com/ ) (formerly Coinbase Exchange).
4
10
@@ -210,7 +216,7 @@ authedClient.cancelOrders(callback);
210
216
// `cancelAllOrders` will handle making these requests for you asyncronously.
211
217
// Also you can add a product_id param to only delete orders of that product
212
218
213
- // The response will be the response of the last call and the data will
219
+ // The response will be the response of the last call and the data will
214
220
// have the order ID's of all your deleted orders
215
221
authedClient .cancelAllOrders ({product_id: ' BTC-USD' }, callback);
216
222
```
@@ -265,8 +271,13 @@ authedClient.withdraw(withdrawParamsBTC, callback);
265
271
```
266
272
267
273
### Websocket client
268
- The ` WebsocketClient ` allows you to connect and listen to the
269
- [ exchange websocket messages] ( https://docs.gdax.com/#messages ) .
274
+ <<<<<<< e614fa20dfbc8ce07ff909ddfd96e559f8925ffd
275
+ The ` WebsocketClient ` allows you to connect and listen to the
276
+ [ exchange websocket messages] ( https://docs.gdax.com/#messages ) .
277
+ =======
278
+ The ` WebsocketClient ` allows you to connect and listen to the
279
+ [ exchange websocket messages] ( https://docs.exchange.coinbase.com/#messages ) .
280
+ >>>>>>> Add deprecation notice
270
281
``` javascript
271
282
var CoinbaseExchange = require (' coinbase-exchange' );
272
283
var websocket = new CoinbaseExchange.WebsocketClient ();
@@ -277,7 +288,7 @@ The following events can be emitted from the `WebsocketClient`:
277
288
* ` message `
278
289
* ` close `
279
290
280
- ### Orderbook
291
+ ### Orderbook
281
292
` Orderbook ` is a data structure that can be used to store a local copy of the orderbook.
282
293
``` javascript
283
294
var CoinbaseExchange = require (' coinbase-exchange' );
0 commit comments