Goal: highlight regular trading market hours in a plotly chart.
-Using a df with standard datetime and 1 minute intervals. -Regular trading hours = 9:30am EST to 4pm EST —-Incase interested: ——-pre market = 4am to 9:30am ——-post market = 4pm to 8pm
Stack overflow has great links for highlighting weekend data like this: Nevermind that link was just removed by the author as I tried to post it, but it’s too difficult for me to translate that to specific times of day anyway.