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
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 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
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