---
title: "Stream BarChart - Bars Back"
method: GET
path: "/v2/stream/barchart/{symbol}/{interval}/{unit}/{barsBack}/{lastDate}/..."
tags: ["marketdata"]
---

# Stream BarChart - Bars Back

`GET /v2/stream/barchart/{symbol}/{interval}/{unit}/{barsBack}/{lastDate}/...`

Streams barchart data starting from a number of bars back from last date, each bar filling interval of unit.

## Path parameters

- `symbol` string, required
- `interval` integer, required
- `unit` 'Minute' | 'Daily' | 'Weekly' | 'Monthly', required
- `barsBack` integer, required
- `lastDate` string, required

## Query parameters

- `SessionTemplate` 'USEQPre' | 'USEQPost' | 'USEQPreAndPost' | 'USEQ24Hour' | 'Default'

## Response `200`

Barchart Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Symbol Not Found
- `500` — Unexpected Error
- `502` — Bad Gateway
- `504` — Gateway Timeout

## Changes

- **2021-02-03** `d79cf9ab0317` — 1 warning
  - deleted the `query` request parameter `access_token`
- **2020-01-28** `93cb7f38303a` — 1 info
  - endpoint added
- **2018-08-01** `0051f080d8d7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tradestation/apis/tradestation-api/changes/v2/stream/barchart/:symbol/:interval/:unit/:barsBack/:lastDate/.../get.md)

---

[API](https://skmtc.dev/tradestation/apis/tradestation-api.md) · [All operations](https://skmtc.dev/tradestation/apis/tradestation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tradestation/tradestation-api/revisions/061b6b092458/schema)
