Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 18:50:56 +0000



[Programming Help] - How to get detailed order information for those filled and removed from trade order list

View Count: 421

[2020-07-13 13:32:49]
User824278 - Posts: 2
In ACS, sc.GetOrderByOrderID or GetOrferByIndex can return detailed information of order by s_SCTradeOrder structure. But unfortunately, once an order is filled, the order will be removed from trade order list after maybe 20 minutes late. While GetOrderFillEntry interface can only return a few information, much less than that in s_SCTradeOrder structure.

Now I need to check all orders, including working and filled, for full information such as parentInternalOrderID, OrderTypeAsInt, OpenClose, ....

So my question is, how to get above information for all orders including working and filled? Is there example code? Thanks.

BTW, In order to solve this problem in a better way, I explain my purpose here too. My purpose is just want to know which order in filled order list is main order, and which one is attached order like ORDERTYPE_STOP or ORDERTYPE_LIMIT. Although both of them may be sell or buy, I want to focus on the buy/sell property for main order.
Date Time Of Last Edit: 2020-07-13 16:45:32

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account