# How to subscribe to time & sale data?

**URL:** <https://community.tradovate.com/t/how-to-subscribe-to-time-sale-data/6103>\
**Category:** Community Support\
**Created:** [November 28, 2022, 3:50pm UTC](https://community.tradovate.com/t/how-to-subscribe-to-time-sale-data/6103 "2022-11-28T15:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogtrader](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@rogtrader](https://community.tradovate.com/u/rogtrader)\
**Post date:** [November 28, 2022, 3:50pm UTC](https://community.tradovate.com/t/how-to-subscribe-to-time-sale-data/6103/1 "2022-11-28T15:50:44Z")

</div>

Looking for time and sale (or tick data with just last traded price and last traded volume). How do I get this?

Tick stream seems to be level1 data with bid, ask, etc. do we have last trade price and size in the tick stream?

Thanks!

---

<div class="post-metadata">

**Author:** ![Alexander](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/alexander/32/988_2.png) [@Alexander](https://community.tradovate.com/u/Alexander)\
**Post date:** [December 12, 2022, 11:01pm UTC](https://community.tradovate.com/t/how-to-subscribe-to-time-sale-data/6103/2 "2022-12-12T23:01:11Z")

</div>

When you make a request for the ‘Ticks’ unit, if you supply an `elementSize > 1` it will combine them into bar chart data. If you ask for 1 tick you will get data like this:

```auto
{
  "charts": [ // Array of packets.
    {
      "id": 16335, // Subscription ID, the same as historical/real-time subscription IDs from request response.
      "s": "db", // Source of packet data.
      "td": 20210718, // Trade date YYYYMMDD.
      "bp": 11917, // Base price of the packet (integer number of contract tick sizes).
                              // Tick prices are calculated as relative from this one.
      "bt": 1563421179735, // Base timestamp of the packet.
                              // Tick timestamps are calculated as relative from this value.
      "ts": 0.25, // Tick size of the contract for which the tick chart is requested.
      "tks": [ // Array of ticks of this packet.
        {
          "t": 0, // Tick relative timestamp.
                          // Actual tick timestamp is packet.bt + tick.t
          "p": 0, // Tick relative price (in contract tick sizes).
                          // Actual tick price is packet.bp + tick.p
          "s": 3, // Tick size (seems more proper name should be tick volume).
                          // Please don't confuse with contract tick size (packet.ts).
          "b": -1, // Bid relative price (optional).
                          // Actual bid price is packet.bp + tick.b
          "a": 0, // Ask relative price (optional).
                          // Actual ask price is packet.bp + tick.a
          "bs": 122.21, // Bid size (optional).
          "as": 28.35, // Ask size (optional).
          "id": 11768401 // Tick ID
        },
        ...
      ]
    },
    // Multiple packets are possible...
    {
      "id": 16335,
      "eoh": true // End of history flag.
                        // If the request time range assumes historical data,
                        // this flag indicates that historical ticks are loaded and
                        // further packets will contain real-time ticks.
    }
  ]
};

```
