tensortrade.env.plotters.matplotlib_trading_chart module

class tensortrade.env.plotters.matplotlib_trading_chart.MatplotlibTradingChart(*args, **kwargs)[source]

Bases: AbstractPlotter

Trading visualization for TensorTrade using Matplotlib :param display: True to display the chart on the screen, False for not. :type display: bool :param save_format: A format to save the chart to. Acceptable formats are

png, jpg, svg, pdf.

Parameters:
  • path (str) – The path to save the char to if save_format is not None. The folder will be created if not found.

  • filename_prefix (str) – A string that precedes automatically-created file name when charts are saved. Default ‘chart_’.

registered_name = 'matplotlib_trading_chart'
render() None[source]
reset() None[source]

Resets the renderer.

save() None[source]

Saves the rendering of the TradingEnv.