Support Board
Date/Time: Sat, 05 Jul 2025 17:50:59 +0000
[Programming Help] - PositionData doesnt show Sell/Short orders?
View Count: 256
[2024-05-13 00:09:15] |
KylieV1618 - Posts: 69 |
Im using int workingOrderCount = PositionData.AllWorkingSellOrdersQuantity + PositionData.AllWorkingBuyOrdersQuantity; this to get the number of working orders, and then if its greater than 0, displaying a label to show the order. It works fine if I place a buy order, but if I place a sell order above the price, it is always 0. How do I access Sell orders?? I tried also... PositionData.PositionQuantityWithAllWorkingOrders
But it suffers the same issue. Only displays the order/label, when its a buy order. Otherwise nothing :( Please let me know the correct way to do this. Thanks Date Time Of Last Edit: 2024-05-13 00:17:42
|
![]() |
[2024-05-17 19:26:00] |
KylieV1618 - Posts: 69 |
Also, how do I get the daily profit, per account, regardless of what Symbol it is? Im trying to display account data on a chart, but have it be global, not based on just that chart. |
To post a message in this thread, you need to log in with your Sierra Chart account: