Trabalho concluído
Tempo de execução 1 dia
Comentário do cliente
Alain Is very professional data scientist, I full recommend, this is the man!
Comentário do desenvolvedor
Interesting job and very nice customer. Recommended.
Termos de Referência
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); } }
Respondido
1
Classificação
Projetos
334
55%
Arbitragem
14
36%
/
29%
Expirado
1
0%
Livre
2
Classificação
Projetos
148
59%
Arbitragem
16
38%
/
13%
Expirado
25
17%
Livre
Publicou: 1 código
3
Classificação
Projetos
285
42%
Arbitragem
19
63%
/
5%
Expirado
29
10%
Livre
Publicou: 2 códigos
4
Classificação
Projetos
25
12%
Arbitragem
1
0%
/
100%
Expirado
8
32%
Livre
5
Classificação
Projetos
302
79%
Arbitragem
4
25%
/
0%
Expirado
62
21%
Livre
Publicou: 7 códigos
Pedidos semelhantes
SIERRA CHART AUTOMATION
70+ USD
Hello, I am interested in working . I have several strategies that I want to automate. However, I need a developer beforehand to explain the strategies and discuss the next steps
Title: MT4 One Click Trader EA (Custom Development) I am looking for an experienced MQL4 developer to build a custom One Click Trader Expert Advisor for MetaTrader 4. The objective is a fast, reliable, execution-focused trading panel with minimal visual clutter and robust operation on both standard and offline charts. Requirements Trade Panel The EA must provide a simple trading panel containing: Buy button Sell
EliavTrade – Supply & Demand Prop Firm Trading System
250 - 398 USD
Project Name EliavTrade – Supply & Demand Prop Firm Trading System Executive Summary EliavTrade is an MT5 Expert Advisor designed to trade funded accounts and personal retail accounts using a rule-based Supply and Demand methodology combined with institutional risk management. The EA's primary objective is capital preservation and consistent account growth rather than aggressive returns. The system must be capable
Description: I am looking for a highly experienced MT5 developer to build a manual‑execution Expert Advisor called Chain Flow . This project is not suitable for beginners , indicator‑only developers, or anyone who has not previously built complex object‑based systems. The EA relies heavily on chart objects , state machines , and clean UI panel logic . Project Overview (High‑Level): Chain Flow is a manual execution EA
I'm after a solid, ready-to-use indicator (already built — not looking to commission from scratch) with the following: Clear BUY / SELL signals — clean and easy to read on the chart Around 75% accuracy (backtested / proven results preferred) Clear labeling directly on the chart for every signal Built-in Stop Loss levels Smart Take Profit targets (multiple TPs ideal) Fast-reacting — picks up moves quickly without
Sierra chart job
75+ USD
Hello, I am interested in working . I have several strategies that I want to automate. However, I need a developer beforehand to explain the strategies and discuss the next steps
Sweetposion hedge
30+ USD
Read signal and enter trade and close trade at good profits and open trade again. Either bullish or bearish signals at 0.1 on XAUUSD. Maximum trade a day should be 4-5 times with good opens and close signals. Looking foward to a long cooperation and also a honest and genuine person
Advanced Trend Momentum Expert Advisor for Forex
30 - 100 USD
Strategy Overview: I am looking for a professional MQL5 developer to create an Expert Advisor named "AURAE". The EA is based on a hybrid strategy that combines trend momentum analysis with volatility filters to identify high-probability entry points. Core Requirements: Logic: The EA should analyze trend direction using Moving Averages and confirm momentum using RSI. Entry Rules: * Buy: When the price closes above
AlphaGreen
150 - 200 USD
Hello, I need a professional MT5 Expert Advisor (EA) developed for a custom indicator-based strategy. Strategy Logic: Determine the trend direction: Uptrend = Buy opportunities only. Downtrend = Sell opportunities only. Entry Conditions: The indicator has 4 lines: 2 Green lines, 1 Red line, and 1 Blue line. Open a Buy trade when both Green lines move inside/between the Red and Blue lines during an uptrend. Open a
Robot trading
30+ USD
A trading robot that operates with a balance of $20 to $50, with a loss of $5 and a profit of $10, and a maximum of three trades per day
Informações sobre o projeto
Orçamento
30 - 40 USD