Support Board
Date/Time: Sun, 22 Dec 2024 05:25:12 +0000
Doc update needed for s_SCPositionData::LastTradeQuantity
View Count: 1085
[2015-08-02 23:19:15] |
ejtrader - Posts: 688 |
SC Team - Would you please update the doc for the following fields(and any other missing fields from this strucuture)?: s_SCPositionData::LastTradeQuantity s_SCPositionData::LoseTrades s_SCPositionData::WinTrades Thanks https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#s_SCPositionData Date Time Of Last Edit: 2015-08-02 23:42:26
|
[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
|
[2015-08-04 19:16:10] |
Sierra Chart Engineering - Posts: 104368 |
Those are not documented for a reason. They are only there for back compatibility. Use this function instead: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#scGetTradeStatisticsForSymbol There are no plans to add any other fields to the Trade Position data structure. To get what you need use this function: https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#scGetOrderFillEntry Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2015-08-04 22:43:16] |
ejtrader - Posts: 688 |
All good related to this. Thank you ( I know you don't like thank you replies :) )
Date Time Of Last Edit: 2015-08-04 22:44:48
|
To post a message in this thread, you need to log in with your Sierra Chart account: