PositionOtherData#

API documentation for tradeexecutor.state.position.PositionOtherData Python class in Trading Strategy framework.

class PositionOtherData[source]#

Bases: TypedDict

Position data that is not relevant for most positions.

__init__(definition_class)#

Methods

__init__(definition_class)

as_context(*args, **kwargs)

create_cached(*args, **kwargs)

execute(arguments)

execute_annotation()

execute_with_values(*value_list)

gather_annotation_classes()

get_key_values()

get_root_context()

goto(name_or_str[, name_context, ...])

is_same_class(class2)

is_sub_class_of(class_value)

iterate([contextualized_node, is_async])

merge_types_of_iterate([...])

py__await__()

py__getattribute__(name_or_str[, ...])

param position:

Position of the last statement -> tuple of line, column

py__name__()

py__simple_getitem__(index)

Attributes

name

marked_down_at