ReplaceExecutionReport replaceOrders#replaceOrders ( StringmarketId , List< ReplaceInstruction >instructions ,StringcustomerRef ) throws APINGException This operation is logically a bulk cancel followed by a bulk place. The cancel is completed first then the new orders are placed. The new orders will be placed atomically in that they will all be placed or none will be placed. In the case where the new orders cannot be placed the cancellations will not be rolled back. See ReplaceInstruction. Parameter name | Type | Required | Description |
---|
marketId | String | | The market id these orders are to be placed on | instructions | List< ReplaceInstruction > | | | 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. |
Throws | Description |
---|
APINGException | Generic exception that is thrown if this operation fails for any reason. |
Since 1.0.0 |