Script News Download
Hello Community,
I have created this Python script that downloads the news from the site www.forexfactory.com and saves it in the directory (C:\Users\your_name\AppData\Roaming\MetaQuotes\Terminal\Common\Files\News\FF\*. csv) that uses CP.
It does not insert the values of "revised" and "revised_time.", the rest of the values are the same as Andrey has in Google Drive.
You can read more about the News Filter
The news are downloaded from:
You need to download Python 3.x and install the plugins run "pip3 install beautifulsoup4" and all others that you do not have installed
Hey guys !
Thanks for this great script.
It looks like there's a new time format that is being used on FF, that is not correctly supported by the script, and throws an error.
This is the error:
And this is the problematic time format, from FF website:
I guess this time format means that the news will be released between 10:00 an 15:00.
I'm working on updating the function "time_2_digits" to be able to deal with this new time format without crashing.
In the case of the value 10th-15th, I'm going to set the time to "10:00", unless you guys suggest we set it to "All day" ?
I'll upload my updated version of the Python script here, in case other people are interested by that fix.
Also, I'm a bit confused with the decision to tag the "All day events" as 00:00, as I'm assuming there could be some news that are announced at 00:00.
What do you guys think ?