Lean  $LEAN_TAG$
QuantConnect.Util.CandlestickJsonConverter Class Reference

Candlestick Json Converter More...

Inheritance diagram for QuantConnect.Util.CandlestickJsonConverter:
[legend]

Public Member Functions

override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Write Series to Json More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Json reader implementation which handles backwards compatiblity for old equity chart points More...
 
override bool CanConvert (Type objectType)
 Determine if this Converter can convert this type More...
 

Public Attributes

override bool CanRead => true
 This converter wont be used to read JSON. Will throw exception if manually called. More...
 

Detailed Description

Candlestick Json Converter

Definition at line 25 of file CandlestickJsonConverter.cs.

Member Function Documentation

◆ WriteJson()

override void QuantConnect.Util.CandlestickJsonConverter.WriteJson ( JsonWriter  writer,
object  value,
JsonSerializer  serializer 
)

Write Series to Json

Parameters
writerThe Json Writer to use
valueThe value to written to Json
serializerThe Json Serializer to use

Definition at line 33 of file CandlestickJsonConverter.cs.

◆ ReadJson()

override object QuantConnect.Util.CandlestickJsonConverter.ReadJson ( JsonReader  reader,
Type  objectType,
object  existingValue,
JsonSerializer  serializer 
)

Json reader implementation which handles backwards compatiblity for old equity chart points

Definition at line 57 of file CandlestickJsonConverter.cs.

◆ CanConvert()

override bool QuantConnect.Util.CandlestickJsonConverter.CanConvert ( Type  objectType)

Determine if this Converter can convert this type

Parameters
objectTypeType that we would like to convert
Returns
True if Series

Definition at line 87 of file CandlestickJsonConverter.cs.

Member Data Documentation

◆ CanRead

override bool QuantConnect.Util.CandlestickJsonConverter.CanRead => true

This converter wont be used to read JSON. Will throw exception if manually called.

Definition at line 95 of file CandlestickJsonConverter.cs.


The documentation for this class was generated from the following file: