Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 23:15:34 +0000



Post From: Modifying LMAX Pending Orders

[2016-10-04 12:43:06]
Pinger - Posts: 33
Hi

I have some functionality which works with SierraChart in simulation mode but which produces Trade Service Log error messages when connected to the LMAX live trading service...

I'm comparing a computed value with the price of a previously submitted stop order, and if the 2 differ I'm modifying the order using the sc.ModifyOrder() function with the computed value. This functionality works in the simulation mode, but generates the following messages when connected to the LMAX live trading service...

Order modification failed | Price and quantity for order modification are the same as the existing order. No modification was submitted...

Having read the SierraChart LMAX Trade Service documentation, is it possible to use sc.ModifyOrder() to modify a pending order with LMAX or do I need to cancel the original stop order and submit a new one? Or is this taken care of behind the scenes by SierraChart?

Many thanks in advance for your assistance.