Skip to main content
Version: Next

Spot Trading API

The Spot Trading API provides order management and market data interfaces, supporting REST API and WebSocket real-time push.

Main Features

REST API

  • Order Management: Place orders, cancel orders, query orders and trade records
  • Market Data: Asset list, order book depth, Ticker, K-line, trading precision

WebSocket

  • Real-time push for K-line, Ticker, best bid/ask
  • Order book incremental updates and full snapshots

Quick Start

Order interfaces require signature authentication, please refer to Authentication Guide.

WebSocket connection address: wss://api9528mystks.mystonks.org/api/v1/ws/kline