UTCFriendlyDataClassJsonMixin#

tradeexecutor.utils.dataclass.UTCFriendlyDataClassJsonMixin class.

class UTCFriendlyDataClassJsonMixin[source]#

Bases: DataClassJsonMixin

Encode datetimes as iso8601 format to preseve timezones

__init__()#

Methods

__init__()

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

dataclass_json_config