WebChart#
API documentation for tradeexecutor.visual.web_chart.WebChart Python class in Trading Strategy framework.
- class WebChart[source]#
Bases:
object
JSONnable chart reply.
Contain data and metadata for the frontend chart rendering:
- __init__(data, title, help_link, source=WebChartSource.live_trading)#
Methods
__init__
(data, title, help_link[, source])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, ...])Attributes
source
Time window for this was generated
UNIX timestamp, value tuples
Chart description
Help link "Learn more"
- time_window = 'all'#
Time window for this was generated