JFException: Cannot close order in CREATED .... state ....
Isak
Post subject: JFException: Cannot close order in CREATED .... state ....
Post rating: 0
Posted: Tue 03 Jan, 2012, 16:26
User rating: 6
Joined: Thu 19 May, 2011, 11:14 Posts: 235 Location: South Africa,
In a backtest, IOrder.close is throwing this: JFException: Cannot close order in CREATED, CLOSED or CANCELED state, current state - [CREATED]
This happens very rarely, but is there any particular reason why the order may have remained stuck in CREATED state? Especially since this was a back-test, so there should be no network latency?
API Support
Post subject: Re: JFException: Cannot close order in CREATED .... state ..
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.