Support Board
Date/Time: Sun, 21 Dec 2025 17:23:08 +0000
Post From: Issue with sc.GetTradeListEntry()
| [2022-08-31 23:17:46] |
| Tony - Posts: 662 |
|
Hi, I just noticed this, not sure started from which version. I use TradesList[TradeIndex].TradeQuantity to get the total open contracts, it worked great until recently when I try to open a 3-contract position by sending 3 separate orders, TradesList[TradeIndex].TradeQuantity always gave the number 1, not sure why, the Trade Quantity in the Trading Log shows 3. But if I send one order with 3 contracts, I will get the number 3 from TradesList[TradeIndex].TradeQuantity. Thanks |
