Lean
$LEAN_TAG$
|
Custom JsonConverter for LiveResults data for live algorithms More...
Public Member Functions | |
override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
Writes the JSON representation of the object. More... | |
override bool | CanConvert (Type objectType) |
Determines whether this instance can convert the specified object type. More... | |
override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
Reads the JSON representation of the object. More... | |
Properties | |
override bool | CanWrite [get] |
Gets a value indicating whether this T:Newtonsoft.Json.JsonConverter can write JSON. More... | |
Custom JsonConverter for LiveResults data for live algorithms
Definition at line 31 of file LiveAlgorithmResultsJsonConverter.cs.
override void QuantConnect.Api.LiveAlgorithmResultsJsonConverter.WriteJson | ( | JsonWriter | writer, |
object | value, | ||
JsonSerializer | serializer | ||
) |
Writes the JSON representation of the object.
writer | The T:Newtonsoft.Json.JsonWriter to write to. |
value | The value. |
serializer | The calling serializer. |
Definition at line 48 of file LiveAlgorithmResultsJsonConverter.cs.
override bool QuantConnect.Api.LiveAlgorithmResultsJsonConverter.CanConvert | ( | Type | objectType | ) |
Determines whether this instance can convert the specified object type.
objectType | Type of the object. |
true
if this instance can convert the specified object type; otherwise, false
. Definition at line 60 of file LiveAlgorithmResultsJsonConverter.cs.
override object QuantConnect.Api.LiveAlgorithmResultsJsonConverter.ReadJson | ( | JsonReader | reader, |
Type | objectType, | ||
object | existingValue, | ||
JsonSerializer | serializer | ||
) |
Reads the JSON representation of the object.
reader | The T:Newtonsoft.Json.JsonReader to read from. |
objectType | Type of the object. |
existingValue | The existing value of object being read. |
serializer | The calling serializer. |
Definition at line 73 of file LiveAlgorithmResultsJsonConverter.cs.
|
get |
Gets a value indicating whether this T:Newtonsoft.Json.JsonConverter can write JSON.
true
if this T:Newtonsoft.Json.JsonConverter can write JSON; otherwise, false
.
Definition at line 40 of file LiveAlgorithmResultsJsonConverter.cs.