Skip to content

ChartPointJsonConverter

QuantConnect.Util.ChartPointJsonConverter

Bases: JsonConverter

Json Converter for ChartPoint which handles special reading

can_convert

can_convert(object_type: Type) -> bool

Determine if this Converter can convert this type

Parameters:

Name Type Description Default
object_type Type

Type that we would like to convert

required

Returns:

Type Description
bool

True if Series.

read_json

read_json(
    reader: Any,
    object_type: Type,
    existing_value: Any,
    serializer: Any,
) -> Object

Reads series from Json

write_json

write_json(
    writer: Any, value: Any, serializer: Any
) -> None

Write point to Json