Support Board
Date/Time: Tue, 14 Apr 2026 10:32:55 +0000
Time and Sales Unavailable After Upgrade
View Count: 48
| [2026-04-14 00:03:22] |
| SavantTrader - Posts: 112 |
|
Dear Support: After updating to 2896 (rev 56299) this weekend, one of my custom studies fails to receive time and sales data. I can open the T&S window for the chart itself, and I see T&S data streaming through. However, my study receives null when fetching T&S data: // first-time init or full recalculation requested
if (!InitPerformed || sc.IsFullRecalculation) { // enable Async updates, VAP, and T&S data - then recalculate if (!sc.UpdateAlways || !sc.UsesMarketDepthData || !sc.MaintainVolumeAtPriceData) { sc.UpdateAlways = true; sc.ChartUpdateIntervalInMilliseconds = 250; sc.MaintainVolumeAtPriceData = sc.UsesMarketDepthData = sc.FlagToReloadChartData = true; sc.AddMessageToLog("✅INFO: Forcing async updates, T&S data, and VAP - reloading.", false); } // ensure time & sales data is available c_SCTimeAndSalesArray Tape; sc.GetTimeAndSales(Tape); int TapeSize = Tape.Size(); if (TapeSize < 1) sc.AddMessageToLog("❌CRIT: Time & Sales data not available or disabled!", true); // let us know initialization took place sc.AddMessageToLog("✅INFO: Performed INIT of persistent global variables.", false); } The above generates the T&S error message, informing me of the unavailability. The portion that attempts to use T&S data always finds it empty: ////////////////////////////////////////////////////////////
// TRAVERSE TAPE RECORDS AND GATHER CUMULATIVE TOTALS //////////////////////////////////////////////////////////// c_SCTimeAndSalesArray Tape; sc.GetTimeAndSales(Tape); int TapeSize = Tape.Size(); int HighTapeSequence = -1; // local scope, init // figure out if any tape records exist now if (TapeSize > 0) // not empty { HighTapeSequence = Tape[TapeSize - 1].Sequence; // highest current sequence if (PriorTapeSequence == -1) PriorTapeSequence = HighTapeSequence; // init } I would normally not bother you with this, were it not for the fact that no programmatic changes were made on my end. The only "change" was the semi-monthly SC version upgrade. What would be causing this to fail? No changes were made to SC configuration, other than a weekend update. Date Time Of Last Edit: 2026-04-14 00:21:46
|
| [2026-04-14 00:33:36] |
| SavantTrader - Posts: 112 |
|
FIXED - Your latest update must have changed something in the T&S structure. A recompile solved this, without any code changes.
|
| [2026-04-14 02:07:52] |
| Sierra_Chart Engineering - Posts: 23504 |
|
Yes this is explained here in the version notes for version 2895. : https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2895 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account:
