CandleResult#
API documentation for tradingstrategy.candle.CandleResult Python class in Trading Strategy framework.
- class CandleResult[source]#
Bases:
objectServer-reply for live queried candle data.
Uses dataclasses-json module for JSON serialisation.
Methods
__init__(candles)from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])schema(*[, infer_missing, only, exclude, ...])In-place sorting of candles by their timestamp.
to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])Attributes
A bunch of candles.