PlaceExecutionReport placeOrders ( StringmarketId , List< PlaceInstruction >instructions ,StringcustomerRef ) throws APINGException Place new orders into market. This operation is atomic in that all orders will be placed or none will be placed. Please note that additional bet sizing rules apply to bets placed into the Italian Exchange. Parameter name | Type | Required | Description |
---|
marketId | String | | The market id these orders are to be placed on | instructions | List< PlaceInstruction > | | The number of place instructions. The limit of place instructions per request is 200 for the UK/AUS Exchange and 50 for the Italian Exchange. | customerRef | String | | Optional parameter allowing the client to pass a unique string (up to 32 chars) that is used to de-dupe mistaken re-submissions. CustomerRef can contain: upper/lower chars, digits, chars : - . _ + * : ; ~ only. Please note: There is a time window associated with the de-duplication of duplicate submissions which is 60 seconds. | marketVersion | MarketVersion | | Optional parameter allowing the client to specify which version of the market the orders should be placed on. If the current market version is higher than that sent on an order, the bet will be lapsed. Useful when a customer doesn't want to bet in play and is worried that their bet might arrive after the market has turned in play. | customerStrategyRef | String | | An optional reference customers can use to specify which strategy has sent the order. The reference will be returned on order change messages through the stream API. The string is limited to 15 characters. If an empty string is provided it will be treated as null. |
Throws | Description |
---|
APINGException | Generic exception that is thrown if this operation fails for any reason. |
Since 1.0.0 |