Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 03:36:53 +0000



Post From: sc.ReadIntradayFileRecordForBarIndexAndSubIndex appears to not work for Volume based bars

[2025-02-13 10:20:27]
brianmonagha - Posts: 5
I have attempted to call sc.ReadIntradayFileRecordForBarIndexAndSubIndex referencing volume based bars using the example code from scsf_ReadChartBarRecordsFromUnderlyingIntradayFileExample in Studies2.cpp.

The first call is successful and reports total volume of 1, however once SubIndex is incremented to 1, sc.ReadIntradayFileRecordForBarIndexAndSubIndex returns false then. Is it correct that this function does not work with volume bars? I suspect this might be a limitation not mentioned in the documentation because the same code works fine for other types of bars, including tick based bars.

Is there a way that sc.ReadIntradayFileRecordForBarIndexAndSubIndex can work with volume based bars, or is this a known limitation?

Thanks