Duplicate orders
Forums › ProRealTime English forum › ProOrder support › Duplicate orders
- This topic has 11 replies, 4 voices, and was last updated 7 years ago by Nicolas.
-
-
04/22/2017 at 8:24 AM #32933
Morning all,
Has anyone experienced incorrect or duplicate orders in live auto trading?
I had a duplicate order placed the other day, and to make matters much worse, neither of the orders had stops or limits in place!
This is pretty worrying to say the least.. I only had only gone live the day before this happened, and if I hadn’t noticed quickly, the result could have been a lot worse than the -40 points it cost me.
Would be interested to hear how common this is..
Thanks
Geoff
04/22/2017 at 12:30 PM #3294104/22/2017 at 12:42 PM #3294204/22/2017 at 2:26 PM #32948I tried replying earlier on my phone, but I don’t think it went through, so I’ll reply again:
the trigger was correct, but it opened 2 positions instead of 1 – almost exactly the same level and time. Neither had a stop or limit set (they should have done, based on my code!).
1 min timeframe, cumulateorders=false.
I contacted support with this, but am still waiting for a reply.
I think it might have had something to do with the maximum number of orders being hit that day.. my system had been stopped automatically. But obviously you wouldn’t expect it to result in a duplicate order with no stops or limits….very odd… and worrying
thanks
04/24/2017 at 2:24 PM #33187UPDATE: after several emails to pro realtime, (who haven’t come up with any explanations as yet), they said I should talk to IG. IG said their servers had gone down at precisely the time one of my automatic orders was being processed, which meant it was initially rejected. Then, when their servers came back on line, the order went through, but somehow this resulted in the other issues (duplicate order, missing stops/limits). IG said to get to the bottom of the other issues, I would need to go back to pro realtime – but as the initial problem was at IG’s side, they would be happy to refund my losses from the 2 orders (which I accepted).
Whether I’ll get any further with pro realtime I don’t know – but at least I recovered those losses.
04/24/2017 at 2:45 PM #3318904/24/2017 at 2:52 PM #3319204/25/2017 at 7:48 PM #33391something is wrong maybe its the 1-min tf that not work?
i have a bo system running on dow 1-min tf long only and today it took 1 long and closed with profit but then it open a short trade and closed on the same level and then the system stop?
how can it open a short trade when i have only buy at market and sell?
this is on demo, maybe live works better..
04/25/2017 at 10:27 PM #3341004/26/2017 at 6:34 AM #33416I think its the 1-min tf that not work? i dont use it normally
here is some proof
code used
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849// Main code : BO DOW 1 min 05-09 LONG V1a//-------------------------------------------------------------------------DEFPARAM PRELOADBARS = 10000DEFPARAM CumulateOrders = FalseDEFPARAM FLATAFTER =200000ONCE onetrade =0IF Intradaybarindex =0 THENonetrade = 0ENDIFindicator1 = Closeindicator2 = CALL "Breakout HIGH MINUT 05-0900"indicator3 = CALL "Breakout LOW MINUT 05-0900"mal = indicator2 - indicator3c1 = (indicator1 CROSSES OVER indicator2)// Conditions to enter long positionsIF NOT LongOnMarket AND c1 AND TIME > 085930 AND TIME < 200000 AND onetrade =0 THENBUY 1 CONTRACTS AT MARKETonetrade =1ENDIF// Conditions to exit long positionsIf LongOnMarket THENSELL AT indicator3 STOPENDIF// Conditions to enter short positions// Stops and targets : Enter your protection stops and profit targets hereSET TARGET PPROFIT mal*10SET STOP PLOSS 20004/26/2017 at 7:55 AM #3343104/26/2017 at 8:17 AM #33432You should not use CALL in ProOrder, it introduces strong calculations not needed to get a fast execution. Always a better thing to include all your indicators/signals codes into your ProOrder strategy code. Until the new data engine is not ready, this is what I strongly recommend.
-
AuthorPosts
Find exclusive trading pro-tools on