Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 18:01:18 +0000



Post From: Question about sc.GetTradeListSize()

[2021-12-17 14:13:16]
Trader & Sierra++ developer - Posts: 110
Hi Sierra,

I understand that sc.GetTradeListSize() and sc.GetFlatToFlatTradeListSize() refer to the list of all the trades that have been done on the related symbol and account, since the account or symbol exists. Am I correct ?

Example : suppose I have opened my account 4 years ago, and had 2 millions trades on a symbol using SierraChart. Then sc.GetTradeListSize() returns 2 millions ?

How fast is a call to sc.GetTradeListEntry(idx) ? Is the list stored in RAM ?

Now, suppose 500.000 of those 2 millions trades have been done with another software (not SC). Then what is returned by sc.GetTradeListSize() ? Is it 2 millions or 1.5 millions ?