---
title: "Streaming Data"
canonical: https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data
markdown: https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/03%20Writing%20Algorithms/16%20Importing%20Data/02%20Streaming%20Data
modified: 2026-11-23
index: https://www.quantconnect.com/llms.txt
---

# Streaming Data

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Writing Algorithms](https://www.quantconnect.com/docs/v2/writing-algorithms.md) > Importing Data > Streaming Data

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Pages in This Section

- [Key Concepts](https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data/key-concepts.md): There are two techniques to import data into your algorithm. This page explores streaming a file's contents into your algorithm line-by-line.
- [Custom Securities](https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data/custom-securities/key-concepts.md)
- [Custom Universes](https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data/custom-universes/key-concepts.md)
- [Precomputed ML Predictions](https://www.quantconnect.com/docs/v2/writing-algorithms/importing-data/streaming-data/precomputed-ml-predictions.md): This page explains how to precompute machine learning predictions in the Research Environment and stream them into a backtest as a custom universe dataset.
