PairSubplotInfo#

API documentation for tradeexecutor.visual.multiple_pairs.PairSubplotInfo Python class in Trading Strategy framework.

class PairSubplotInfo[source]#

Bases: object

Information required to fill in the subplot grid for a single pair.

__init__(pair_id, candlestick_row, volume_bar_mode, num_detached_indicators, subplot_names, candles, candle_labels, trades, relative_sizing)#
Parameters:
  • pair_id (int) –

  • candlestick_row (int) –

  • volume_bar_mode (VolumeBarMode) –

  • num_detached_indicators (int) –

  • subplot_names (List[str]) –

  • candles (DataFrame) –

  • candle_labels (DataFrame) –

  • trades (DataFrame) –

  • relative_sizing (list[float]) –

Return type:

None

Methods

__init__(pair_id, candlestick_row, ...)

get_volume_row()

Attributes

pair_id

candlestick_row

volume_bar_mode

num_detached_indicators

subplot_names

includes main candlestick name

candles

candle_labels

trades

relative_sizing

specs

detached_indicator_start_row

subplot_names: List[str]#

includes main candlestick name

__init__(pair_id, candlestick_row, volume_bar_mode, num_detached_indicators, subplot_names, candles, candle_labels, trades, relative_sizing)#
Parameters:
  • pair_id (int) –

  • candlestick_row (int) –

  • volume_bar_mode (VolumeBarMode) –

  • num_detached_indicators (int) –

  • subplot_names (List[str]) –

  • candles (DataFrame) –

  • candle_labels (DataFrame) –

  • trades (DataFrame) –

  • relative_sizing (list[float]) –

Return type:

None