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
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1