waidParticipant
Junior
I think it is a very basic request, but PRT seems does not support this function.
I encountered this message when ready to fire my robot:
“Trading system with orders that partially close the position cannot be sent directly to pro order”
Why PRT does not try to push IG to support this basic feature?
I guess IG must think we would make more money if IG allowed Partial Exits?
We can partial exit a manual trade no problem at all.
waidParticipant
Junior
Totally agree.
Eventually IG is MM. The more money we make, the more money we take from IG.
I am looking forward for auto trading alternative like tradingview w/ IG.
waidParticipant
Junior
Finally I came up with a workaround to solve this stupid problem:
0 < a < 1
original parital exit orders:
sell A*COUNTOFLONGSHARES contract at market
alternative way:
sell at market
buy (1-A)* COUNTOFLONGSHARES contract at market
Lots of spread fee wasted
IG doesn’t use the partial closure yet in their protocol between PRT software and their servers..
I think that your proposed solution is not working because first you close all long orders, and then you buy again, with less contracts, but far from the initial entry price, so that’s not like partial closure of a position opened since X bars ago.
I move your topic into the ProOrder section.
waidParticipant
Junior
I’d tested it in IG’s real money account, and indeed that works!
Strangely I did not see any “new buy” triggered but a partial closure triggered instead. (I saw 0.6 buying shares was closed, which means partial closure works!)
I post my proof in the attachment.
Sorry the screenshots are not clear to me.
But that’s indeed interesting, let me check on my own.
waidParticipant
Junior
Ya indeed it works, don’t know why, I’ve already tested in different currencies in real money.
// assume in current bar we have 3 buy shares, we want to partially close 1 buy:
sell 1 contract at market
//Equivalent to
sell at market
buy 2 contract at market
Maybe in IG’s trading server’s setting, the opposite orders request sent to IG within 1 seconds are considered as single partial close request.
In trading history, I did not see “sell 3 and then buy 2”, but just “sell 1”. So I conclude that this equivalent works.
Indeed it works since ProOrder makes a simple addition of the quantities subtracted (SELL AT) then added (BUY x) to keep at the end only the quantity of contracts desired. This principle is only functional because PRT has integrated the partial closing functionality with SELL X CONTRACTS (and which is not yet accepted by IG). In fact, you unintentionally found a workaround for what is accepted by both the language and the IG server.
BUT, I strongly don’t recommend using this ‘workaround’ at all, for several reasons:
- this is not an official and normal functionality of the interaction protocol between the software and the broker
- calculations of strategy results in detailed reports will not be correct, as this is not expected in normal operation
- in the event of a dispute with the broker, this type of “unofficial” operation could work against you
@nicolas – IG is coming up with their PRT v 11 by this month in Australia. Do you think they will allow partial trading in the new version?
IG is coming up with their PRT v 11 by this month in Australia
I know that things are moving, but see it before believing it.
Do you think they will allow partial trading in the new version?
I think so!
Is this really true ? v11 will finally be released this month ?