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
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 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
Remove CFDs from Z12 for USA account #480686
06/29/20 01:06
06/29/20 01:06
Joined: Jun 2020
Posts: 1
USA
V
vrindger Offline OP
Guest
vrindger  Offline OP
Guest
V

Joined: Jun 2020
Posts: 1
USA
Hi,

Because I can't trade CFD's in the US, can I still run the Z12 strategies without CFDs using only forex?

Is there a way to remove CFDS from the strategies (maybe from the assetlist or something?) ?

Is this recommended?

Thanks!

Last edited by vrindger; 06/29/20 01:30.
Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480687
06/29/20 05:01
06/29/20 05:01
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
https://zorro-trader.com/manual/en/zsystems.htm
z.ini
Exclude = "UK100"

You can then run backtest and see how it is doing.

Last edited by danatrader; 06/29/20 05:02.
Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480691
06/29/20 11:34
06/29/20 11:34
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
"Exclude" is not for Z12, but excluding assets is described under "Exclude assets". Before trading anything, make sure that you have read that page from top to bottom.

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480696
06/29/20 15:39
06/29/20 15:39
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl.

(This question is migrated (and added to) from the other thread as it fits better here, regarding procedure for trading in US account)

Can you please confirm: For trading Z Systems in a US account, one must:

0) FXOnly is deprecated and its value doesn't matter
1) (One way or another,) Set the NFA flag (to be safest, always set even if the broker supposedly handles it)
2) Manually adjust assets - Exclude in z<n>.ini for Z3 & Z7, or the .fac list (setting all invalid Assets to <=0) for Z1, Z2, & Z12
3) Set StopFactor=0 (for Oanda - and other brokers?)
4) Test, Test, Test - and evaluate if you really still want to Trade the System under these restrictions

Is this list of steps correct and complete?

Thanks.

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480741
07/06/20 10:29
07/06/20 10:29
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, that's correct, except that you should only set the NFA flag when you know that your broker needs it. It must be set for IB, but must not be set for Oanda. StopFactor can normally be left at default.

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480743
07/06/20 15:20
07/06/20 15:20
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

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

Re. NFA, how does one know if the (US) broker needs it? Are there particular keywords or things to look for? Or, alternatively, are there particular errors that occur with or without it?

Re. StopFactor, there's another thread about needing it to be 0 for Oanda - is that no longer the case?

Thanks.

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480744
07/06/20 15:29
07/06/20 15:29
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
You would know this by reading the manual pages for the broker plugins.

Oanda:
Quote
Oanda works around most NFA issues on their side of the API, so the NFA flag needs not be set.

IB:
Quote
The NFA flag must be set for IB accounts.


This is because issuing Trades (NFA=off) to the broker vs. issuing Orders (NFA=on) to the broker are completely different endeavors.
https://zorro-project.com/manual/en/brokerplugin.htm

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480751
07/07/20 17:24
07/07/20 17:24
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks AndrewAMD. RTFM links always appreciated. I have seen those pages, but

- the Oanda statement is rather weak - what does "most" mean? - are there situations where a strategy will need NFA to be set?

- I was also asking the general question which appears to be answered in your last comment. However, brokers do not seem to be always transparent about Trades vs. Orders, so one must ultimately ask their Support staff? Or experience errors and adjust?

And the StopFactor question is still outstanding...

Thanks!

Re: Remove CFDs from Z12 for USA account [Re: DdlV] #480753
07/07/20 18:17
07/07/20 18:17
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
- the Oanda statement is rather weak - what does "most" mean? - are there situations where a strategy will need NFA to be set?
No, never. It's just saying that Oanda is always NFA compliant when you place trades, so you should never set the flag.
Originally Posted by DdlV
However, brokers do not seem to be always transparent about Trades vs. Orders, so one must ultimately ask their Support staff?
No, it's always obvious, especially to the broker plugin author, who knows how to read the broker's API documentation and then implemented a client for it in one flavor or the other. Each broker plugin manual page tells you whether to set the NFA flag for this very reason.
Originally Posted by DdlV
Or experience errors and adjust?
Do you make this adjustment before or after you blow your account? That's the question. wink

Re: Remove CFDs from Z12 for USA account [Re: vrindger] #480758
07/08/20 05:30
07/08/20 05:30
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks AndrewAMD. But since Zorro is so flexible, there's the rest of the general question where broker plugins aren't used and instead it's MT4 or window control...

Thanks.

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