Support Board
Date/Time: Wed, 27 Nov 2024 10:41:09 +0000
Chart price multipliers: my fundamental misunderstanding / system design flaw
View Count: 668
[2022-11-08 15:27:04] |
gorx1 - Posts: 8 |
Hello, I've found a workaround, but the issue is too weird to ignore, I hate imagining others facing it one day. ESZ2022, and probably many others I have a rather advanced automated trading system in ACSIL that modifies existing limit order prices & quantities in realtime. There's an if condition that checks whether current limit order price is different from the constantly re-calculated mark price. If these 2 are the same, nothing happens. If these 2 are different, sc.ModifyOrder() gets called. Current limit order price is accessed via s_SCTradeOrder & order ID stored in persistent variable. I process rounds to mintick on my side, it can't be an issue. Everything works fine with SC DATA - All services. With Teton and Rithmic I see these on chart update interval: Order modification failed (InternalOrderID) | Price and quantity (3831.50, 1) for order modification are the same as existing order. | ... Now the only way to fix it on Teton & Rithmic is to change Real-time and Historical Price Multipliers to 1 from 0.01, and tick size from 0.25 to 25. At this point everything starts to work as intended, just as on SC DATA - All services, where default price multipliers are 1 and tick size is 0.25., but the price scale becomes different from the vehicle-native one. It's not a huge problem for me, I can still run automatics this way, but it's the first time I see something like this in a trading platform. It's either I misunderstand something very basic about Sierra Chart, or there's something wrong with sc.GetOrderByOrderID function; s_SCTradeOrder structure, in a context when default price multipliers are different than 1. Maybe, these multipliers are processed & resolved properly in terms of sending orders, but mistakenly ignored when existing order information is retrieved? P.S.: Thank you for all this thing with Sierra Chart, top notch software. Date Time Of Last Edit: 2022-11-08 15:52:10
|
[2022-11-08 16:23:22] |
Sierra_Chart Engineering - Posts: 17191 |
We will look this over.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-08-18 01:30:30] |
Sierra_Chart Engineering - Posts: 17191 |
We did look this over but cannot identify any problem. The prices are adjusted to the same format as the chart with this function: sc.GetOrderByOrderID Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: