Initializes a new Bittrex API client.
The personal account API key.
The personal account API secret.
The personal account's API key.
The personal account's API secret.
Interface to the "public/buylimit" Bittrex's API operation.
The market on which we would like to buy.
The quantity that we would like to buy.
The price at which we would like to buy.
Either a promise of the placed order's identifier, or the placed order's identifier if using the await construct.
Interface to the "public/cancelorder" Bittrex's API operation.
The ID of the order we would like to cancel.
True if the operation resulted in a success, throws otherwise.
Interface to the "public/getbalance" Bittrex's API operation.
The currency of which we would like to retrieve the balance.
Either a promise of a balance, or a balance if using the await construct.
Interface to the "public/getbalances" Bittrex's API operation.
Either a promise of a balance array, or a balance array if using the await construct.
Interface to the "public/getcurrencies" Bittrex's API operation.
Either a promise of a currency array, or a currency array if using the await construct.
Interface to the "public/getdepositaddress" Bittrex's API operation.
The currency of which we would like to retrieve the deposit address.
Either a promise of a deposit address, or a deposit address if using the await construct.
Interface to the Bittrex's API websockets system.
The markets of which we would like to receive constant updates.
A callback function invoked as soon as new updates about the watched markets are received from Bittrex.
Interface to the "public/getmarkethistory" Bittrex's API operation.
The market of which we would like to retrieve the market history.
Either a promise of a trade array, or a trade array if using the await construct.
Interface to the "public/getmarketsummaries" Bittrex's API operation.
Either a promise of a market summary array, or a market summary array if using the await construct.
Interface to the "public/getmarketsummary" Bittrex's API operation.
The market of which we would like to retrieve the summary.
Either a promise of a market summary, or a market summary if using the await construct.
Interface to the "public/getmarkets" Bittrex's API operation.
Either a promise of a market, or a market if using the await construct.
Interface to the "public/getopenorders" Bittrex's API operation.
The market of which we would like to retrieve the open orders.
Either a promise of an open order array, or an open order array if using the await construct.
Interface to the "public/getorder" Bittrex's API operation.
The uuid of the order of which we would like to get the detail.
Either a promise of an order, or an order if using the await construct.
Interface to the "public/getorderbook" Bittrex's API operation.
The market of which we would like to retrieve the order book.
The type of the order book that we want to retrieve, depending on if we want only the buys, sells, or both.
Either a promise of an order book, or an order book if using the await construct.
Interface to the "public/getticker" Bittrex's API operation.
The market of which we would like to retrieve the ticker.
Either a promise of a ticker, or a ticker if using the await construct.
Utility method that sends a request to the Bittrex's API, handling the authentication through the API key and API secret possibly given when instantiating the client itself.
The Bittrex's API operation that we would like to call.
The parameters which the operation takes in.
Either the promise of the Bittrex's API JSON response, or the JSON response if using the await construct.
Interface to the "public/selllimit" Bittrex's API operation.
The market on which we would like to sell.
The quantity that we would like to sell.
The price at which we would like to sell.
Either a promise of the placed order's identifier, or the placed order's identifier if using the await construct.
Interface to the "public/getdepositaddress" Bittrex's API operation.
The currency which we would like to withdraw.
The quantity which we would like to withdraw.
The address to which we would like to withdraw.
Optional parameter used for CryptoNotes/BitShareX/Nxt.
Either a promise of a withdrawal ID, or a withdrawal ID if using the await construct.
Generated using TypeDoc
Represents a single Bittrex API client.