Partial Exit / Scaling out

Posted By: MeanGuy

Partial Exit / Scaling out - 10/27/16 09:35

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
Posted By: jcl

Re: Partial Exit / Scaling out - 11/09/16 14:25

Check NFA. Partially closing is only supported on Non-NFA accounts.
© 2024 lite-C Forums