Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Market order with default slippage vs. partial fill or rejected orders
 Post subject: Market order with default slippage vs. partial fill or rejected orders Post rating: 0   New post Posted: Sat 23 Sep, 2017, 21:44 

User rating: 0
Joined: Wed 18 Mar, 2015, 23:57
Posts: 8
Location: Switzerland, Geneva
Hello everybody,

I have experienced quite a few situations when small orders (0.1m to 0.3m) have been only partially filled or even rejected despite high slippage parameter (e.g. 4 bps) and theoretically huge liquidity pool for an instrument (e.g. EURUSD).

Here is the standard code for submitting an order
myOrder = myEngine.submitOrder(label, instrument, myOrderCommand, amount, 0, mySlippage, stopLossPrice, takeProfitPrice);

1. How this code can be modified to submit a market order with a default max slippage regardless of an instrument? For example, EURUSD has a max allowed slippage of 5 bps, while slippage for metals is much higher.
2. Is (maximum) slippage almost a gurantee of filling an order? What else can be done to ensure order is filled?

Going through forums and Wiki I could not find an answer.

Thank you for your help.

Happy trading,
Gdoban


 
 Post subject: Re: Market order with default slippage vs. partial fill or rejected orders Post rating: 0   New post Posted: Thu 05 Oct, 2017, 09:00 

User rating: 18
Joined: Thu 20 Apr, 2017, 22:42
Posts: 165
Location: Russian Federation,
Just an idea - instead of BUY/SELL, send a 'Buy Limit/Sell Limit' with the limit well above/below current price.


 

Jump to:  

cron
  © 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