Reference
strategy
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.
| Name / Signature | Description | Returns |
|---|---|---|
| alerta.strategy.percent_of_equitystrategy.percent_of_equity → string | Pine v6 default_qty_type: orders sized as a percentage of current strategy equity. | string |
| alerta.strategy.cashstrategy.cash → string | Pine v6 default_qty_type: orders sized in cash (account currency) per fill. | string |
| alerta.strategy.fixedstrategy.fixed → string | Pine v6 default_qty_type: fixed quantity in shares/contracts. | string |
| alerta.strategy.contractsstrategy.contracts → string | Pine v6 default_qty_type: number of contracts. | string |
| alerta.strategy.longstrategy.long → const string | Strategy order direction or quantity mode. Use strategy.long as a value, without parentheses. | const string |
| alerta.strategy.shortstrategy.short → const string | Strategy order direction or quantity mode. Use strategy.short as a value, without parentheses. | const string |