LatestStateVisualisation#

tradeexecutor.strategy.run_state.LatestStateVisualisation Python class in Trading Strategy framework.

class LatestStateVisualisation[source]#

Bases: object

The last visualisation of the strategy state.

__init__(last_refreshed_at=<factory>, small_image=None, small_image_dark=None, large_image=None, large_image_dark=None)#
Parameters:
Return type:

None

Methods

__init__([last_refreshed_at, small_image, ...])

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

update_image_data(small_image, large_image, ...)

Attributes

large_image

1024 x 1024 image SVG

large_image_dark

Dark theme version

small_image

512 x 512 image PNG

small_image_dark

Dark theme version

last_refreshed_at

When the execution state was updated last time

last_refreshed_at: datetime#

When the execution state was updated last time

small_image: Optional[bytes] = None#

512 x 512 image PNG

small_image_dark: Optional[bytes] = None#

Dark theme version

large_image: Optional[bytes] = None#

1024 x 1024 image SVG

large_image_dark: Optional[bytes] = None#

Dark theme version

__init__(last_refreshed_at=<factory>, small_image=None, small_image_dark=None, large_image=None, large_image_dark=None)#
Parameters:
Return type:

None