Modify Order
To modify the order placed across multiple accounts (or single account) linked to a strategy, you can simply send a modify request using the strefid
received from the placeorder function. This action will modify order across all the linked accounts in which the order was placed using a single api call.
Check the Rest API for modify here.
You can use the identifier
field to modify the order only in a single account. identifier
is sent as UCC:Accountname
Example
spk.modifyorder(
strategyname = "strategyName",
strefID = "strefID",
orderType= "", #optional
limitPrice="", #optional if you want to change limit price.
triggerPrice="", #optional if you want to change trigger price.
identifier="" #optional if you want to modify order only in a single account.
)