Dukascopy
 
 
Wiki JStore Search Login

PLACE_OFFER multiple partial fills, remainder cancelled
 Post subject: PLACE_OFFER multiple partial fills, remainder cancelled Post rating: 0   New post Posted: Fri 12 Oct, 2012, 20:07 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Attached image shows a partially filled PLACE_OFFER order using the JForex platform, for 3.000 thousand. The order is partially filled with amounts which can be seen on the message log totalling 2.352 thousand. 3 separate partial fill events occurred and then, because the remainder was <1000 the order for the remainder was Cancelled.

This makes it very difficult to manage PLACE_OFFER or PLACE_BID orders because they are not guaranteed to fill completely, even if the market passes well through the order price, due to cancellation of the order for the <1000 remainder. At any point where the remainder is <1000 the remainder outstanding order will be Cancelled.

However, if I have an order which is filled <1000, I am able to Close it through the JForex platform, even though I am not able to issue any order for Amount < 1000. In a Strategy module, additional logic would be required to choose Close, versus Cancellation of an order with requestedAmount <1000.

Is the API also restricted so that order submission <1000 is disallowed? It appears the only way to get FLAT is to Close the order if amount <1000 and I assume both JForex platform and the API would both behave in this same manner?

Is there any way to guarantee that the PLACE_OFFER or PLACE_BID will be able to be completely filled, in the case of multiple partial fills?

ARE THERE ANY PLANS TO DEAL WITH SUB-MICRO LOT FILL QUANTITIES, OR REMAINDERS?
For example, Sub-Micro lot <1000 fill quantities could be disallowed, and/or a remainder <1000 could be permitted as a lot size on an Order.

18:36:28 OFFER CANCELLED #68320547 reason: OFFER CANCELED REMAINING AMOUNT < 1000
18:36:28 Order FILLED at 1.29552 USD (#68321026 Parent Order #68320547 PLACE OFFER 0.000432 mil. EUR/USD @ 1.29552 EXPIRES: GTC) - Position #16416970
18:35:57 Order FILLED at 1.29552 USD (#68321002 Parent Order #68320547 PLACE OFFER 0.00072 mil. EUR/USD @ 1.29552 EXPIRES: GTC) - Position #16416970
18:35:24 Order FILLED at 1.29552 USD (#68320980 Parent Order #68320547 PLACE OFFER 0.0012 mil. EUR/USD @ 1.29552 EXPIRES: GTC) - Position #16416970
18:23:54 OFFER ACCEPTED: #68320547 PLACE OFFER 0.003 mil. EUR/USD @ 1.29552 EXPIRES: GTC - Position #16416970


Attachments:
PlaceOfferOrderNeverFullyFilled.png [267.83 KiB]
Downloaded 359 times
PlaceOfferOrderNeverFullyFilledMessages.png [220.46 KiB]
Downloaded 360 times
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.
 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com