Alexey.Pechurin wrote:GetHistPricesCSV utility is a modified version of the standard QuotesManager API sample. It loads prices of any timeframe for any time period and saves them to a CSV file which can be opened in MS Excel. It's a Windows command line utility.
...
Hi Alexey.Pechurin,
Do you know why the GetHistPricesCSV utility is skipping a huge chunk of data for Apple stock (AAPL.us) on 1m timeframe?
I tried with different start dates, the result in .csv is always:
- Code: Select all
DateTime,BidOpen,BidHigh,BidLow,BidClose,AskOpen,AskHigh,AskLow,AskClose,Volume,
28/03/2017 15:39:00,35.58,35.58,35.58,35.58,35.58,35.58,35.58,35.58,1,
06/12/2019 01:00:00,64.25,64.25,64.25,64.25,66.47,66.47,66.47,66.47,0,
So the whole year 2018 is not there for some reason?
It shows the year 2018 for daily (D1) timeframe for example, but not 1m...
When downloading the 1m it begins in 09/05/2011 but like I mentioned there's a sudden huge gap from 28/03/2017 until 06/12/2019? Why such inconsistency
My batch file config is:
- Code: Select all
set LOGIN=<MY_LOGIN_ID>
set PASSWORD=<MY_PASSWORD>
set CONNECTION=Real
set INSTRUMENT=AAPL.us
set TIMEFRAME=m1
set OUTPUT=AAPLus_1Minute.csv
set DATE_FROM=01.01.1993 01:00:00
set DATE_TO=12.18.2020 13:15:00
set COUNT=
if "%DATE_FROM%" neq "" (
set DATE_FROM_ARG=/datefrom "%DATE_FROM%"
)
if "%DATE_TO%" neq "" (
set DATE_TO_ARG=/dateto "%DATE_TO%"
)
if "%COUNT%" neq "" (
set COUNT_ARG=/count %COUNT%
)
GetHistPricesCSV\GetHistPricesCSV /login %LOGIN% /password %PASSWORD% /connection %CONNECTION% /instrument %INSTRUMENT% /timeframe %TIMEFRAME% /url http://www.fxcorporate.com/Hosts.jsp %DATE_FROM_ARG% %DATE_TO_ARG% %COUNT_ARG% /output %OUTPUT%
Thanks