Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 03:32:13 +0000



Post From: Position quantity with GetTradePosition is 0 on Teton Order Routing

[2023-04-26 22:47:03]
glacialspring - Posts: 26
I have a working study that I have used without problems with my rithmic trading account. It stopped working when I switched to my Teton Stage5 with Advantage trading account. After debugging, I found that PositionQuantity member of s_SCPositionData always returns zero. GetTradePosition returned a 1 success, and I see that AveragePrice is still correct. Is this a bug or property of my broker?