Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.strategy.commission.cash_per_contract
On this pageSignatureReturnsExampleNotes

Strategy / Reference

alerta.strategy.commission.cash_per_contract

TradingView-compatible spelling: strategy.commission.cash_per_contract, runs without warnings

Commission calculation mode in the strategy declaration. Use strategy.commission.cash_per_contract as a value, without parentheses.

alerta.strategy.commission.cash_per_contract → const string

Value

cash_per_contract

Returns

const string

Example

alerta.strategy.commission.cash_per_contract
//@version=6indicator("Constant example")selected = strategy.commission.cash_per_contractplot(close)

Notes

  • The value comes from AlertaScript's own constant table. A recognized option is not a promise that every data source supports it or that it behaves exactly as in Pine — check the entry of the function that takes it.

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.