ChartCallback#

API documentation for tradeexecutor.strategy.chart.definition.ChartCallback Python class in Trading Strategy framework.

class ChartCallback[source]#

Bases: object

One function serving chats.

__init__(id, name, func, kind, description)#
Parameters:
Return type:

None

Methods

__init__(id, name, func, kind, description)

export()

Export the chart callback as a dictionary.

Attributes

id

Web slug

name

Fuman readable name

func

Underlying Python function

kind

Kind of input the Python function expects

description

One sentence description of the chart function.

id: str#

Web slug

name: str#

Fuman readable name

func: ChartFunction#

Underlying Python function

kind: ChartKind#

Kind of input the Python function expects

description: str#

One sentence description of the chart function.

export()[source]#

Export the chart callback as a dictionary.

Return type:

dict

__init__(id, name, func, kind, description)#
Parameters:
Return type:

None