Files
StockSharp/Fix.Core/Native/FixExecutionReport.cs
mika@stocksharp.com f1f267d7f3 Take in the FIX protocol library and its dialect framework
Fix.Core and Fix.Dialects arrive from the closed apps repository. They were only
there because Fix.Core referenced the closed Licensing project for a single
licence check; that check is gone, and with it the reason to keep the FIX
protocol out of the open source tree.

They are the framework, not a venue - the FIX connector itself goes to the
Connectors repository and references these two from here, the same way every
connector already references Messages and Media.Names.

The obfuscation stub include that both carried is dropped: it names a file at the
root of the apps repository, and open sources are not obfuscated.

Both build.
2026-07-30 20:22:03 +03:00

34 lines
1.3 KiB
C#

namespace StockSharp.Fix.Native;
using StockSharp.Messages;
/// <summary>
/// Data for ExecutionReport FIX message.
/// </summary>
/// <param name="OrdStatusReqId">Order status request identifier.</param>
/// <param name="MassStatusReqId">Mass status request identifier.</param>
/// <param name="OrigClOrdId">Original client order identifier.</param>
/// <param name="ClOrdId">Client order identifier.</param>
/// <param name="ExecMsg">Execution message with order/trade data.</param>
public record struct FixExecutionReport(
FixId OrdStatusReqId,
FixId MassStatusReqId,
FixId OrigClOrdId,
FixId ClOrdId,
ExecutionMessage ExecMsg)
{
/// <summary>
/// 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.
/// </summary>
public long UserId { get; set; }
/// <summary>
/// Canonical portfolio identity — the broker's <c>BrokerPortfolio</c> 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.
/// </summary>
public long PortfolioId { get; set; }
}