ProRealTime order handling
Forums › ProRealTime English forum › ProRealTime platform support › ProRealTime order handling
- This topic has 13 replies, 4 voices, and was last updated 1 year ago by cahlucas.
-
-
03/15/2023 at 12:19 AM #211564
Dear members,
At the moment I am testing my strategies on the ProRealTime platform in combination with a paper trading account. What strikes me, and irritates me immensely, is that placing orders often turns out wrong. It has happened several times that when placing a stop order, the price levels that are entered are not executed correctly when the order is placed. Then I have to drag the levels in the graph, so that they indicate the correct value again. It also happens that, as soon as an order has been placed and the main order has been executed, the entered stop loss and profit level are erased over time. I don’t know if this has to do with the paper trading account or not. Does anyone have the same experience as me? What can be done about it? I would like to have this problem resolved, so if anyone can help I will be grateful.
03/15/2023 at 4:54 AM #211566Hi Karel,
About the StopLoss only (TakeProfit is rather similar but not completely) :
Is your “Stop Loss” a
Set Stop Loss xx
or is it of the form
sell n contracts at xx Stop
?The latter is a command which needs to be repeated each new bar (= each time the program code is called). In that case it can happen that the condition for when the command is executed (an If) is not always true and then the order disappears until the next time the condition is true.
Also, the xx can be different each time such a “pending order” is placed.Then I have to drag the levels in the graph, so that they indicate the correct value again.
That part does not belong. I mean, you should not be able to drag anything in the first place while under the control of the ProOrder system.
Are you working with IBKR or with IG for broker ?Regards,
Peter1 user thanked author for this post.
03/16/2023 at 10:32 PM #21167703/17/2023 at 4:51 AM #21167903/17/2023 at 8:11 AM #21168203/17/2023 at 8:36 AM #211683Allow me …
If you are using IG, there is a minimal distance to stop
If you are using IG, there is a minimum distance to stop
At least for the Dutch this reads quite the opposite, but I think for English too. Thus, the distance may become larger than you wanted it.It also happens that, as soon as an order has been placed and the main order has been executed, the entered stop loss and profit level are erased over time.
Here too possibly a small language issue 🙂 – Karel, I think what you are saying is :
When the main order is executed, the orders for the Stop Loss and Take Profit disappear later than the main order.
This would be correct (kind of) because the refresh of those connected orders will or may happen only at the start of a new bar/candle (in Live this happens instantly).I say it this vague because I still don’t know in which “paper trading” environment you reside (IB vs IG and they are not equal !) plus I hardly use “paper” environments so I don’t know for real. However, when looking at backtests, they sure behave similar, what you can see by the Exit times, which are also at the beginning of the new bar – while the price was taken in the middle of the previous bar (pending orders assumed, like Limit / Stop). This counts as well for Forward Testing (a Backtest which just keeps on running in real time), further knowing that both Backtests and Paper are simulations with undoubtedly very similar behavior. It is only that Backtests (in Forward mode) don’t show the Limit and Stop (and Stop Loss) order labels.
03/17/2023 at 11:24 PM #211703Aha. OK. The question is still whether this is PRT-IB (as broker) or PRT-IG (as broker) ? This matters a lot …
Dear Peter,
Honestly, I don’t know, and I don’t know how to find out either…
03/17/2023 at 11:28 PM #211704If you are using IG, there is a minimal distance to stop, so orders shall adjust to this requirement. Also, if you use “guaranteed stoploss”, the price levels could be very different than the price levels you want.
Dear Nicolas,
I don’t know if I have a paper trade account with IG, and I do not use a “guaranteed stop loss”.
03/17/2023 at 11:55 PM #211705When the main order is executed, the orders for the Stop Loss and Take Profit disappear later than the main order.
This would be correct (kind of) because the refresh of those connected orders will or may happen only at the start of a new bar/candle (in Live this happens instantly).Dear Peter,
What actually happened is this: immediately after I placed the order, both the entry, the stop loss and the take profit are correctly displayed on the screen, but after I log out and log in again later, after the entry has been executed the stop loss and take profit disappeared. This really annoys me, because this can cost a lot of money if this happens on a live account. What can be done about it?
03/18/2023 at 10:10 AM #211708I don’t know if I have a paper trade account with IG,
Does it say ‘Demo’ in the top left corner in a tiny square box?
If Yes, then it is a paper trading Account. (If only show red and green candlestick then it is a Live Account!).
If No, then you need to enable your paper / Demo Account in the IG Dashboard under Setting for PRT.
(For folks reading this … everybody needs to enable their Demo Accounts and it seems – from many answers to me on here over the years – that many folks do not know that Demo Accounts need to be enabled.
IMO a Demo Account should be provided as the DEFAULT and not have to be enabled by the User).
03/19/2023 at 4:23 AM #21172103/20/2023 at 12:18 AM #211753Hi Karel,
Can you show us the lines of code of those stoploss and takeprofit commands ?
Dear Peter,
The orders are placed by hand, and not through auto trading.
03/20/2023 at 6:37 AM #21175603/20/2023 at 6:57 PM #211840Oops, apologies. I forgot.
I think that best would be to call Dutch support. The 076 number.
And please let us know the results.
Dear Peter,
I contacted ProRealTime support, showed them my screenshots, and support reproduced the error. This confirms that the error is in the software, in this case the order ticket. Support has confirmed that they are forwarding the error to the engineers. That leaves the error of the disappearance of the stop loss and the possible take profit. After placing a combo order, the entry stop, the stop loss, and any take profit are correctly displayed on the screen. But after the entry stop has been executed and logged out, the stop loss and any take profit will have disappeared over time and after logging in again. Has anyone encountered the same error on a paper trading account? Or maybe even on a live account? I look forward to receiving responses, preferably with a possible solution.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on