Partial closure zero quantity exits
Forums › ProRealTime English forum › ProOrder support › Partial closure zero quantity exits
- This topic has 14 replies, 5 voices, and was last updated 6 years ago by
Bob Bobulus.
-
-
06/22/2018 at 2:24 PM #74092
I’m preparing myself for when the soon to be released partial closure arrives. I have a strategy that opens one position of a calculated size and then closes it in several separate and equal value positions.
I notice that I get a lot of zero value exits. I put this down to rounding of odd quantities at first but then I noticed that it happens even if the total position size opened can be divided with no remainder left. In the image a position of 9.60 is opened and then closed in ten steps of 0.96 and then a zero quantity exit appears.
Can anyone explain these zero quantity exits?
06/24/2018 at 2:04 PM #74237Although the first question has not found an answer yet I have a second. I have not manually traded for ages and even then I rarely did partial closures of a position. So can someone please remind me if there is a maximum position size expected by IG when doing a partial closure of a position?
06/29/2018 at 8:17 AM #74692I can’t replicate the 0 quantity closure.
I used this code as for testing:
12345678if not onmarket thenbuy 9.6 shares at marketendifif barindex-lastbar>2 thensell 0.96 shares at marketlastbar=barindexendifThe 0 closure you are pointing is not a partial close I think, because it is labelled as a “buy exit” and not a sell exit of your buy position.
06/29/2018 at 8:28 AM #74697because it is labelled as a “buy exit” and not a sell exit
Well spotted! I really should put my glasses on more often! It would be interesting to know why it is there for some trades and not others.
Also do you know whether IG would expect us to be closing a position size equal or greater than the minimum position size allowed? So for example on a market with minimum position size of 1 I am guessing we cannot do a partial close of 0.5.
06/29/2018 at 8:34 AM #74699The code I was using was something like this:
123456789101112131415z = 10if not onmarket and (my conditions) thenbuy PositionSize * z contracts at marketendifif onmarket and (my conditions2) thenbuy PositionSize contracts at marketendifFor i = 1 to zif onmarket and (my exit condition using high[i]) thensell positionsize contracts at marketendifnext06/29/2018 at 4:26 PM #74831I’ve just been ‘Googling’ and I came across this:
I’m guessing this is just a case of the advertising arriving before the actual product as I can’t get any strategies with partial closures to run in forward testing on demo yet.
06/29/2018 at 5:27 PM #74844I was notified, a couple of days ago, by IG of new features already available. Partial closing of trades is one of them. I am not aware if it’s only for manual trading.
06/29/2018 at 5:58 PM #74854I understand that it is available via PRT for manual trading but I cannot forward test a partial closure auto strategy yet in demo and no one is going to want to put one live without any testing. I have not tested on a live strategy for exactly this reason!
06/29/2018 at 7:15 PM #7486508/07/2018 at 2:47 AM #77676I have spoken with IG and they do not seem to know when partial closures will be enabled and have referred me to PRC. Do we have any updates to when partial closures are being enabled in programmed trading?
08/08/2018 at 9:12 AM #77750I had the information that partial closure for automatic trading is still in heavy test to make sure everything go well, I think that should expect it on live account by September/October. It is already available for manual trading though.
1 user thanked author for this post.
11/18/2018 at 2:26 AM #85123Hi – has anyone had an update on partial closing being enabled for programmed trading?
1 user thanked author for this post.
01/10/2019 at 3:10 PM #88314Hi all,
I asked IG when the option of Partial Closure in probuilder will be available.
They reply:
“might take a long time since there’s only a few people requesting it and we work on a priority list whereas as we implement or initiate a function due to its demand from clients so it may take a while for us to implement this as the demand is too small”
Then I encourage all of you to request this option and make a bit of pressure.
Cheers01/10/2019 at 3:25 PM #88316Thanks Leo to update everyone on this aspect, this is the news I have:
You can believe me if I say that it is planned already. In fact, some of the December issues with MTF have caused delays on other server-side developments. So, we just have to wait for it.. 🙂
03/08/2019 at 2:18 AM #93131I have contacted IG several times now about this partial closure but no progress. If anyone has had any joy then please do update.
-
AuthorPosts
Find exclusive trading pro-tools on