What problem does it solve?
This Skill provides a practical, PHP-focused guide to using CCXT to connect to cryptocurrency exchanges, enabling programmatic trading, market data access, and account management from PHP applications.
Core Features & Use Cases
- REST API access: Connect to multiple exchanges to fetch market data, tickers, order books, and place orders using REST endpoints.
- WebSocket support (where available): Leverage real-time data streams for selected exchanges using CCXT Pro variants in PHP environments.
- Use Case: Build a PHP-based trading bot or data-collection tool that loads markets, retrieves tickers, and executes orders across several exchanges.
Quick Start
Install via Composer: composer require ccxt/ccxt
Create an exchange instance: $exchange = new \ccxt\binance(['enableRateLimit' => true])
Load markets and fetch ticker: $exchange->load_markets(); $ticker = $exchange->fetch_ticker('BTC/USDT')