Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Download D1 data from broker connection? #473271
06/25/18 13:19
06/25/18 13:19
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
The manual lists the following modes one can use to download data with "assetHistory" function

Quote:
FROM_GOOGLE - download daily (D1) price data from Google™ Finance.
FROM_QUANDL - download daily (D1) price data from Quandl™ (Zorro S required).
FROM_AV - download daily (D1) price data from AlphaVantage™.
FROM_STOOQ - download daily (D1) price data from Stooq™.
FROM_YAHOO - download daily (D1) price data from Yahoo™ Finance (currently out of service).
FROM_BITTREX - download daily (D1) cryptocurrency data from Bittrex™ (Zorro S required).
FROM_CRYPTOC - download daily (D1) cryptocurrency data from CryptoCompare™ (Zorro S required).
+1 - download M1 data (Bittrex/CryptoCompare only).
+2 - download H1 data (Bittrex/CryptoCompare only).
+UNADJUSTED - download unadjusted prices.
+OVERRIDE - download price data even when history is up to date.
1 - download unadjusted one-minute (M1) price data from the selected broker.
0 - download unadjusted tick quote (T1) data from the selected broker (Zorro S required).


While there is a setting to get M1 data from the selected broker, I do not see a corresponding mode to get D1 data from the same broker. Is it possible to download D1 data from a broker with Zorro?

Re: Download D1 data from broker connection? [Re: Hredot] #473273
06/25/18 13:53
06/25/18 13:53
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, only M1 and T1. If you need D1, you can convert M1 to D1 and store it under a different name.

Re: Download D1 data from broker connection? [Re: jcl] #473274
06/25/18 13:57
06/25/18 13:57
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
I see. Another question:
When downloading D1 data from AV or Quandl etc. does Zorro download the entire history up to the specified starting date every time completely, or just updates the missing days in existing history files?

Re: Download D1 data from broker connection? [Re: Hredot] #473275
06/25/18 14:01
06/25/18 14:01
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
Also, what about the following statement in the manual:

Quote:
In [Trade] mode, asset() causes the asset prices to be downloaded from the broker. If this is not desired or if the broker does not support that asset, add a '#' to the Symbol field in the asset list, or add an external price source such as QUANDL:, GOOGLE:, or AV:.


Would that download D1 data from the broker, if the time frame is set to 1 day bars?

Re: Download D1 data from broker connection? [Re: Hredot] #473446
07/07/18 13:23
07/07/18 13:23
Joined: Jul 2018
Posts: 1
Kuala Lumpur
G
giangpt Offline
Guest
giangpt  Offline
Guest
G

Joined: Jul 2018
Posts: 1
Kuala Lumpur
Hi All

I tried to download H1 data from Bitrrex exchange, however I could get only H1 data.

How to set up the parameter to get the right H1 data.

Thanks

Re: Download D1 data from broker connection? [Re: giangpt] #473465
07/10/18 13:16
07/10/18 13:16
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
FROM_BITTREX|2 loads H1 data.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1