https://api.lbkrs.com/v1/povs/replaceRequest body application/json
ID of the order to modify
Order type, the same as the original order. Order type, for example LO (limit), MO (market), ELO (enhanced limit), ALO (at-auction limit), AO (at-auction market), ODD (odd lot), LIT (limit if touched), MIT (market if touched), TSLPAMT / TSLPPCT (trailing stop limit by amount / percentage), TSMAMT / TSMPCT (trailing stop market by amount / percentage), or MOC (market on close)
Order price after triggering; omit it for market-type orders
Order quantity
Trigger price
Trailing amount
Trailing percentage
Monitoring price
Number of triggers within one minute
Order book level used for pricing after triggering; takes effect when it is not 0
Offset used to price at the market price plus a spread after triggering
Current market price; pass it together with trend
Trigger direction, derived by comparing the trigger price with the current market price:
1- Rises to (trigger price above the market price)2- Falls to (trigger price not above the market price)
12
Parameters for modifying attached take-profit and stop-loss orders
Child attributes
Attached order type:
0- No attached order; if the original order has attached orders, also passcancel_all_attached=trueto cancel them all1- Take-profit order2- Stop-loss order3- Bracket order (both take-profit and stop-loss)
0123
Take-profit trigger price
ID of the existing take-profit order; pass it when modifying that order
Order price after the take-profit order is activated; pass it when the activated order type is a limit type
Stop-loss trigger price
ID of the existing stop-loss order; pass it when modifying that order
Order price after the stop-loss order is activated; pass it when the activated order type is a limit type
Order type after the attached order is activated
Trading session after the attached order is activated:
1- Pre-market and after-hours not allowed2- Pre-market and after-hours allowed
Time in force:
0- Day1- Good till canceled (GTC)3- Immediate or cancel (IOC)5- Fill or kill (FOK)6- Good till date (GTD); an expiry time is also required
01356
Expiry time as a Unix timestamp in seconds; required when time_in_force=6
Whether to cancel all attached orders of the main order
Main order ID; required when you modify only the attached orders
Total quantity of the main order; pass it when you modify only the attached orders
Current market price, including pre-market and after-hours; pass it when you modify only the attached orders
Responses
HTTP 200The request succeeded. The response body contains the result of the “Modify Untriggered Conditional Order” operation.codemessagedatadataobjectdata structureNo business fields
No nested fields