Public APIs open access to public information from all exchange markets without registering user accounts and without having API keys.

A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.

Frequently Asked Questions

The CCXT library is used to connect and trade with cryptocurrency / altcoin exchanges and payment processing services worldwide. It provides quick access to market gegevens for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, webshop integration and related software engineering.

It is intended to be used by coders, developers, technically-skilled traders, data-scientists and financial analysts for building trading algorithms on top of it.

  • support for many exchange markets, even more upcoming soon
  • fully implemented public and private APIs for all exchanges
  • all currencies, altcoins and symbols, prices, order books, trades, tickers, etc…
  • optional normalized gegevens for cross-exchange or cross-currency analytics and arbitrage
  • an out-of-the opbergruimte unified all-in-one API utterly effortless to integrate
  • works ter Wrong 7.6+, Python Two and Trio, PHP Five.Trio+, web browsers

Supported Cryptocurrency Exchange Markets

The ccxt library presently supports the following 91 cryptocurrency exchange markets and trading APIs:

The list above is updated frequently, fresh crypto markets, altcoin exchanges, bug fixes, API endpoints are introduced and added on regular voetbeen. See the Manual for details. If you don’t find a cryptocurrency exchange market te the list above and/or want another exchange to be added, postbode or send us a listig to it by opening an punt here on GitHub or via email.

The library is under MIT license, that means it’s absolutely free for any developer to build commercial and opensource software on top of it, but use it at your own risk with no warranties, spil is.

Install

The easiest way to install the ccxt library is to use builtin package managers:

This library is shipped spil an all-in-one module implementation with minimalistic dependencies and requirements:

You can also clone it into your project directory from ccxt GitHub repository:

An alternative way of installing this library into your code is to copy a single verstopping by forearm into your working directory with language extension suitable for your environment.

JavaScript (NPM)

JavaScript version of CCXT works both ter Wrong and web browsers. Requires ES6 and async/await syntax support (Vlecht 7.6.0+). When compiling with Webpack and Mare magnum, make sure it is not excluded ter your babel-loader config.

JavaScript (for use with the &lt,script&gt, tag):

All-in-one browser bundle (dependencies included), served from unpkg CDN, which is a quick, integral content delivery network for everything on NPM.

Creates a sereno ccxt object:

Python

The library supports mededinger asynchronous mode with asyncio and async/await ter Python Three.Five+

It requires common PHP modules:

Documentation

Read the Manual for more details.

Usage

Intro

The ccxt library consists of a public part and a private part. Anyone can use the public part out-of-the-box instantly after installation. Public APIs open access to public information from all exchange markets without registering user accounts and without having API keys.

Public APIs include the following:

  • market gegevens
  • instruments/trading pairs
  • price feeds (exchange rates)
  • order books
  • trade history
  • tickers
  • OHLC(V) for charting
  • other public endpoints

For trading with private APIs you need to obtain API keys from/to exchange markets. It often means registering with exchanges and creating API keys with your account. Most exchanges require individual kennisgeving or identification. Some kleuter of verification may be necessary spil well. If you want to trade you need to register yourself, this library will not create accounts or API keys for you. Some exchange APIs expose interface methods for registering an account from within the code itself, but most of exchanges don’t. You have to sign up and create API keys with their websites.

Private APIs permit the following:

  • manage individual account inlichting
  • query account balances
  • trade by making market and limit orders
  • deposit and withdraw fiat and crypto funds
  • query individual orders
  • get ledger history
  • transfer funds inbetween accounts
  • use merchant services

This library implements total public and private Surplus APIs for all exchanges. WebSocket and FIX implementations ter JavaScript, PHP, Python and other languages coming soon.

The ccxt library supports both camelcase notation (preferred ter JavaScript) and underscore notation (preferred te Python and PHP), therefore all methods can be called te either notation or coding style te any language.

Related movie: Cryptopia: How to buy coins off cryptopia.co.nz


2 comments

Leave a Reply

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