MMTMMT Docs
Diagnostics

T203

argument is supplied more than once

T203

The same parameter was bound more than once by positional and/or named arguments. Remove the duplicate binding.

Failing example

script "example"
data chart = subscribe(data.ohlcv)
fn id(value: int) -> int { return value }
on chart.update { let result = id(1, value: 2) }

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv)
fn id(value: int) -> int { return value }
on chart.update { let result = id(value: 1) }

On this page