One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Price Ticks
  • Introduction
  • Authenticate
  • Subscribe
  • Ping / Pong
  • Trading
    • Introduction
    • Dead Man Switch (Auto Cancellation)
    • Create Order
    • Cancel All Orders
    • Cancel Order by Client ID
    • Cancel Order by Order ID
    • Margin Update
    • Settlement
    • Funding Payment
    • Order Booked
    • Order Rejected
    • Order Closed
    • Trade Executed
    • Order Fully Filled
    • Move Order
    • Balance Adjustment
  • Orderbook
    • Introduction
    • Orderbook Snapshot
    • Orderbook Update
  • Price Ticks
    • Introduction
    • Price Tick
  • Book Ticker
    • Introduction
    • Book Tick
  1. Price Ticks

Introduction

The PRICE_TICKS WebSocket channel provides clients with real-time price updates for specified market(s). This channel streams individual price tick events as they occur, offering granular insights into the latest trades and price movements. Each tick represents a single trade execution, including details such as price, quantity, and nanosecond timestamp.
For each instrument code specified, a price tick history will be sent initially containing the latest 80 price ticks.

Subscribe#

{
    "type": "SUBSCRIBE",
    "channels": [
        {
            "name": "PRICE_TICKS",
            "instrument_codes": [
                "BTC_EUR",
                "ETH_EUR"
            ]
        }
    ]
}

Subscription Confirmation#

{
    "type": "SUBSCRIPTIONS",
    "channels": [
        {
            "name": "PRICE_TICKS",
            "instrument_codes": [
                "BTC_EUR",
                "ETH_EUR"
            ]
        }
    ],
    "time": 1732051274299000000
}
SubscriptionConfirmation
type
enum<string> 
required
Allowed value:
SUBSCRIPTIONS
channels
array [object {2}] 
required
name
string 
required
Name of the channel which has just been subscribed to.
instrument_codes
array[string]
optional
Optional list of instrument codes to receive events for.
time
number 
required
Time the message was sent from the server in nanoseconds.
Previous
Orderbook Update
Next
Price Tick
Built with