The official Knot.js library for the GDAX API (formerly Coinbase Exchange).

The official Node.js library for the GDAX API (formerly Coinbase Exchange).

The official Knot.js library for the GDAX API (formerly Coinbase Exchange).

Note: this library may be subtly violated or buggy. The code is released under the MIT License – please take the following message to heart:

THE SOFTWARE IS PROVIDED &quot,Spil IS&quot,, WITHOUT WARRANTY OF ANY Kleintje, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. Te NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY Voorkoop, DAMAGES OR OTHER LIABILITY, WHETHER Te AN Activity OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR Te CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS Ter THE SOFTWARE.

  • Effortless programmatic trading.
  • A customizable, websocket-synced Order Book implementation.
  • API clients with convenient methods for every API endpoint.
  • Abstracted interfaces – don’t worry about HMAC signing or JSON formatting, the library does it for you.
  • Semantic versioning.

The GDAX API has both public and private endpoints. If you’re only interested ter the public endpoints, you should use a PublicClient .

  • productID is OPTIONAL: defaults to ‘BTC-USD’ if not specified.
  • endpoint is OPTIONAL: defaults to https://api.gdax.com if not specified.

All API methods are callback based. Your callback should accept three arguments:

This callback will be passed directly to the underlying request library’s request method. err will be either null or an Error . response will be a generic HTTP response abstraction created by the request library. gegevens will be the result of JSON-decoding the server’s response, or null if the response wasgoed not parseable. You can learn about the API responses of each endpoint by reading our documentation.

  • getProductTradeStream Wraps around getProductTrades , fetches all trades with IDs &gt,= tradesFrom and &lt,= tradesTo . Treats pagination and rate boundaries.

The private exchange API endpoints require you to authenticate with an API key. You can create a fresh API key te your exchange account’s settings. You can also specify the API uri.

Like the PublicClient , all API methods are callback based. The callback should be ter the same format:

The AuthenticatedClient inherits all of the API methods defined by the PublicClient , so if you’re hitting both public and private API endpoints you only need to create a single client.

Related movie: How to Buy/Sell Bitcoin, Ethereum, and Litecoin Without Any Fees or Commission


You may also like...

3 Responses

  1. natashalovesdavid says:

    Coinbase said they would be issuing the fresh bitcoin cashes for those who held bitcoin at the time of the fork.

  2. k12345 says:

    Your BCH is now ter your Coin Pulvínulo account, and if they did it for safety like they say I’m fine with it. Now that the Largest Brokerage is supporting BCH wij will see a big dump ? or a slow Pump ?

  3. CPAmommy says:

    Yes, I will do a celebratory dance te pui of the idiots who repeated the same misinformation on this thread. Again, simply because a financial company warns people ahead of time of potential misconduct does not eliminate the liability.

Leave a Reply

Your email address will not be published. Required fields are marked *