Docs
  • Shabits Docs
  • DATASETS
    • Raw Data
      • Binance - Spot
      • Binance - COIN Futures
      • Binance - USDT Futures
      • Binance-US - Spot
      • Bitfinex - Spot
      • Bitfinex - Futures
      • Bitflyer - FX
      • Bitflyer - Spot
      • Bitflyer - Futures
      • BitMEX - Futures
      • BitMEX - Spot
      • Bitstamp - Spot
      • Bittrex - Spot
      • Bybit - Spot
      • Bybit - Futures
      • Coinbase - Spot
      • Deribit - Options
      • Deribit - Futures
      • Gateio - Spot
      • Gateio - Futures
      • Gateio - Options
      • Gemini - Spot
      • Huobi - Spot
      • Huobi - USDT Futures
      • Huobi - COIN Futures
      • Kraken - Spot
      • Kraken - Futures
      • Kucoin - Spot
      • Kucoin - Futures
      • OKX - Spot
      • OKX - Futures
      • OKX - Swaps
      • OKX - Options
      • Poloniex - Spot
      • Poloniex - Futures
      • (Deprecated) FTX | Spot
      • (Deprecated) FTX | Futures
      • (Deprecated) FTX-US | Spot
      • (Deprecated) BaseFEX | Spot
    • Market By Order
      • Change Log
    • Tick by Tick
      • Change Log
    • OHLCV
      • Change Log
Powered by GitBook
On this page
  • Trades
  • Quotes
  • OB Snapshots
  • Change Log
  1. DATASETS
  2. Raw Data

Binance - Spot

Trades

The Trade Streams push raw trade information; each trade has a unique buyer and seller.

{
  "e": "trade",     // Event type
  "E": 123456789,   // Event time
  "s": "BNBBTC",    // Symbol
  "t": 12345,       // Trade ID
  "p": "0.001",     // Price
  "q": "100",       // Quantity
  "b": 88,          // Buyer order ID
  "a": 50,          // Seller order ID
  "T": 123456785,   // Trade time
  "m": true,        // Is the buyer the market maker?
  "M": true         // Ignore
}
  • Update speed: Real-time

Quotes

Order book price and quantity depth updates used to locally manage an order book.

{
  "e": "depthUpdate", // Event type
  "E": 123456789,     // Event time
  "s": "BNBBTC",      // Symbol
  "U": 157,           // First update ID in event
  "u": 160,           // Final update ID in event
  "b": [              // Bids to be updated
    [
      "0.0024",       // Price level to be updated
      "10"            // Quantity
    ]
  ],
  "a": [              // Asks to be updated
    [
      "0.0026",       // Price level to be updated
      "100"           // Quantity
    ]
  ]
}
  • Update speed: 100ms

OB Snapshots

{
  "lastUpdateId": 1027024,
  "bids": [
    [
      "4.00000000",     // PRICE
      "431.00000000"    // QTY
    ]
  ],
  "asks": [
    [
      "4.00000200",
      "12.00000000"
    ]
  ]
}
  • Snapshot interval is 10000 seconds

  • Maximum depth is 5000 levels

Aside the exchange's data points, we include a local timestamp (Epoch) for Trades, Quotes and Orderbook Snapshots when collecting the data.

Change Log

**04-11-2020**

  • Started market data collection for Quotes, Trades and Orderbook Snapshots

PreviousRaw DataNextBinance - COIN Futures

Last updated 2 years ago