Data Sources

Market data used for chart examples, pattern detection, and visual generation on YouPattern.

Last updated: June 2026

Overview

YouPattern uses historical OHLCV (Open, High, Low, Close, Volume) market data to generate real chart examples for each pattern. This page documents the data sources, assets covered, timeframes used, and data update policy.

Primary Data Source: Binance

Historical OHLCV data for cryptocurrency chart examples is sourced from the Binance public API — one of the world's largest cryptocurrency exchanges by trading volume.

Property Details
ProviderBinance (binance.com)
API endpointPublic REST API — Klines (candlestick) endpoint
Data typeHistorical OHLCV candlestick data
AccessPublic, no authentication required for historical data
CostFree (public API)
Data historyAvailable from asset listing date to present

Assets Covered

Current chart examples on YouPattern use historical Binance OHLCV data from major liquid cryptocurrency pairs. The primary assets used are:

  • BTC/USDT — Bitcoin, highest liquidity, most widely followed cryptocurrency
  • ETH/USDT — Ethereum, second-largest cryptocurrency, high liquidity and pattern clarity
  • SOL/USDT — Solana, high-growth asset with strong pattern formation history
  • BNB/USDT — Binance Coin, high-liquidity asset used for selected chart examples

In addition to the above, selected high-liquidity crypto pairs may be used when they provide a particularly clear or representative example of a given pattern. Asset selection per page is based on pattern clarity and example quality, not a fixed rotation.

These assets were selected because they have sufficient trading history (2017–2026), high liquidity (reducing noise from thin markets), and clear pattern formations that are easy to identify visually.

Timeframes

YouPattern uses multiple timeframes for real chart examples, selected per page based on where the pattern is most clearly visible:

  • Daily (1D): The primary timeframe for most chart examples. Daily charts provide clear, well-defined patterns with less noise than shorter timeframes.
  • 4-Hour (4H): Used for patterns that are particularly prominent on intraday charts, or to demonstrate that formations appear across multiple timeframes.
  • Weekly (1W): Used for selected long-term chart patterns where the weekly timeframe provides the clearest structural example.

The timeframe used for each chart example is labelled directly on the chart image. Backtest statistics on each pattern page specify the exact timeframe(s) used in the backtest.

Data Retrieval and Processing

Data is retrieved and processed using the following pipeline:

  1. API request: Historical OHLCV data is fetched via the Binance REST API for the relevant asset and timeframe
  2. Data cleaning: Data is validated for completeness (no missing candles, no zero-volume candles during active trading hours)
  3. Pattern detection: A rule-based algorithm scans the data for instances matching the pattern's mathematical criteria (see Methodology for details)
  4. Example selection: Detected instances are ranked by pattern clarity and visual distinctiveness; the clearest examples are selected
  5. Chart rendering: Selected examples are rendered as PNG images using Python mplfinance with consistent styling

Data Accuracy and Limitations

Accuracy

  • Binance historical data is generally considered highly accurate for cryptocurrency markets
  • OHLCV data represents actual trades executed on the Binance exchange
  • Data is not adjusted for splits or dividends (not applicable to cryptocurrencies)

Limitations

  • Exchange-specific data: Prices may differ slightly between exchanges due to arbitrage gaps and liquidity differences
  • Cryptocurrency focus: Current examples use only cryptocurrency data. Traditional equities, forex, and commodities are not currently covered
  • Historical only: Chart examples show historical patterns, not real-time data. They are for educational illustration only
  • Survivorship bias: We select clear, well-formed examples of patterns. Real-world trading will encounter many ambiguous or failed patterns not shown here

Update Frequency

Chart examples are generated at the time of page creation and updated periodically. Each page displays a "Last updated" date. We aim to refresh examples at least annually to include more recent market data.

If you notice that a chart example appears outdated or uses data from an unusual market period (e.g., extreme volatility events), please contact us and we will prioritise updating that example.

Reference Sources for Pattern Definitions

Pattern definitions and criteria are based on established technical analysis literature. See our Methodology page for the full list of reference sources.

Disclaimer

All data and chart examples on YouPattern are provided for educational purposes only. Historical market data does not predict future price movements. Pattern examples shown are selected for their clarity as educational illustrations — they do not represent typical or average pattern outcomes.

YouPattern is not affiliated with Binance or any other data provider. Use of Binance data is subject to Binance's terms of service.

See our full Disclaimer for complete terms.