Order rejection
Forums › ProRealTime English forum › ProOrder support › Order rejection
- This topic has 22 replies, 4 voices, and was last updated 3 years ago by
JS.
-
-
01/04/2022 at 8:17 PM #184537
I am using IG and PRT. I have about 7 simple strategies running in Pro Order recently and they have not generated any trade or open any position – there is a rejection “order rejected by the broker” WHY? Am I not deploying the scripts to Pro Order correctly?
01/04/2022 at 8:50 PM #18454101/04/2022 at 9:38 PM #184559Or maybe your position size is below the minimum for the Instrument you are trading?
there is a rejection “order rejected by the broker”
Only one??
So maybe, in the other 6 strategies, the Buy / SellShort conditions have not occured?
01/05/2022 at 8:39 PM #184675Currently, I am testing the prt / ig system and integration, as well as operational testing before I do further development. The code are very simple, see below. For the Grid Trading strategy, set the entry prices 19$, go long and exit when the profit is above or equal to 10%. The minimum number of contracts/points is 100 points. This script was rejected. Also, why are these scripts ONLY get invoked at 19:00 hours, see attachment.
// Definition of code parameters
DEFPARAM CumulateOrders = False // Cumulating positions deactivated// Conditions to enter long positions
c1 = (close >= 19)
c2 = (close < 19.50)c3 = (close >= 19.50 )
c4 = (close < 20)c5 = (close >= 20)
c6 = (close < 20.50)IF (c1 AND c2) OR (c3 AND c4) OR (c5 AND c6) THEN
BUY 100 PERPOINT AT MARKET
ENDIF// Stops and targets
SET STOP %LOSS 50
SET TARGET %PROFIT 1001/05/2022 at 9:34 PM #18467901/05/2022 at 10:46 PM #184681Hi @micquan
When using this strategy, you must consider that you are trading between two fixed boundaries (grid), in this case a maximum of 20.50 and a minimum of 19.
When your strategy wanted to execute a trade, the VIX was already above 20.50 so it was rejected.
Your time frame is a day and you activated the system January 4th at 18:00
Your first candle closes on January 5 at 18:00 (+ 1 hour time difference) is 19:00.
So, the system tries to make its first trade at 19:00 but it is rejected for the above mentioned reason.
The margin for a 1 euro contract is 20% so total margin for 100 contracts is:
22 x 100 x 20% = 440 euros
1 user thanked author for this post.
01/05/2022 at 11:00 PM #18468201/06/2022 at 1:13 AM #184685Hi @GraHal, It’s a simple grid trading strategy which I want to develop further. I just started using autotrading tools prt and still have a long way to go before I develop something sensible and useable but I have to start somewhere or nothing at all.
01/06/2022 at 1:14 AM #18468601/06/2022 at 1:23 AM #18468701/06/2022 at 2:09 AM #18468901/06/2022 at 6:41 AM #184691Hi @micquan
In your VIX – ROC strategy, indicator1 is the same as indicator2…it must crosses over 0 and must be > 10 at the same time which is impossible…
Set your StopLoss right after Buy, so it will only be activated when actually buying, otherwise it will be rejected…(no limit)
01/06/2022 at 7:39 AM #18469201/06/2022 at 8:09 AM #184694Am I right or am I missing something?
Are you trading Volat Index(DFB)? You are showing 10 Contracts on your backtest.
Even at 10 Contracts, could you sleep at night with the $42,000 Drawdown showing on your results??
$42,000 Drawdown is over 40% of your starting capital of £100,000!According to my Platform, the minimum position size is 100 Contracts … see attached at red arrowhead.
01/06/2022 at 9:37 AM #184710if you’re just starting out with PRT, I would strongly advise you to stick with the DOW, DAX, SP (US 500) or NASDAQ (US tech 100) as they have the lowest spreads. In % terms, the VIX is over 100x more expensive to trade than the DAX (0.725 vs 0.007), it’s like swimming with a rock tied around your leg.
Some of these ’boutique’ indices may seem sexy but the simple fact is that (generally speaking), all indices do the same thing – they go up and they go down and you’re trying to catch some of that movement. There’s no big magic in trading this one as opposed to that one. Don’t make it more difficult for yourself by starting every trade with an enormous hill to climb just to get past the spread.
There are also certain foundational principles that are worth considering. Your stoploss is 5x higher than your target profit. Very difficult to make that work in the real world. I have never seen a successful algo where the stop was greater than the target. It might be possible, but for me it’s a big red flag. Not to mention that your 50% stop would be quickly ruinous.
More typical (and more sane) would be 1% stop, 2% target (or something like that…)
best of luck!
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on