Diagnostics
S026
subscription history cannot be negative
S026
history: asks for earlier data as a count of source periods or a duration. Zero means live data only; a negative constant has no meaning. Use a positive value, 0s for live data only, or null for the default.
Failing example
script "conf"
data chart = subscribe(data.ohlcv)
data trades = subscribe(data.trades, history: -5m)Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
data trades = subscribe(data.trades, history: 0s)