One Trading · AsyncAPI Specification
One Trading WebSocket Streams API
Version 1.0
Real-time WebSocket (WSS) API for the One Trading exchange. Clients receive market data feeds (order book, price ticks, book ticker) and, after authenticating, private trading event streams (order lifecycle, trade execution, settlement, funding payments, balance adjustments). Orders can be created and cancelled over the same connection. Provenance: reconstructed by API Evangelist from the provider's public documentation index (https://docs.onetrading.com/llms.txt) and the WebSocket authentication page (https://docs.onetrading.com/websocket/authenticate.md). Message payload shapes below reflect the documented channel catalog; this is not the provider's official AsyncAPI document.
View Spec
View on GitHub
CompanyCryptocurrencyCrypto ExchangeTradingDerivativesFuturesFinancial ServicesMarket DataWebSocketFintechAsyncAPIWebhooksEvents
Channels
/
Messages the client sends to the server.
Single multiplexed WebSocket connection. Clients send AUTHENTICATE and SUBSCRIBE control messages and receive market-data and (once authenticated) private trading events. All messages carry a "type" discriminator.
Messages
Authenticate
Authenticate
Authenticate the connection with an API token (Trade permission required).
Authenticated
Authenticated
Authentication succeeded.
Subscribe
Subscribe
Subscribe to one or more channels for a set of instruments.
Ping
Ping
Keep-alive ping; server replies with PONG.
CreateOrder
CreateOrder
Create an order over the WebSocket connection.
CancelAllOrders
CancelAllOrders
CancelOrderByOrderId
CancelOrderByOrderId
CancelOrderByClientId
CancelOrderByClientId
MoveOrder
MoveOrder
Move (reprice) an existing order.
MarginUpdate
MarginUpdate
Update margin on a futures position.
OrderBookSnapshot
OrderBookSnapshot
Full order book snapshot for a subscribed instrument.
OrderBookUpdate
OrderBookUpdate
Incremental order book update.
PriceTick
PriceTick
Trade price tick for a subscribed instrument.
BookTick
BookTick
Best bid/ask (top-of-book) update.
OrderBooked
OrderBooked
An order was accepted and booked.
OrderRejected
OrderRejected
An order was rejected.
OrderClosed
OrderClosed
An order was closed/cancelled.
OrderFullyFilled
OrderFullyFilled
An order was fully filled.
TradeExecuted
TradeExecuted
A trade was executed against one of the client's orders.
Settlement
Settlement
A futures settlement event.
FundingPayment
FundingPayment
A futures funding payment was applied.
BalanceAdjustment
BalanceAdjustment
An account balance was adjusted.
ErrorMessage
ErrorMessage
Error envelope; carries a single machine-readable code.
Servers
wss
production
streams.fast.onetrading.com
One Trading production WebSocket endpoint (wss://streams.fast.onetrading.com)