Nov 24, · Deposits and withdrawals are now reopening on BTC Markets. Bitcoin Cash (BCH) will undergo a contentious hard fork on the 15 th of November There are two rival forks proposed, Bitcoin Cash ABC (BCHABC) and Bitcoin Cash Node (BCHN), with disagreement in the community about which to support. Consequently, the outcome of the fork is uncertain. Jun 26, · This repository provides documentation for BTC Markets' API. For more information please refer to the wiki area. Introduction. Authentication. Trading updated 03/15/ Market data updated 7/24/ Account management updated 3/14/ Fund Transfer updated 08/06/ FAQ. WebSocket feed. WebSocket v2. WebSocket v1 - deprecated. Sample Codes. Contribute to BTCMarkets/api-client-node development by creating an account on GitHub.
Btc-markets nodeGitHub - BTCMarkets/btcmarkets-node-sdk: cryptodayly.de SDK for BTC Markets - cryptodayly.de
Returns list of assets covering balance, available, and locked amount for each asset due to open orders or pending withdrawals. A transfer record refers either to a deposit or withdraw and this API returns list of transfers covering both depoists and withdrawals. This API supports pagination. Returns fees associated with withdrawals.
This API is public and does not require authentication as the fees as system wide and published on the website. Retrieves list of bids and asks for a given market. Each market order is represented as an array of string [price, volume].
The attribute, snapshotId, is a uniqueue number associated to orderbook and it changes every time orderbook changes. It retrieves orderbooks for a given list of marketIds provided via query string e. To gain better performance, restrict the number of marketIds to the items needed for your trading app instead of requesting all markets.
Therefore, it's recommended to call this API with lower frequency as the data size can be large and also cached. Retrieves array of candles for a given market. Each candle record is an array of string representing [time,open,high,low,close,volume] for the time window specified default time window is 1 day.
Pagination parameters can't be combined with timestamp parameters and default behavior is pagination when no query param is specified. When using timestamp parameters as query string, the maximum number of items that can be retrieved is , and depending on the specified timeWindow this can be different time windows. The default behavior, when no query parameter is specified, is to return your most recent trades for all orders and markets.
When a valid order id is provided then all trades for the order is returned. Mixing orderId and marketId parameters is not supported. Returns an array of historical orders or open orders only. All query string parametesr are optional so by default and when no query parameter is provided, this API retrieves open orders only for all markets. Cancels a single order. Use this API to place multiple new orders or cancel existing ones via a single request.
Batch operations are only containers for multiple requests, so each individual request is handled separately from the rest of the requests in the batch. Once all items in the batch are processed then a single response containing orders added and orders cancalled is returned along with an attribute called unprocessedRequests that is an array of any item in the batch thet can't be processed.
Note that you must provide clientOrderId when placing orders in batch. This allows items inside a batch request to be tracked and processed accurately. When cancelling orders, you can either use orderId or clientOrderId within the request. On average report generation takes about 20 seconds so please allow at least 10 seconds and recommended 30 seconds before attempting to get detail of the report after requesting it via the previous API.
Trying too quickly to get detail a newly created report will result in http response. A successful response of this API contains a link that you can use to download the report content. The attribute contentUrl inside the response is a link to download the report content in either json or csv format. Please note that report content files are only available for download for up to 30 minutes after creation time.
Sending subscribe message allows you to start receiving events for the specified channels and marketIds. Launching Xcode If nothing happens, download Xcode and try again. Latest commit. Git stats 52 commits. Failed to load latest commit information. Jun 26, View code. We encourage using our latest API for any new trading projects. For more information please refer to the wiki area.
Releases No releases published. Packages 0 No packages published. Contributors 9. You signed in with another tab or window.