Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 16:52:10 +0000



Post From: Order events?

[2024-05-28 17:56:14]
User431178 - Posts: 541

any pointers? TY!

1. Do you have error messages in the trade service log?
2. Refer to this info about when orders are cleared from the list - Trading Information Windows: Automatic Clearing of Orders

To determine if there is a change in order quantities (new, cancelled, or updated) you could query the position data, any of the items listed below could be useful.


PositionQuantity
NonAttachedWorkingOrdersExist
AllWorkingBuyOrdersQuantity
AllWorkingSellOrdersQuantity

You would of course have to store each as a persistent variable so you know the state from the previous function call.
Some of the members of s_SCPositionData are not documented, but you can inspect SCStructures.h to see what information is available.
Date Time Of Last Edit: 2024-05-28 17:56:45