Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#FFFFFF
titleBGColor#C8D0E4
titlereplaceOrders
ReplaceExecutionReport replaceOrders 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

(tick)

The market id these orders are to be placed on

instructions

List< ReplaceInstruction >

(tick)

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.

Return type

Description

ReplaceExecutionReport

Throws

Description

APINGException

Generic exception that is thrown if this operation fails for any reason.

Since 1.0.0