Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, SBGuy, Petra), 801 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How To Include A Stock In AssetFix.csv #467347
07/27/17 15:02
07/27/17 15:02
Joined: Jul 2017
Posts: 8
A
Alphatecht Offline OP
Newbie
Alphatecht  Offline OP
Newbie
A

Joined: Jul 2017
Posts: 8
Hi.

What would be the proper way to include a stock into AssetFix.csv?

Is the following logic for the Apple stock correct?
Name=Apple
Price=Last price of stock
Spread=Last bid-ask spread for the stock
RollLong=0
RollShort=Daily cost of borrowing the stock (should be negative) PIP=PIPCost=0 (Do not use PIP in the script)
MarginCost=0
Leverage=0
LotAmount=1
Commission=Broker commision
Symbol=AAPL

Re: How To Include A Stock In AssetFix.csv [Re: Alphatecht] #467348
07/27/17 15:12
07/27/17 15:12
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
No, that would be a really strange stock with no pip, no cost, and no margin. You can find all the parameters explained in the "Export" chapter of the manual. I believe AAPL is already defined in the AssetsIB list.




Re: How To Include A Stock In AssetFix.csv [Re: jcl] #467358
07/27/17 21:24
07/27/17 21:24
Joined: Jul 2017
Posts: 8
A
Alphatecht Offline OP
Newbie
Alphatecht  Offline OP
Newbie
A

Joined: Jul 2017
Posts: 8
Thanks a lot jcl. Just looked at different csv files that include different AssetLists and understand the proper way. Thanks


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1