Skip to content

Missing Data #2939

Closed as not planned
Closed as not planned

Description

@dentoyan

Describe bug

Data is missing for some symbols from XETRA on 7-31. Please add a method to check Stock Exchange Trading Days.

Simple code that reproduces your problem

import yfinance as yf

# Define the ticker symbol
ticker_symbol = "SDF.DE"
print(ticker_symbol)

# Create a Ticker object
ticker = yf.Ticker(ticker_symbol)

# Fetch historical market data
historical_data = ticker.history(period="1y")  # data for the last year
print("Historical Data:")
print(historical_data)

Debug log with debug logging enabled

2026-07-29 00:00:00+02:00 14.700000 14.940000 14.580000 14.720000 1030428 0.0 0.0
2026-07-30 00:00:00+02:00 14.680000 14.860000 14.600000 14.680000 559140 0.0 0.0
2026-08-03 00:00:00+02:00 14.450000 14.570000 14.330000 14.420000 748552 0.0 0.0

Bad data proof

assert 7-31 is a trading day

yfinance version

1.5.0

Python version

No response

Operating system

No response

Activity

  1. ValueRaider commented on Aug 6, 2026

    @ValueRaider
    Collaborator

    assert 7-31 is a trading day

    This argues Yahoo should have data. yfinance is not affiliated with Yahoo.

  2. dentoyan commented on Aug 25, 2026

    @dentoyan
    Author

    The quality of the stock quote data is steadily declining. Often only trade volumes are just barely provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions