Replies: 2 comments
-
Hello, Martin, please share the code sampe to get data for premarket. I use |
Beta Was this translation helpful? Give feedback.
0 replies
-
I used start time just an hour old
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: andreyversh ***@***.***>
Sent: Monday, April 10, 2023 8:54:48 PM
To: ranaroussi/yfinance ***@***.***>
Cc: Martin Alley ***@***.***>; Author ***@***.***>
Subject: Re: [ranaroussi/yfinance] 2 minute delay for premarket data (maybe in market too?) (Discussion #1475)
Hello, Martin, please share the code sampe to get data for premarket. I use
df = yf.download(tickers='GOOG', period=timeslot, interval='1m', rounding=True, group_by='Ticker', prepost=True),
where timeslot covered premarket time from 4:00 to 09:30 EST, but got all data for premarket only, when main session is started.
—
Reply to this email directly, view it on GitHub<#1475 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAT4VJP5R3VJB22JZQALH23XAQGKRANCNFSM6AAAAAAWRAUAVQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I've noticed there's a delay in the retrieval of pre-market data (~2 minutes)
So for example , requesting 1 minute interval data, I don't see the 08:00 EST candle until 08:02 EST.
Do other people experience this?
Does it improve with YahooFinancePlus?
Thanks
Martin
Beta Was this translation helpful? Give feedback.
All reactions