Support Board
Date/Time: Sun, 24 Nov 2024 17:47:26 +0000
Post From: PositionData doesnt show Sell/Short orders?
[2024-05-13 00:09:15] |
KylieV1618 - Posts: 67 |
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-12 17-15-26.mp4 - Attached On 2024-05-13 00:17:32 UTC - Size: 532.97 KB - 250 views |