quantlab.backtest.live.last_bar#

quantlab.backtest.live.last_bar(dataset)[source]#

Return the last bar of dataset’s calendar, or None for an empty store.

Examples

>>> last_bar(prices)
Timestamp('2026-10-07 00:00:00')