Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 14:58:56 +0000



[Programming Help] - Question about sc.GetTradeListSize()

View Count: 587

[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 ?
[2021-12-20 04:14:28]
Sierra Chart Engineering - Posts: 104368
No this is not correct. It depends upon what Order Fills are in the Trade Activity Log:
Trade Activity Log: Viewing Historical Trade Activity

And it depends upon this Chart Setting:
Chart Settings: Order Fills Start Date-Time (Chart >> Chart Settings >> Trading menu)

And since you are using CQG, there is no order fill history. You have order fill history with our services:
Sierra Chart Teton Futures Order Routing
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
Date Time Of Last Edit: 2021-12-20 04:15:31

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account