dpguthrie / dpguthrie/yahooquery

period="1d" is returning all data from start

Open
#309 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
920
Forks
164
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I expect the following to return a single data point but it is not:
historical_data_before = stock.history(period="1d", interval="1d", start=before)

**To Reproduce**

stock = Ticker("AAPL")
historical_data_before = stock.history(period="1d", interval="1d", start="2024-03-31")

**Expected behavior**

I would expect that to return the data for 2024-03-31.

**Screenshots**
![Image](https://github.com/user-attachments/assets/1e690e2c-73ce-4775-a79f-1a8a273b66f0)

**Desktop (please complete the following information):**
- iOS 15.3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.