How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

One Trading WebSocket Streams API

Real-time WebSocket API for market data (order book, price ticks, book ticker) and, after authenticating, private trading events (order lifecycle, trades, settlement, funding payments, balance adjustments).

This event API exposes 2 operations across 1 channel, and defines 24 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.

The API connects through a single server, streams.fast.onetrading.com (wss).

2 operations 1 channels 24 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0
Base URL
wss://streams.fast.onetrading.com
Resource Areas
1

Channels & Operations 2

Across 1 channel, the API surfaces 2 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 2
SUB
/
Messages the server sends to the client.
receiveEvents body
PUB
/
Messages the client sends to the server.
sendCommands body

Messages & Schemas 24

The contract defines 24 schemas that model the data carried by its messages. The most detailed is OrderEvent (8 properties). Each schema is shown below with its type and property counts.

Authenticate
message
Authenticate the connection with an API token (Trade permission required).
Authenticated
message
Authentication succeeded.
Subscribe
message
Subscribe to one or more channels for a set of instruments.
Ping
message
Keep-alive ping; server replies with PONG.
CreateOrder
message
Create an order over the WebSocket connection.
CancelAllOrders
message
CancelOrderByOrderId
message
CancelOrderByClientId
message
MoveOrder
message
Move (reprice) an existing order.
MarginUpdate
message
Update margin on a futures position.
OrderBookSnapshot
message
Full order book snapshot for a subscribed instrument.
OrderBookUpdate
message
Incremental order book update.
PriceTick
message
Trade price tick for a subscribed instrument.
BookTick
message
Best bid/ask (top-of-book) update.
OrderBooked
message
An order was accepted and booked.
OrderRejected
message
An order was rejected.
OrderClosed
message
An order was closed/cancelled.
OrderFullyFilled
message
An order was fully filled.
TradeExecuted
message
A trade was executed against one of the client's orders.
Settlement
message
A futures settlement event.
FundingPayment
message
A futures funding payment was applied.
BalanceAdjustment
message
An account balance was adjusted.
ErrorMessage
message
Error envelope; carries a single machine-readable code.
OrderEvent
object
8 properties

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

one-trading-streams-asyncapi.yml Raw ↑
Where this information came from

This is an independent, third-party profile of One Trading WebSocket Streams API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.