Spot Trading
Overview
Spot trading refers to the act of buying or selling crypto assets (such as BTC or ETH) at the current market price for immediate settlement. Once a trade is executed, the assets are instantly delivered to the buyer’s account.
As the most fundamental form of digital asset trading, the spot market supports various Asset Pairs and allows users to match orders based on real-time market conditions. It is suitable for daily trading, investment, and asset management purposes.
Base Endpoints
- REST API:
https://api.big.one/api/v3/ - WebSocket:
wss://api.big.one/ws/v2
HTTP API Reference
The following is a summary of available HTTP endpoints. For detailed authentication and parameter information, please refer to the specific documentation pages.
Public Endpoints
| Resource | Method | Path | Description |
|---|---|---|---|
| Asset Pairs | GET | /asset_pairs | Get all supported asset pairs |
| Candles | GET | /asset_pairs/{pair}/candles | Get OHLCV candlestick data |
| Trades | GET | /asset_pairs/{pair}/trades | Get recent market trades |
| Order Book | GET | /asset_pairs/{pair}/depth | Get market depth (bids/asks) |
| Ticker | GET | /asset_pairs/{pair}/ticker | Get 24h ticker for a pair |
| Tickers | GET | /asset_pairs/tickers | Get 24h tickers for all pairs |
| Ping | GET | /ping | Check server status |
Private Endpoints (Authentication Required)
| Resource | Method | Path | Description |
|---|---|---|---|
| Accounts | GET | /viewer/accounts | Get user account balances |
| Orders | GET | /viewer/orders | Get active orders |
| Create Order | POST | /viewer/orders | Place a new order |
| Cancel Order | POST | /viewer/orders/{id}/cancel | Cancel an existing order |
| User Trades | GET | /viewer/trades | Get user trade history |
| Fund Accounts | GET | /viewer/fund/accounts | Get funding account balances |
WebSocket API
The WebSocket API allows you to subscribe to real-time public market data and private user events.
| Channel | Description |
|---|---|
| MarketDepth | Real-time order book updates |
| MarketCandle | Real-time candlestick updates |
| MarketTicker | Real-time 24h ticker updates |
| MarketTrade | Real-time market execution history |
| UserAccount | Private account balance updates |
| UserOrder | Private order status updates |