Futures Trading API
The Futures Trading API provides order management, position query, and market data interfaces, supporting REST API and WebSocket real-time push.
Main Features
REST API
- Order Operations: Create orders, cancel orders, query order history and entrust records
- Position Query: Current positions, historical positions
- Market Data: 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 and position interfaces require signature authentication, please refer to Authentication Guide.
WebSocket connection address: wss://api9528mystks.mystonks.org/api/v1/futures/ws/kline