MMTMMT Docs
Diagnostics

S012

empty exchange list in subscription

S012

A subscription exchange list resolves to no exchanges. Supply at least one exchange.

Failing example

script "conf"

data chart = subscribe(data.ohlcv)
data vol = subscribe(data.volume, exchange: string[](0))

on chart.update { }

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv, exchange: ["example"])

On this page