Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 16:04:46 +0000



Post From: Finding Fill Price for a manual placed trade

[2017-06-30 21:16:31]
Joel Wisdo - Posts: 15
To my knowledge the following code should return the price of the current trade


s_ACSTrade OrderEntry;
int Trade = sc.GetTradeListSize();

for (int i = 0; i < Trade; i++)
{
if (sc.GetTradeListEntry(i, OrderEntry))
{
CurrentPrice = OrderEntry.AverageEntryPrice;
}

}