Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.strategy.contracts
On this pageSignatureReturnsExample

Strategy / Reference

alerta.strategy.contracts

TradingView-compatible spelling: strategy.contracts, runs without warnings

Pine v6 default_qty_type: number of contracts.

alerta.strategy.contracts → string

Value

contracts

Returns

string

Example

alerta.strategy.contracts
strategy("Demo", default_qty_type = strategy.contracts, default_qty_value = 1)

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.