Support Board
Date/Time: Tue, 14 Apr 2026 14:13:46 +0000
Post From: Time and Sales Unavailable After Upgrade
| [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.ChartUpdateIntervalInMilliseconds = 250; sc.MaintainVolumeAtPriceData = sc.UsesMarketDepthData = sc.FlagToReloadChartData = true; sc.AddMessageToLog("✅INFO: Forcing async updates, T&S data, and VAP - reloading.", false); sc.UpdateAlways = true; } // 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) { 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 14:02:32
|
