Symbol Override

[[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:

  • adjust the minimum tradable quantity of an asset
  • adjust the smallest allowed price increment (tick)
  • adjust the monetary value of a one-point price move
  • reproduce market constraints that differ from the values returned by the exchange; see Possible misalignment on mincontract and mintick

Block declaration

A strategy can contain multiple [[symbol_override]] blocks.

[[symbol_override]]
symbol      = "EXCHANGE:PAIR"
mincontract = decimal_value     # Optional
mintick     = decimal_value     # Optional
pointvalue  = decimal_value     # Optional

Example

On 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

Block parameters

ParameterDescription
symbol
 Text
 Required
Full symbol with exchange prefix (for example: "OKX:BTCUSDT").
mincontract
 Decimal
 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).
mintick
 Decimal
 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).
pointvalue
 Decimal
 Optional
Monetary value of a one-point price move, used to convert price movement into value. On spot markets, this value is usually 1.