Skip to content

Commit

Permalink
Merge pull request #1283 from DE0CH/ignore-tz-false
Browse files Browse the repository at this point in the history
Change default value to ignore_tz to False
  • Loading branch information
ValueRaider committed Jan 8, 2023
2 parents 1495834 + de8c0bd commit 38637a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ data = yf.download( # or pdr.get_data_yahoo(...
interval = "5d",

# Whether to ignore timezone when aligning ticker data from
# different timezones. Default is True. False may be useful for
# minute/hourly data.
# different timezones. Default is False.
ignore_tz = False,

# group by ticker (to access via data['SPY'])
Expand Down
4 changes: 2 additions & 2 deletions yfinance/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from . import shared


def download(tickers, start=None, end=None, actions=False, threads=True, ignore_tz=True,
def download(tickers, start=None, end=None, actions=False, threads=True, ignore_tz=False,
group_by='column', auto_adjust=False, back_adjust=False, repair=False, keepna=False,
progress=True, period="max", show_errors=True, interval="1d", prepost=False,
proxy=None, rounding=False, timeout=10):
Expand Down Expand Up @@ -68,7 +68,7 @@ def download(tickers, start=None, end=None, actions=False, threads=True, ignore_
How many threads to use for mass downloading. Default is True
ignore_tz: bool
When combining from different timezones, ignore that part of datetime.
Default is True
Default is False
proxy: str
Optional. Proxy server URL scheme. Default is None
rounding: bool
Expand Down

0 comments on commit 38637a9

Please sign in to comment.