Features

Data

Connect, store, update, transform, and combine local and remote market data

Bring market data into a research workflow, whether it comes from a provider such as Yahoo Finance, Binance, or TradingView, from a local file, or from a database. This section is for anyone who needs clean, aligned, and current data before testing a strategy. It covers data sources, storage and querying, pipelines that keep data up to date, combining timeframes by when their values become available, and synthetic prices for testing a strategy on paths that never happened.

Start here

Begin with Market data sources to pull your first dataset. Already have your data? Start with Data storage and databases for files and database queries, or Data pipelines for working with your own Pandas objects.

What do you want to do?Where to start
Find a provider for stocks, crypto, futures, or FXMarket data sources
Bring chart data into Python or compare Binance spot and futuresTradingView data and Binance data
Keep a local history and load only the data you needData storage and databases
Align symbols with different histories, add research features, and update the datasetData pipelines
Use a daily indicator with hourly entriesMulti-timeframe analysis
Test a strategy on generated prices and different market conditionsSynthetic data

Data pages

From data to a backtest

You can start with downloaded candles, saved files, or DataFrames from your own research. VBT's data object keeps symbols and features together, aligns their indexes, and lets you choose whether to retain each symbol's full history or work with their shared timestamps. Prices and custom features can then feed indicators and trading signals.

For example, pull hourly prices for several coins, save the history locally, and compare a strategy across the same period for each coin. Add a daily trend filter with the multi-timeframe tools, then try the strategy on synthetic paths to explore how it behaves outside that history. Each part has its own feature page above, so you can use the pieces your research needs.

Continue with Technical indicators to calculate signals, or Signal backtesting if your entry and exit conditions are ready. Use the Data documentation to learn how VBT represents, retrieves, updates, and manages market data.

Copyright © 2021–2026 Oleg Polakow. All rights reserved.

Site content and documentation are provided for using and evaluating VectorBT PRO and for educational purposes. Any other use, including building or supporting competing products or services, requires prior written consent.