Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 838 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Partial Exit / Scaling out #462771
10/27/16 09:35
10/27/16 09:35
Joined: Oct 2016
Posts: 1
asdasd
M
MeanGuy Offline OP
Guest
MeanGuy  Offline OP
Guest
M

Joined: Oct 2016
Posts: 1
asdasd
Hey fellow algotraders,

I tried to implement partial exits but I can't get it to work with Zorro (v1.5 free).
What I do is: enterLong(2) and after a certain Profit Limit I call exitLong(0,0,1). I figure Zorro should close 1 Lot but actually closes the whole position.

What am I doing wrong?

Also tried exitTrade, changing TradeLot via the TMF, can't get it to work...

Maybe somebody who has done something similar could share a code snippet.

Cheers,
The Mean Guy

Last edited by MeanGuy; 10/27/16 13:04.
Re: Partial Exit / Scaling out [Re: MeanGuy] #462980
11/09/16 14:25
11/09/16 14:25
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Check NFA. Partially closing is only supported on Non-NFA accounts.


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