Login Page - Create Account

Support Board


Date/Time: Fri, 31 Jan 2025 22:56:19 +0000



Post From: ACSIL: sc.GetTradePositionForSymbolAndAccount function member AveragePrice not works

[2019-05-30 06:47:37]
TedMar - Posts: 190
We will resolve this in the next version but it is not always going to be set.
but this is essential to find out AveragePrice for other symbol, or u have other idea?

by sc.GetOrderForSymbolAndAccountByIndex and sc.GetOrderByOrderID with s_SCTradeOrder is posible check Order status only.
If fact dont know how i can check for Other Symbol Order Fills with open Position status and FillAvarage.

Any Idea?

Mybe is posible to check Fill by Fill , or Last In first Out Fill matching status to find which allready filled Orders are Not calculate in Open Positions and FillAvarage?