namespace StockSharp.Fix.Native;
using StockSharp.Messages;
///
/// Data for ExecutionReport FIX message.
///
/// Order status request identifier.
/// Mass status request identifier.
/// Original client order identifier.
/// Client order identifier.
/// Execution message with order/trade data.
public record struct FixExecutionReport(
FixId OrdStatusReqId,
FixId MassStatusReqId,
FixId OrigClOrdId,
FixId ClOrdId,
ExecutionMessage ExecMsg)
{
///
/// Owning user's numeric id (broker extension, not a standard FIX tag). Carried over
/// the SBE wire so the OrderRouter can fan a stop/algo report out to the owning client
/// by UserId — robust across restarts and immune to portfolio-name collisions.
///
public long UserId { get; set; }
///
/// Canonical portfolio identity — the broker's BrokerPortfolio PK (broker extension,
/// not a standard FIX tag). Carried over the SBE wire so a stop/algo report's portfolio FK
/// is bound by id rather than the shared display name.
///
public long PortfolioId { get; set; }
}