Tâche terminée
Temps d'exécution 1 jour
Commentaires du client
Alain Is very professional data scientist, I full recommend, this is the man!
Commentaires de l'employé
Interesting job and very nice customer. Recommended.
Spécifications
Hi,
I have an EA that is feed with a file wich need to be extracted from internet every day from a web site. To do this mannualy I need to click on a button in this site and the file is downloaded (picture bellow), but I would like to do this automatically, Using WebRequest() The file must be downloaded on actual date of the form to "File" folder and then unziped there overwirting the older file.

You can use the code bellow as example, it works but the date of the form is fixed, you need put always the actual date
Use Chrome to inspect, the execution and debug what happens
oid OnStart() { string cookie=NULL,headers; char post[],result[]; string url="http://www.b3.com.br/lumis/portal/file/fileDownload.jsp?fileId=8AE490C96A051101016A0596E52F6182"; //--- para trabalhar com o servidor é necessário adicionar a URL "https://finance.yahoo.com" //--- na lista de URLs permitidas (menu Principal->Ferramentas->Opções, guia "Experts"): //--- redefinimos o código do último erro ResetLastError(); //--- download da página html do Yahoo Finance int res=WebRequest("GET",url,cookie,NULL,500,post,0,result,headers); if(res==-1) { Print("Erro no WebRequest. Código de erro =",GetLastError()); //--- é possível que a URL não esteja na lista, exibimos uma mensagem sobre a necessidade de adicioná-la MessageBox("É necessário adicionar um endereço '"+url+"' à lista de URL permitidas na guia 'Experts'","Erro",MB_ICONINFORMATION); } else { if(res==200) { //--- download bem-sucedido PrintFormat("O arquivo foi baixado com sucesso, tamanho %d bytes.",ArraySize(result)); //PrintFormat("Cabeçalhos do servidor: %s",headers); //--- salvamos os dados em um arquivo int filehandle=FileOpen("url.zip",FILE_WRITE|FILE_BIN); if(filehandle!=INVALID_HANDLE) { //--- armazenamos o conteúdo do array result[] no arquivo FileWriteArray(filehandle,result,0,ArraySize(result)); //--- fechamos o arquivo FileClose(filehandle); } else Print("Erro em FileOpen. Código de erro =",GetLastError()); } else PrintFormat("Erro de download '%s', código %d",url,res); } }
Répondu
1
Évaluation
Projets
334
55%
Arbitrage
14
36%
/
29%
En retard
1
0%
Gratuit
2
Évaluation
Projets
148
59%
Arbitrage
16
38%
/
13%
En retard
25
17%
Gratuit
Publié : 1 code
3
Évaluation
Projets
285
42%
Arbitrage
19
63%
/
5%
En retard
29
10%
Gratuit
Publié : 2 codes
4
Évaluation
Projets
25
12%
Arbitrage
1
0%
/
100%
En retard
8
32%
Gratuit
5
Évaluation
Projets
302
79%
Arbitrage
4
25%
/
0%
En retard
62
21%
Gratuit
Publié : 7 codes
Commandes similaires
Senior MQL5 + Python Quant Developer Needed – Institutional AI Trading Platform I'm looking for a highly experienced quantitative developer (or small team) to build an institutional-grade algorithmic trading platform for MetaTrader 5 and Python . This is not a simple Expert Advisor. It is a complete trading platform consisting of an MQL5 execution engine, Python AI research environment, machine learning pipeline, and
I need a trading robot for MetaTrader 5 that works on mobile for XAUUSD. === TRADING RULES === Symbol: XAUUSD Timeframe: M15 Trading Hours: 10:00 to 18:00 server time only Buy: When 10 EMA crosses above 50 EMA Sell: When 10 EMA crosses below 50 EMA Close opposite position when new signal appears === RISK MANAGEMENT === Risk per trade: 1% of account balance Stop Loss: 300 points / $3.00 Take Profit: 600 points / $6.00
Jona copilot v12
30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
Please programm liquidity sweep
100+ USD
Please programm liquidity sweep based on my 0/1 conditions. I will contact selected candidates, btw, Maybe you did already liquidity sweep, it would be very nice, you will have better understanding what I mean, source of code required
I need an ea send news low medium or high to my telegram channel or group with topic news news news news news n n n j j i i i o
I am searching a specialist for market validation
30 - 100 USD
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Anybody programm in python here?
100 - 500 USD
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
I am searching a professional programmer
100 - 700 USD
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug
30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Informations sur le projet
Budget
30 - 40 USD