L2update class

The changes property of l2updates is an array with [side, price, size] tuples. The time property of l2update is the time of the event as recorded by our trading engine. Please note that size is the updated size at that price level, not a delta. A size of "0" indicates the price level can be removed.

Inheritance

Constructors

L2update({String? type, String? productId, List<Tuple3<SideEnum, double, double>>? changes, DateTime? time})
L2update.fromJson(Map<String, dynamic> json)
factory

Properties

changes List<Tuple3<SideEnum, double, double>>?
final
hashCode int
The hash code for this object.
no setterinherited
productId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime?
final
type String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited