Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (MadJack, AndrewAMD, Quad), 540 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
historical data from alphavantage #471740
03/18/18 09:52
03/18/18 09:52
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline OP
Newbie
IMMO_VIE  Offline OP
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
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!

Re: historical data from alphavantage [Re: IMMO_VIE] #471741
03/18/18 10:32
03/18/18 10:32
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
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.

Re: historical data from alphavantage [Re: Sphin] #471743
03/18/18 10:56
03/18/18 10:56
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline OP
Newbie
IMMO_VIE  Offline OP
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
thank you!
do i have to write a skript where i have to set from 0 to 1?
how this code would look?

Re: historical data from alphavantage [Re: IMMO_VIE] #471744
03/18/18 11:00
03/18/18 11:00
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Your questions are answered in the manual at assetHistory even with code examples.

Re: historical data from alphavantage [Re: Sphin] #471745
03/18/18 11:09
03/18/18 11:09
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline OP
Newbie
IMMO_VIE  Offline OP
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
danke! ich werde mein bestes versuchen laugh

Re: historical data from alphavantage [Re: IMMO_VIE] #471746
03/18/18 13:10
03/18/18 13:10
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline OP
Newbie
IMMO_VIE  Offline OP
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
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 Files downloading.png
Re: historical data from alphavantage [Re: IMMO_VIE] #471750
03/18/18 18:49
03/18/18 18:49
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline OP
Newbie
IMMO_VIE  Offline OP
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
i checked the ig logfile

Attached Files ippluginlog.PNG

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1