Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
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
2 registered members (AndrewAMD, howardR), 472 guests, and 7 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
Z12 (only?) Partial Sell -> No Broker Stop! #468337
10/01/17 00:42
10/01/17 00:42
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 jcl. Not sure if this belongs in this section, the Broker section, or elsewhere. 1.60 Z12 trading at FXCM. This week Z12 did a partial sell. The new (remaining) trade ID is listed in TS, but does not have a (broker) Stop set. Is this as expected?

Thanks.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: DdlV] #468364
10/02/17 11:11
10/02/17 11:11
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
That depends on how brokers handle partial trades. FXCM replaces the old trade with a new one with the remaining lots and possibly no stop. Other brokers might handle this in a different way.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: jcl] #468377
10/02/17 15:56
10/02/17 15:56
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. But... Shouldn't Zorro check this? I.e., if the broker hasn't carried the stop from the old trade forward to the new trade shouldn't Zorro add it back?

Thanks.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: DdlV] #468382
10/02/17 16:47
10/02/17 16:47
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I don't know if there is an API function for reading stops. But you can switch off partial closes if this is worrying you.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: jcl] #468385
10/02/17 17:55
10/02/17 17:55
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
I prefer to run Zorro, like most software, as "vanilla" as possible. I tend to agree it's not a huge problem, but it is a hole...

Actually, in thinking it a bit more, since Zorro picks up the new Trade ID for the remaining lots, it could just set the Stop to the same value as the old trade so it's correct regardless of what the broker does - no reading required.

Thanks.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: DdlV] #468456
10/05/17 10:05
10/05/17 10:05
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
This is indeed possible. I've made a notice to check this for a future version.

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: jcl] #468459
10/05/17 14:20
10/05/17 14:20
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!

Re: Z12 (only?) Partial Sell -> No Broker Stop! [Re: jcl] #468464
10/05/17 18:09
10/05/17 18:09
Joined: Apr 2016
Posts: 27
Frankfurt, Germany
M
MIGI Offline
Newbie
MIGI  Offline
Newbie
M

Joined: Apr 2016
Posts: 27
Frankfurt, Germany
Originally Posted By: jcl
That depends on how brokers handle partial trades. FXCM replaces the old trade with a new one with the remaining lots and possibly no stop. Other brokers might handle this in a different way.


Only the OrderLots() are reduced and OrderTicket() gets a new ticket number. OrderStopLoss() and OrderTakeProfit() are not modified.


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