CandlestickJsonConverter
QuantConnect.Util.CandlestickJsonConverter
Bases: JsonConverter
Candlestick Json Converter
can_read
can_read: bool
This converter wont be used to read JSON. Will throw exception if manually called.
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
Json reader implementation which handles backwards compatiblity for old equity chart points
write_json
write_json(
writer: Any, value: Any, serializer: Any
) -> None
Write Series to Json
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer
|
Any
|
The Json Writer to use |
required |
value
|
Any
|
The value to written to Json |
required |
serializer
|
Any
|
The Json Serializer to use |
required |