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

Joined: Sep 2019
Posts: 63
Naperville
@DdIV Unfortunately, there is no easy way to tell what is the type of the asset. Assets returned from Alpaca API all have the "us_equity" class. The only way to distinguish Stock, ETF is from the name field, but the name field doesn't fit into the asset.csv file.

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

Joined: Jun 2013
Posts: 1,609
Thanks @kzhao. Unfortunately, that confirms what I thought. frown

3 ideas for consideration:

  • Does the csv file ignore extra fields at the end of each line?
  • Does the csv file support "#" comments at the end of each line?
  • Perhaps also create a companion AssetsAlpaca[Paper]Name file?


Thanks.

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484564
11/12/21 01:48
11/12/21 01:48
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@jcl Is that OK to include a custom column in the AssetList.csv file?

Re: AlpacaZorroPlugin v1.1.0 Released [Re: kzhao] #484581
11/15/21 16:01
11/15/21 16:01
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdIV I ran some tests. It seems fine to have a custom column in the AssetList.csv. I can add it in the next release.

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

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

Would it be better as a custom column, or as a "#" comment at the end of the line? (In case @jcl & crew decide to add more columns...)

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

Joined: Sep 2019
Posts: 63
Naperville
@DdIV I think it is better to add a custom column. The CSV standard doesn't have a comment.

Page 3 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