setup_charting_and_output#

API documentation for tradeexecutor.backtest.notebook.setup_charting_and_output Python function.

setup_charting_and_output(mode=OutputMode.interactive, image_format='svg')[source]#

Sets up Jupyter Notebook based charting.

Example:

# Set Jupyter Notebook output mode parameters
from tradeexecutor.backtest.notebook import setup_charting_and_output
setup_charting_and_output()
Parameters:

mode (OutputMode) – What kind of viewing context we have for this notebook output