Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, AndrewAMD, Imhotep, TipmyPip, Edgar_Herrera), 809 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Z3 (& others?) with ETFs? #483354
05/23/21 18:25
05/23/21 18:25
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi. I seem to recall there was once a post about using ETFs in place of CFDs for Z3 (& maybe other strategies?), but I can't find it. I would appreciate thoughts on this:

- Link to the post(s)?
- Best CFD<->ETF equivalences?
- If the ETF is not leveraged, set leverage to 1 in the csv?
- Or, use a Leveraged ETF? With leverage in the csv still set to 1? Or to the ETF's leverage?
- Any other thoughts?

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #483387
05/27/21 08:38
05/27/21 08:38
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Z3 can theoretically also work with ETFs, but is more effective with CFDs. ETFs are better for long term trades, CFDs for short term trades. They have similar price curves, but a very different leverage and cost structure.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #483394
05/27/21 12:23
05/27/21 12:23
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @jcl.

I (think I) understand those similarities and differences in theory, but wanted to Test to see what actually bears out. The questions above were to be able to do that:

- Rather than re-inventing the wheel, is there somewhere a list of which ETFs best match which CFDs? (Preferably the Z3 CFDs laugh )

- It seems obvious if the ETF is not leveraged to set Leverage to 1 in the csv. But if the ETF is leveraged, that happens "within the ETF" rather than "at the Broker", so should Leverage also be kept at 1 in this case?

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484216
09/22/21 02:04
09/22/21 02:04
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

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

I'm finally getting back to thinking/trying/Testing this again... But it seems Z3 is hard-coded to look for CFD-named files? F.i., if I change AssetsFix.csv so the Symbol for SPX500 is SPY, Z3 still looks for SPX500.t6, not SPY.t6. How can I fix this?

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484256
09/26/21 15:42
09/26/21 15:42
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Rename SPY.t6 to SPX500.t6. And ETFs are normally leveraged 2:1 when your account is a margin account.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484265
09/28/21 06:03
09/28/21 06:03
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @Petra.

Renaming History files: Will obviously work, but as a general practice would become a housekeeping nightmare! Do we really want to proliferate files whose data doesn't match their name? It would seem there has to be a better way. Shouldn't the History file be pulled based on the Symbol name, as when getting the data from the Broker?

Leverage: As always, a confusing topic. Are you talking about the Leverage the Broker may apply based on account size, type, whatever? Or are you talking about leveraged ETFs? If the former, and the latter is used, is then Leverage multiplied to 4x, 6x, whatever?

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484434
10/25/21 22:38
10/25/21 22:38
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
@Petra, @jcl,

Would appreciate your thoughts on the above.

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484440
10/26/21 01:19
10/26/21 01:19
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Originally Posted by DdlV
Shouldn't the History file be pulled based on the Symbol name, as when getting the data from the Broker?
Absolutely not! Symbols can and do have all kinds of illegal characters that are not compatible with your filesystem. (This is your broker's fault.) That's why Asset names have strict naming conventions.
Originally Posted by DdlV
Leverage: As always, a confusing topic. Are you talking about the Leverage the Broker may apply based on account size, type, whatever? Or are you talking about leveraged ETFs? If the former, and the latter is used, is then Leverage multiplied to 4x, 6x, whatever?
This was in reference to the standard (Regulation T) Margin account, where you get approximately 2:1 leverage for most stocks and ETFs. You get even more leverage for leveraged ETFs (or at least the security itself is constructed as such). You get less leverage when your broker decides to change the margin requirements for an individual symbol, as was the case with GameStop during the Diamond Hands incident. You can get even more leverage for most all products with a Portfolio Margin account, but you must have a ton of money in your account.

When in doubt, check your broker's margin requirements for any given symbol and account type.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484456
10/26/21 17:35
10/26/21 17:35
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

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

Symbols: *sigh* Stuck with the maintenance nightmare, then. Will probably use .ini History, overlay, & symbolic links to help...

Leverage: I was actually asking the Assets<x>.csv question. Is the Leverage field in Assets<x>.csv the leverage the broker provides for that instrument, irrespective of any leverage provided within the ETF? Using your example of a 2:1 account, is the Leverage field for a 3:1 ETF always 2, not 6?

Thanks.

Re: Z3 (& others?) with ETFs? [Re: DdlV] #484457
10/26/21 18:11
10/26/21 18:11
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Originally Posted by DdlV
Leverage: I was actually asking the Assets<x>.csv question. Is the Leverage field in Assets<x>.csv the leverage the broker provides for that instrument, irrespective of any leverage provided within the ETF? Using your example of a 2:1 account, is the Leverage field for a 3:1 ETF always 2, not 6?
I think the product itself is designed to mimic the target leverage (i.e. if the SP500 ticker goes up 10% in a day, the x2 ticker goes up 20%, and the x3 ticker goes up 30%). Your broker will determine your margin requirements beyond that. Especially for these weird products, you need to check the margin requirements.

Page 1 of 2 1 2

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