Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
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 (7th_zorro, Aku_Aku, 1 invisible), 579 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Download all constituent stocks within Russel 1000 #476468
03/03/19 21:51
03/03/19 21:51
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
How can I download the end of day data for all of the Russell 1000 constituent stocks in Zorro?

Re: Download all constituent stocks within Russel 1000 [Re: RTG] #476473
03/04/19 07:43
03/04/19 07:43
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
EOD can be downloaded from stooq, use the download script or write a small script for that.

Re: Download all constituent stocks within Russel 1000 [Re: Spirit] #476490
03/05/19 01:47
03/05/19 01:47
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
Can you do it? US$20?

Re: Download all constituent stocks within Russel 1000 [Re: RTG] #476494
03/05/19 10:32
03/05/19 10:32
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I do it when you upload an asset list of the russell 1000 with the stock symbols in the first column.

Re: Download all constituent stocks within Russel 1000 [Re: Spirit] #476502
03/05/19 21:32
03/05/19 21:32
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
How is this?

Attached Files
Re: Download all constituent stocks within Russel 1000 [Re: RTG] #476509
03/06/19 07:43
03/06/19 07:43
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Yes but its no asset list yet, you must modify it so that every line looks like this:

AAPL,118.44,0.01,0,0,0.01,0.01,0,2,1,0.01,AAPL

I think the price in second column does not matter for download, you can set all to 100 or so. Look in the asset list assetsIB.csv, it has some stocks.

Upload it and then I do a script that uses this list for downloading all eods.

Re: Download all constituent stocks within Russel 1000 [Re: Spirit] #476526
03/07/19 14:29
03/07/19 14:29
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
What about this?

Attached Files
Re: Download all constituent stocks within Russel 1000 [Re: RTG] #476527
03/07/19 14:47
03/07/19 14:47
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Yes that looks good! Heres your script:

Code:
void main()
{
	assetList("russell-1000-index-03-05-2019_Zorro.csv");
	string Name;
	while(Name = loop(Assets))
		assetHistory(Name,FROM_STOOQ);
}


Re: Download all constituent stocks within Russel 1000 [Re: Spirit] #476558
03/10/19 03:57
03/10/19 03:57
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
Thanks. I'm getting this error.

Zorro 1.54.5 Trading Automaton
Made by oP group Germany 2013..2017


Error 018: Bad name "Russel 1000"
Russel 1000 compiling......
Error in 'line 10:
'FROM_STOOQ' undeclared identifier
< assetHistory(Name,FROM_STOOQ);
>.

I'll try the newest Zorro version

Last edited by RTG; 03/10/19 04:02.
Re: Download all constituent stocks within Russel 1000 [Re: RTG] #476629
03/17/19 12:16
03/17/19 12:16
Joined: Feb 2014
Posts: 181
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 181
Ok. Seems to work now. How to make it update the data instead of downloading the entire history everytime?

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1