Skip to content

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

@amztc34283

Description

@amztc34283

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

Desktop (please complete the following information):

  • iOS 15.3.1

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