History database

All posts which do not fit into any other sections of the forum.

Moderator: admin

Re: History database

Postby Cactus » Thu Nov 10, 2016 1:12 pm

Nevermind that upstairs.

I'm wondering, can a version of a GUI like this be created in the near future to download indicator data with the price in the columns next to it. A box with fields to select indicators you want and their settings just like when adding an indicator on the charts in marketscope. For example, o,h,l,c,stochastic,rsi,somethingelse
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: History database

Postby Cactus » Tue Feb 21, 2017 7:37 pm

I see the newly added "Indicator Runner" takes care of that issue, thanks
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: History database

Postby Cactus » Fri Dec 18, 2020 10:24 am

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
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: History database

Postby Cactus » Mon Dec 21, 2020 11:53 am

Also, on AUD/JPY 1m I am getting "Request failed: bad allocation", what might be causing this?
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Previous

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 6 guests