Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Nice! #408900
10/09/12 04:34
10/09/12 04:34
Joined: Oct 2012
Posts: 13
CO
G
gfx Offline OP
Newbie
gfx  Offline OP
Newbie
G

Joined: Oct 2012
Posts: 13
CO
jcl, this looks AMAZING. I've wished for a multi-symbol walk-forward tester for ages. Your implementation looks a little unusual (no charting, interesting script language, etc) but it looks like you've put a LOT of work and professionalism into it. My hat's off to you.

All the mentions I've seen say to open an account at FXCM UK. For a demo account it probably doesn't matter much, but I assume opening at FXCM US will also work, for those of us unfortunates under the NFA's thumb?

Does a demo account have to stay under $7000? Most of them open at $25k or $50k.

I've seen several places say that NFA Compliance Rule 2-43(b) doesn't allow stops !? That's not true. I've placed hundreds of trades since the NFA crackdown and I use a stop on every trade.

gfx

Re: Nice! [Re: gfx] #408909
10/09/12 10:52
10/09/12 10:52
Joined: Feb 2012
Posts: 37
S
stevegee58 Offline
Newbie
stevegee58  Offline
Newbie
S

Joined: Feb 2012
Posts: 37
You're allowed stops, you just can't place stops directly on the opening trade. Stops can be placed after the trade is filled.

Re: Nice! [Re: stevegee58] #408935
10/09/12 14:16
10/09/12 14:16
Joined: Oct 2012
Posts: 13
CO
G
gfx Offline OP
Newbie
gfx  Offline OP
Newbie
G

Joined: Oct 2012
Posts: 13
CO
I've DONE it on many trades, at several different brokers.

Re: Nice! [Re: gfx] #408937
10/09/12 14:37
10/09/12 14:37
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Thanks for the kind words. To your questions: Demo accounts have no limits, the $7K is for a life account only. NFA Compliance Rule 2-43(b) requires orders to be processed in FIFO sequence, which indeed forbids stops. The FXCM API refuses in fact any stop loss order on an US based account. If you try it, you get a lengthy error message.

Quote:
Compliance Rule 2-43(b) requires that for all Unites States based accounts orders be executed First In, First Out (FIFO). FIFO requires that when multiple positions are held in the same currency pair, the position which was first opened will be the first to be closed. This will prevent stop-loss and limit orders from being placed on individual tickets (orders and positions) through Order2Go API.


The universal FIX order protocol also does not support stop loss or profit targets on orders compliant with that rule. However there are multiple ways to work around this limitation and most brokers use them. In most cases, a stop loss order is converted into two OCO orders (one-cancels-other) in a way that a stop is emulated.

Re: Nice! [Re: jcl] #408947
10/09/12 16:11
10/09/12 16:11
Joined: Oct 2012
Posts: 13
CO
G
gfx Offline OP
Newbie
gfx  Offline OP
Newbie
G

Joined: Oct 2012
Posts: 13
CO
Hm. Maybe so. I've never seen any mention of simulated stops at any broker, but I guess that doesn't mean they don't do it. PFG simulated hedging by settling it in the back office, and they didn't really document that either.

New questions: Zorro seems to do a lot "under the covers" without telling you about it. I generally do a fair amount of my own analysis on my trade listings and trade executions. I don't see any place to get a trade listing from the backtests I've done so far. Is that available anywhere?

I haven't set up a demo account yet, but I have a suspicion Zorro invisibly executes trades. Is there any way to know what it's doing so I can keep an eye on it? Do I just have to monitor it with the broker's tools?

Re: Nice! [Re: gfx] #408948
10/09/12 17:33
10/09/12 17:33
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Invisibly executing trades? I'd be curious how that could be accomplished wink.

Aside from the two trade listings in Excel and text format, you can see all trades in the message window when you're in [Trade] mode. Look for LOGFILE, VERBOSE etc. in the manual about how to set up the trade logs. You can also access the complete trade list by script or with an external DLL, using the for_all_trades macro defined in trading.h.

http://zorro-trader.com/manual/en/mode.htm

Note that the Excel trade log is a perpetual file, i.e. all executed trades are added to it. You must delete trades manually for removing them from that log. It's meant for your tax declaration.

Re: Nice! [Re: jcl] #408955
10/09/12 19:51
10/09/12 19:51
Joined: Oct 2012
Posts: 13
CO
G
gfx Offline OP
Newbie
gfx  Offline OP
Newbie
G

Joined: Oct 2012
Posts: 13
CO
OK. Guess I just need to explore more before I ask dumb questions. laugh Thanks!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1