I want a script that export calendar data in CSV file

Trabalho concluído

Tempo de execução 2 horas
Comentário do desenvolvedor
Good customer, clear in their requirements, and a nice person. 100% recommended.
Comentário do cliente
Fast and great job thanks

Termos de Referência

Hi !
Need a script that export Calendar data from the start of his existence until today or maybe until the end of the week because news are already up for next days in the same weeks

I will need that script export data in CSV well formated for machine learning in python

I already got this script

https://www.mql5.com/en/code/39696

But its in txt and a bad format because i need to do python file to convert etc...

Need something like the original documentation
https://www.mql5.com/en/docs/calendar/calendarvaluehistory

 Result:
  Received event values for country_code=EU: 1384
        [id] [event_id]           [time]               [period] [revision]   [actual_value] [prev_value] [revised_prev_value] [forecast_value] [impact_type] [reserved]
   [0] 54215  999500001 2018.01.02 09:00:00 2017.12.01 00:00:00          3       60600000     60600000 -9223372036854775808         60500000             1          0
   [1] 54221  999500002 2018.01.04 09:00:00 2017.12.01 00:00:00          3       56600000     56500000 -9223372036854775808         56000000             1          0
   [2] 54222  999500003 2018.01.04 09:00:00 2017.12.01 00:00:00          3       58100000     58000000 -9223372036854775808         58400000             2          0
   [3] 45123  999030005 2018.01.05 10:00:00 2017.11.01 00:00:00          0         600000       400000 -9223372036854775808           100000             1          0
   [4] 45124  999030006 2018.01.05 10:00:00 2017.11.01 00:00:00          0        2800000      2500000 -9223372036854775808          1500000             1          0
   [5] 45125  999030012 2018.01.05 10:00:00 2017.12.01 00:00:00          1         900000       900000 -9223372036854775808          1000000             2          0
   [6] 45126  999030013 2018.01.05 10:00:00 2017.12.01 00:00:00          1        1400000      1500000 -9223372036854775808          1500000             2          0
   [7] 54953  999520001 2018.01.05 20:30:00 2018.01.02 00:00:00          0      127900000     92100000 -9223372036854775808         76400000             0          0
   [8] 22230  999040003 2018.01.08 10:00:00 2017.12.01 00:00:00          0        9100000      8200000              8100000          7600000             1          0
   [9] 22231  999040004 2018.01.08 10:00:00 2017.12.01 00:00:00          0       18400000     16300000             16400000         16800000             1          0  

I dont want only EU code, i want all world news or maybe something that i can select what kind of country i want.
Can add the currency like USD JPY or EUR in column it can be great !
I dont know what is reserved column but i think i dont need it and revised_prev_value i dont need it too

It will look like this :

("Event ID", "Event Date", "Event Time", "Event Name", "Event Importance", "Event Currency", "Event Actual", "Event Forecast", "Event Previous")


Show me your work !

Cheers

Respondido

1
Desenvolvedor 1
Classificação
(24)
Projetos
29
38%
Arbitragem
2
0% / 0%
Expirado
2
7%
Livre
Pedidos semelhantes
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source

Informações sobre o projeto

Orçamento
30 - 40 USD