Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,209 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 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,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
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