Skip to main content

TradeContextField

Trade context field options for TRADE_CONTEXT operands

enum TradeContextField {
current_profit
current_profit_pct
entry_rate
current_rate
trade_duration
nr_of_entries
stake_amount
pair
is_short
}

Values​

TradeContextField.current_profit​

TradeContextField.current_profit_pct​

TradeContextField.entry_rate​

TradeContextField.current_rate​

TradeContextField.trade_duration​

TradeContextField.nr_of_entries​

TradeContextField.stake_amount​

TradeContextField.pair​

TradeContextField.is_short​