Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484499
11/01/21 21:51
11/01/21 21:51
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdlV You can use the Download script. In the first input box, replace the Symbol with the generated asset file name (without the .csv)

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484502
11/02/21 18:40
11/02/21 18:40
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @kzhao. But I don't understand. How does this help create a subset csv containing only those Assets with <n> History values?

Thanks.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484504
11/03/21 02:03
11/03/21 02:03
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdlV I see. I misunderstood your question. Do you want to create a .csv file containing the history values of all the symbols in *symbols? I'm afraid Zorro doesn't provide this functionality. But you can use the ZHistoryEditor (http://server.conitec.net/down/ZHistoryEditor.zip) to create .csv file for each symbol from the .t6 file then combine them to a single .csv. Hopefully, this helps.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484506
11/03/21 06:36
11/03/21 06:36
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @kzhao. Sorry for not being clear. I'm looking for a way to query "How much History does this Asset have?" without actually downloading the History at that time.

Example scenario: I get a list of Assets (stocks and/or ETFs) for some sector. I'd like to quickly prune the list, eliminating any Assets that don't have whatever I consider to be enough History. I.e., I don't want to waste the time downloading what won't be enough History for Assets that I won't consider further.

Thanks.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: DdlV] #484508
11/03/21 13:21
11/03/21 13:21
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted by DdlV
Thanks @kzhao. Sorry for not being clear. I'm looking for a way to query "How much History does this Asset have?" without actually downloading the History at that time.
I know zero broker API's that give you this information. grin Really, the only way to know this is to download historical data.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484509
11/03/21 14:24
11/03/21 14:24
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdlV

As @AndresAMD said, Alpaca doesn't provide any API to give you this information.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484512
11/03/21 18:23
11/03/21 18:23
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @AndrewAMD, @kzhao.

I didn't expect, but I hoped... laugh

Oh well, off to devise yet another workaround...

Thanks.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484541
11/09/21 18:53
11/09/21 18:53
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi @kzhao,

I'm not sure if this is a plugin or Zorro issue... Very occasionally (like 1x/mo at most) when I'm downloading prices and there is an extended or more severe Internet outage, Zorro will hang hard. The message window stops updating, clicking Stop does nothing, and clicking Close does nothing. I have to kill Zorro completely. Have you seen this? Or is it a Zorro issue? Or Windows? laugh

Thanks.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484542
11/09/21 19:34
11/09/21 19:34
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdlV Hmm, I haven't seen this yet. Not sure if it is a Zorro or plugin issue. Both are possible. I'll keep an eye on this. If you have a log with the log level set to 6, that could be helpful.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484557
11/11/21 17:34
11/11/21 17:34
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
@kzhao,

Have set log level 6. Will let you know what it shows when/if happens again.

Another question: If I use

Code
brokerCommand(2001, 0);


to get a csv of all symbols, is there an easy way to tell what's what? Stock, ETF, or other attributes?

Thanks.

Page 2 of 3 1 2 3

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