Title here
Summary here
[[symbol_override]] lets you replace exchange-provided settings for a specific symbol (mincontract, mintick, pointvalue). Use it when those defaults do not match your execution context or the market constraints you want to reproduce.
With this block, you can:
A strategy can contain multiple [[symbol_override]] blocks.
[[symbol_override]]
symbol = "EXCHANGE:PAIR"
mincontract = decimal_value # Optional
mintick = decimal_value # Optional
pointvalue = decimal_value # OptionalOn OKX:BTCUSDT, Whale‑E uses mincontract = 0.00000001 (exchange value), while TradingView uses mincontract = 0.000001.
When you compare a Whale‑E backtest with the exported Pine script, this difference can round quantities differently and shift results.
You can force this value on the Whale‑E side:
[[symbol_override]]
symbol = "OKX:BTCUSDT"
mincontract = 0.000001| Parameter | Description |
|---|---|
symbolText Required | Full symbol with exchange prefix (for example: "OKX:BTCUSDT"). |
mincontractDecimal Optional | Minimum tradable quantity. Orders are rounded to multiples of this value (for example, 0.001 allows 0.001, 0.002, 1.234, but not 0.0001). |
mintickDecimal Optional | Smallest allowed price increment. Prices are rounded in steps of this value (for example, 0.01 allows 100.01 and 100.02, but not 100.015). |
pointvalueDecimal Optional | Monetary value of a one-point price move, used to convert price movement into value. On spot markets, this value is usually 1. |