-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time_zone problème #629
Comments
Same here |
merci j'ai réussi a régler le problème , dans le fichier > investpy\utils\constant.py |
If your having trouble with time zones and inconsistent times, you will need to scrape the time zone values off of Investing.com/economic-calendar. I've wrote a script to do exactly that, simply 'pip install BeautifulSoup4' and Run. `import requests def scrape_timezones():
Iterate over all list items with class 'addRow'
def parse_gmt_offset(tz_str): if name == "main": |
il y a un problème dans le time_zone de investpy pour les annonces économiques :
A la première exécution du code tous va bien ,
puis dans les autres ça affiche gmt +1
alors que je n'ai rien modifier !
Comment régler ce problème svp
exemple de ce que j'ai dans le CMD :
id date time ... actual forecast previous 0 483491 17/10/2023 14:30 ... None 0.1% 0.6% 1 483490 17/10/2023 14:30 ... None 0.2% 0.6% 2 483567 18/10/2023 14:30 ... None 1.450M 1.541M 3 484582 18/10/2023 16:30 ... None None 10.176M
Et puis d'un coup sans raison et sans modification du code dans la même minute :
id date time ... actual forecast previous 0 483491 17/10/2023 13:30 ... None 0.1% 0.6% 1 483490 17/10/2023 13:30 ... None 0.2% 0.6% 2 483567 18/10/2023 13:30 ... None 1.450M 1.541M 3 484582 18/10/2023 15:30 ... None None 10.176M
The text was updated successfully, but these errors were encountered: