Skip to content

Commit

Permalink
Backport #1169 (default start)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValueRaider committed Nov 13, 2022
1 parent 2d32a6e commit d11cd85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yfinance/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def history(self, period="1mo", interval="1d",
if interval == "1m":
start = end - 604800 # Subtract 7 days
else:
start = -631159200
#time stamp of 01/01/1900
start = -2208994789
else:
start = utils._parse_user_dt(start, tz)
params = {"period1": start, "period2": end}
Expand Down

0 comments on commit d11cd85

Please sign in to comment.