Hi,
Do you know the code in order to resolve the reject message “position does not exist” ?
You may find an orphan trade (abandoned by a System! 🙁 ) if you use the IG Platform and click on ‘Positions’ in the left hand margin?
You may find an orphan trade (abandoned by a System! 🙁 ) if you use the IG Platform and click on ‘Positions’ in the left hand margin?
thus i have lot of orphan trade… 😉 .. this happened for the first time with 1s strategy.. on IG Platform there is nothing.. maybe it’s too fast for them.. omg
If on Demo … did you check IG Demo Platform?
If on Real … did you check IG Real PLatform?
Close PRT and and even close IG … then login again to see if any different?
Remember to save any wip! 🙂
Close PRT and and even close IG … then login again to see if any different?
Remember to save any wip! 🙂
thx Grahal i will try.. it’s the demo account, not serious. I have to work on my strategies 1s and to stay focused .. 😉
LéoParticipant
Average
Dear Grahal and Makside.
I have the same issue in demo and can not figure why.
This happens testing a code of the type below with DEFPARAM CumulateOrders = true and DEFPARAM preloadbars = 5000
Do you think this error is linked to the code ? or to its linked to the demo account ?
Thank you.
//Definition du range
TopRange = highest[periode](high)
LowRange = Lowest [periode](low)
C1 = TopRange-LowRange <30
//GRAPHONPRICE toprange As "Toprange"
//Graphonprice LowRange AS "LowRange"
// Conditions to enter positions
if C1 then
buy positionsize CONTRACT at TopRange+1 stop
sellshort positionsize CONTRACT at LowRange-1 stop
Endif
set stop ploss 30
Is it a one off occurrence?
If Yes, then just carry on … life is too short … esp as it is in Demo?
I get it from time to time and I just ignore / work around it.
LéoParticipant
Average
Hi Grahal,
No, it works for some time and then it keeps on stoping !
I think it happens when the system is doing the reverse, maybe it does not like to have X position cumulated on one side and an order to reverse for one position on the other side.
Maybe I should set the SL to be at LowRange.
it does not like to have X position cumulated on one side and an order to reverse for one position on the other side.
It would be worth setting a duplicate Algo going with CumulateOrders = False and see if ‘False’ does not get the error message?
Let us know how you get on please?
Maybe I should set the SL to be at LowRange.
I can’t see how the SL value will do it, but who knows? Try a duplicate Algo with a different SL value, I’d suggest much larger SL value … just as an experiment?
For info / comparison … I had Rejections for this error overnight / 5 Nov 20.
LéoParticipant
Average
HI Grahal,
Yes I will try this (defparam=false).
I tried on other time frame and the robot still to stop for different kind of reasons (“order already exist”, “position does not exist”, “order is to close from current market price. Minimum distance for this market is 300 points”.
I will post the conclusion here.
Thank you again !
I had more Rejections overnight against reason … ‘Position Does not Exist‘.
I reckon it is down to which reason the spinning wheel falls on as to what reason we get Rejected!? 🙂