cancelOrders
- reduce the size of one or more orders e.g. half its stake
- don't believe it costs anything (no new bet ids)
replaceOrders
- change the prices of one or more orders
- cost is one new bet id
If you want to increase stake, you either cancel the original and place a new larger position (and it loses its place in the queue) or you add a new position for the difference.
Thanks merecat for your response. I've figured out about the newPrice in the ReplaceInstruction, but I was not aware of the sizeReduction of CancelInstruction (not very intuitive).
But what I'm interested more is is sizeIncrease, that seems as not possible in the API. Is like the cashout, both are posible via web but not in the API...I'm afraid.
Regards
If we were allowed to increase the size of an existing position that would provide a means to reserve a place in the order queue, not so fair perhaps and certainly a nightmare for BF to implement I would have thought. So it is by design I imagine. Adding the difference or cancelling and adding the whole anew are the only options that I know of.
cancelOrders
- reduce the size of one or more orders e.g. half its stake
- don't believe it costs anything (no new bet ids)
replaceOrders
- change the prices of one or more orders
- cost is one new bet id
If you want to increase stake, you either cancel the original and place a new larger position (and it loses its place in the queue) or you add a new position for the difference.
One question regarding reducing the size of the order using cancelOrders..
Can you reduce size so that remaining amount is now below BF minimum bet? i.e. €3 to €1??
Neil indirectly posted answer to this in another thread
re: placing below minimum bet limit of 2
It is possible to place bets of less than £2. However, we'd recommend that you only do this for 'greening-up' or short term testing. Placing bets consistently below the minimum stake level may result in your account being suspended as this is in breach of our terms and conditions.
If you have a 'Unmatched' bet of at least £2.00 on a specific selectionId in a market, you can submit further placeOrder requests for a stake of less than £2.00 on the same selectionId, cancel the original unmatched bet and the adjust the price of the new bet below £2 accordingly.
Alternatively, you can place an unmatched bet and then reduce the bet size to give you the new required stake amount (of less than £2). Using the cancelOrders service.
For example, reducing a £3 stake bet by £2 would leave you with an unmatched bet of £1 which you can then place at the desired odds using the replacOrders instruction:
Comment