Chart Functions#

Account management functions are used to get your account value, cash, etc. You can see a list of them below:

Strategy.add_marker(name[, value, color, ...])

Adds a marker to the indicators plot that loads after a backtest.

Strategy.add_line(name, value[, color, ...])

Adds a line data point to the indicator chart.

Strategy.get_markers_df()

Returns the markers on the indicator chart as a pandas DataFrame.

Strategy.get_lines_df()

Returns a dataframe of the lines on the indicator chart.