Path in Local Pack
Description of the market order.
|id()||Unique order identifier.|
|amount()||Order initial amount.|
|amount_rest()||Order current amount.|
|server_time()||Order placement server time.|
Returns the unique numeric identifier of an order, which was received during a simulation. It can be used to aggregate some information about the order.
Id id() const;
Returns a direction of the order.
Dir dir() const;
Returns a price of the order.
Price price() const;
Returns an initial volume of the order (the amount of lots).
Amount amount() const;
Returns current volume of the order (the amount of lots which have not been matched with other orders yet).
Amount amount_rest() const;
Returns an enum class value — order's status.
Possible statuses are: Adding, Active, Deleting, Deleted. Please read more in the OrderStatus class description: https://docs.hftbattle.com/en/api/CommonEnums.html#orderstatus.
OrderStatus status() const;
Returns the server time, when the order was placed, in microseconds.
Microseconds server_time() const;