> For the complete documentation index, see [llms.txt](https://quantinfra.gitbook.io/quantinfra-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quantinfra.gitbook.io/quantinfra-docs/static-data/streams.md).

# Streams

A stream is an entity that defines a time series. For instance, if you receive prices for the same stock from two different data sources (e.g., different exchanges), you will need to create two streams.

Additionally, streams may be used to track time series unrelated to a particular contract (e.g., a volatility index).

<table><thead><tr><th width="217.55078125">Property</th><th>Description</th></tr></thead><tbody><tr><td>StreamId</td><td>Unique identifier</td></tr><tr><td>Ticker</td><td>Unique name</td></tr><tr><td>DatafeedId</td><td></td></tr><tr><td>ConstantStreamValue</td><td>You may use constant value streams for some time series that do not change, but must tick. For instance, instead of consuming the actual price of USDT/USD pair, you can use the constant value 1, ticking once a minute.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://quantinfra.gitbook.io/quantinfra-docs/static-data/streams.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
