Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 11:46:33 +0000



Post From: Doc update needed for s_SCPositionData::LastTradeQuantity

[2015-08-03 14:38:48]
ejtrader - Posts: 688
Also - You already have the following fields as part of s_SCPositionData structure.

s_SCPositionData::LastTradeQuantity
s_SCPositionData::LastEntryDateTime
s_SCPositionData::LastExitDateTime
s_SCPositionData::LastFillDateTime
s_SCPositionData::LastTradeProfitLoss
s_SCPositionData::LastTradeQuantity

Requesting you to add the following additional field - if technically not difficult. This would just be the price for the most recent order.

s_SCPositionData::LastTradeAverageFillPrice

Background: Just trying to get the fill price for most recent order and at present(only way I know of), using s_SCTradeOrder have to loop through all orders starting '0' and go to the last one to get this information which I think is not an efficient way. Please let me know if there are any better ways to get this information.

Thanks
Date Time Of Last Edit: 2015-08-03 14:48:40