Skip to main content

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

ResourceMethodPathDescription
Asset PairsGET/asset_pairsGet all supported asset pairs
CandlesGET/asset_pairs/{pair}/candlesGet OHLCV candlestick data
TradesGET/asset_pairs/{pair}/tradesGet recent market trades
Order BookGET/asset_pairs/{pair}/depthGet market depth (bids/asks)
TickerGET/asset_pairs/{pair}/tickerGet 24h ticker for a pair
TickersGET/asset_pairs/tickersGet 24h tickers for all pairs
PingGET/pingCheck server status

Private Endpoints (Authentication Required)

ResourceMethodPathDescription
AccountsGET/viewer/accountsGet user account balances
OrdersGET/viewer/ordersGet active orders
Create OrderPOST/viewer/ordersPlace a new order
Cancel OrderPOST/viewer/orders/{id}/cancelCancel an existing order
User TradesGET/viewer/tradesGet user trade history
Fund AccountsGET/viewer/fund/accountsGet funding account balances

WebSocket API

The WebSocket API allows you to subscribe to real-time public market data and private user events.

ChannelDescription
MarketDepthReal-time order book updates
MarketCandleReal-time candlestick updates
MarketTickerReal-time 24h ticker updates
MarketTradeReal-time market execution history
UserAccountPrivate account balance updates
UserOrderPrivate order status updates