Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
api:websocket [2025/03/04 02:23] – chad | api:websocket [2025/03/14 02:50] (current) – removed chad | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Plus500 Futures Technologies WebSocket API ====== | ||
- | |||
- | Welcome to the **Plus500 Futures Technologies WebSocket API**! This API provides **high-performance, | ||
- | |||
- | Unlike REST APIs, which require constant polling, our WebSocket API **pushes data in real time**, ensuring you receive **instant market updates** and can execute trades without delay. | ||
- | |||
- | ===== Key Capabilities ===== | ||
- | |||
- | ^ Feature ^ Description ^ Status ^ | ||
- | | **Real-time Quotes** | Stream live bid/ask price updates for any instrument. | ✅ | | ||
- | | **Level 1 Data** | Access top-of-book best bid and offer (BBO). | ✅ | | ||
- | | **Level 2 (Market Depth)** | View **up to 10 levels** of bid/ask depth. | ✅ | | ||
- | | **Market by Order (MBO)** | See individual resting orders in the order book. | ✅ | | ||
- | | **Trade Feed (Ticker)** | Get a **real-time execution stream** of all trades. | ✅ | | ||
- | | **Order Management** | Submit, modify, and cancel orders programmatically. | ✅ | | ||
- | | **Position & Account Monitoring** | Track open positions, P&L, and margin usage. | ✅ | | ||
- | | **Instrument Metadata** | Retrieve contract specs, tick sizes, and margin requirements. | ✅ | | ||
- | | **Spread Trading** | Execute spread orders with **complex multi-leg strategies**. | ✅ | | ||
- | | **Risk & Margin Data** | Get real-time margin requirements and risk exposure. | ✅ | | ||
- | | **Historical Data Requests** | Fetch recent trade history and market activity. | ✅ | | ||
- | | **Efficient Binary Encoding** | Uses Protobuf for **low-bandwidth, | ||
- | | **Secure Authentication** | Ensures safe access with API key-based authentication. | ✅ | | ||
- | | **Robust Reconnection** | Auto-reconnect and resume subscriptions on disconnection. | ✅ | | ||
- | |||
- | ===== Why Use This API? ===== | ||
- | |||
- | * **Low-Latency Execution** – Orders and market updates in real time. | ||
- | * **Compact & Efficient** – Protobuf minimizes bandwidth, perfect for high-throughput trading. | ||
- | * **Comprehensive Market Data** – Access **Level 1, Level 2, and Market by Order** data. | ||
- | * **Built for Futures Trading** – Includes **contract metadata, spread trading, and risk monitoring**. | ||
- | * **Scalable & Reliable** – Handles **thousands of concurrent connections** with auto-reconnect. | ||
- | * **Event-Driven** – Push-based updates eliminate the need for polling. | ||
- | |||
- | ===== Getting Started ===== | ||
- | |||
- | To begin integrating, | ||
- | |||
- | For a detailed breakdown of all available messages, see the [[message_reference|Message Reference]]. | ||
- | |||
- | ---- | ||
- | |||
- | 💡 **Tip:** Use WebSocket clients like `wscat` or our sample SDKs to test the API before building your integration. | ||