Partial close of position possible?!
Forums › ProRealTime English forum › ProOrder support › Partial close of position possible?!
- This topic has 29 replies, 10 voices, and was last updated 4 years ago by
UkDownUnder.
-
-
10/20/2017 at 4:47 PM #5007510/20/2017 at 7:32 PM #50087
I think Nicolas means that PRT somehow keeps track of the positions and if you for example give the command SET TARGET PPROFIT 20 for a cumulated position, PRT will close all contracts with exactly 20 points profit. PRT is not averaging and defining the target as 20 points from the average position price. Every contract is treated separately and closed after 20 points.
If you after this set a new target this effects all open contracts and not just the last opened.
1 user thanked author for this post.
10/20/2017 at 7:40 PM #50088You are doing nothing else than saying:
- Order 1: buy 1 contract at 12.200, exit at 12.220
- Order 2: buy 1 contract at 12.210, exit at 12.230
- Order 3: buy 1 contract at 12.220, exit at 12.240
This is cumulate orders with a fixed TP of 20. A partial close would do this:
- Order 1: buy 3 contracts at 12.200
- exit 1 at 12.220
- exit 2 at 12.230
- exit 3 at 12.240.
And this is not possible, because one buy order is one order and treated like one order (you can leave it running forerver or close it).
1 user thanked author for this post.
10/20/2017 at 8:41 PM #5009010/20/2017 at 9:37 PM #50092Thanks Despair – that clarifies it. So cumulated positions can only be closed all at once with a LIMIT or STOP or AT MARKET order or they can be closed gradually at a STOP LOSS or TARGET PROFIT amounts. This STOP LOSS or TARGET PROFIT can be changed but will be changed for all open positions. Now I understand why some of my strategies have not been doing what I expected them to be doing!
1 user thanked author for this post.
07/02/2018 at 11:11 AM #75080Seems like they made an update where it should be possible to partially close positions:
But when i try to run the code i get this error message in ProRealTime:
Trading systems that partially close a position cannot be sent to ProOrder…
Anybody knows whats going on?
07/02/2018 at 11:18 AM #7508107/02/2018 at 11:23 AM #75082“Partial close of positions is now available in manual and automated trading through ProRealTime.”
… Ok so it’s not only for me – it’s a typo and affect everyone? Very unprofessionally, they shouldn’t write this stuff if it aint working. Especially because they would know this is something people are waiting on very much. And still is 🙁
07/02/2018 at 12:57 PM #75085Yes it was already discussed here – you may have missed it.
https://www.prorealcode.com/topic/partial-closure-zero-quantity-exits/#post-74831
03/12/2019 at 12:23 PM #93456Hi there, just a quick question with this.
I have found accumulating orders to be very useful – that is if your system gets past an initial danger phase – where you are more susceptible than otherwise to ruin – until you have hopefully proceeded and built up sufficient capital.
To that end, I was hoping that the code below would work – to sell out/de-leverage if things aren’t going my way – the aim being to keep only 1 contract going in the market at all times.
It’s a great idea if it would work – but does this then fall under the banner of not being able to close out partial positions?
1234If EQUITYCURVE crosses under 1000 and abs(countofposition)>1 thensell (abs(Countoflongshares)-1) shares at marketexitshort (abs(countofshortshares)-1) shares at marketendifThanks,
Finning
03/12/2019 at 12:49 PM #93461Not yet possible in real live trading, but you can use it for sure in your backtests.
I’m not aware of the real date about the release of the full functioning of partial closure for ProOrder. I know ITF is very busy with the upcoming release of v11, so I’m sure this feature will be planned just after that.
04/19/2020 at 12:22 PM #12687404/19/2020 at 6:15 PM #12691904/28/2020 at 12:20 PM #12860808/07/2020 at 3:33 PM #141084Sure it’s not available yet, that wold be bad business,
Also liberating for individuals, that work and study hard!
I heard its available on competitors platforms but I’m saying nothing!
Surely slightly offset Entry points, followed by largely of set profitable Exit points works, somehow!
Although, I have tried separate Entry points on an individual ProOrder and found it will not run, I must be missing something, although I know, defiantly any condition matched for an Entry is possible, So why not any condition match for multiple Entries with off set or different conditions on a single system
-
AuthorPosts
Find exclusive trading pro-tools on