PositionUpdate¶
-
struct PositionUpdate¶
Update relating to current position for a symbol/side/account.
Public Members
-
uint16_t stream_id = {}¶
Stream identifier.
-
roq::MarginMode margin_mode = {}¶
Margin mode.
-
std::string_view external_account¶
External account name.
-
double long_quantity = roq::NaN¶
Current long position (absolute)
-
double short_quantity = roq::NaN¶
Current short position (absolute)
-
roq::UpdateType update_type = {}¶
Update type.
-
uint16_t stream_id = {}¶