Skip to content

Commit

Permalink
Fix price-events merge when occurred pre-market
Browse files Browse the repository at this point in the history
  • Loading branch information
ValueRaider committed Mar 21, 2023
1 parent 478dc0a commit bb47798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yfinance/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ def history(self, period="1mo", interval="1d",
if capital_gains is not None:
capital_gains = utils.set_df_tz(capital_gains, interval, tz_exchange)
if start is not None:
startDt = quotes.index[0]
startDt = quotes.index[0].floor('D')
if dividends is not None:
dividends = dividends.loc[startDt:]
if capital_gains is not None:
Expand Down

0 comments on commit bb47798

Please sign in to comment.