historical data from alphavantage

Posted By: IMMO_VIE

historical data from alphavantage - 03/18/18 09:52

Hello!
I am using IG-Broker and i wanted to download GER30-data from them.
i got an keyfrom alphavantage and edited the zorro.ini

but how i can download the data from ger30 now and use them?
i found this:
dataDownload (string Code, int Mode, int Period): int
Downloads the dataset with the given Code from Quandl™ or other price sources, and stores it in CSV format in the History folder. Returns the number of data records. Data is only downloaded when it is more recent than the last downloaded data plus the given Period in minutes (at 0 the data is always downloaded).


thx for help!
Posted By: Sphin

Re: historical data from alphavantage - 03/18/18 10:32

If you want to use the downloaded prices directly in Zorro, assetHistory generally is your friend. If you use alphavantage as source there you download prices from alphavantage. If you want to download prices from IG you must use its plugin, select IG as broker and 0 or 1 as mode in assetHistory.
Posted By: IMMO_VIE

Re: historical data from alphavantage - 03/18/18 10:56

thank you!
do i have to write a skript where i have to set from 0 to 1?
how this code would look?
Posted By: Sphin

Re: historical data from alphavantage - 03/18/18 11:00

Your questions are answered in the manual at assetHistory even with code examples.
Posted By: IMMO_VIE

Re: historical data from alphavantage - 03/18/18 11:09

danke! ich werde mein bestes versuchen laugh
Posted By: IMMO_VIE

Re: historical data from alphavantage - 03/18/18 13:10

if i try to download historical data via the download.c skript i get the message in the box.
what do i have to do?

Attached picture downloading.png
Posted By: IMMO_VIE

Re: historical data from alphavantage - 03/18/18 18:49

i checked the ig logfile

Attached picture ippluginlog.PNG
© 2024 lite-C Forums