Files
StockSharp/Fix.Core/Native/FixOrderMassStatusRequest.cs
mika@stocksharp.com 61cc0f1697 Name the client an order status request is asked for
A gate asks for an account's orders on a session of its own, on behalf of
the client behind it, and names that client in the request's client code.
The request for positions carried it across in the Parties block; the two
order status requests had no such block, so the code was dropped on the
way and the server answered for the gate's own login.

Both records now hold the parties of the request, and the converter writes
the client code into them and reads it back, as it does for the request
for positions and for every order command.
2026-10-11 02:50:08 +03:00

43 lines
1.9 KiB
C#

namespace StockSharp.Fix.Native;
/// <summary>
/// Data from OrderMassStatusRequest FIX message.
/// </summary>
/// <param name="MassStatusReqId">Mass status request identifier.</param>
/// <param name="OrigClOrdId">Original client order identifier filter.</param>
/// <param name="SubscriptionRequestType">Subscription request type (0=Snapshot, 1=Subscribe, 2=Unsubscribe).</param>
/// <param name="OrdStatus">Order status filter.</param>
/// <param name="Symbol">Security code.</param>
/// <param name="SecurityExchange">Exchange/board code.</param>
/// <param name="Account">Account identifier.</param>
/// <param name="IsIncremental">Request incremental updates instead of snapshots.</param>
/// <param name="UserId">User identifier for data filtering.</param>
/// <param name="SecurityIds">Specific security identifiers for filtering.</param>
/// <param name="Skip">Last-seen upstream sequence number — request only data after this point. Used by IMEX dialect to populate ResendRequest.FromSeq, replacing Forwarder-local file persistence with Router-DB persistence.</param>
public record struct FixOrderMassStatusRequest(
FixId MassStatusReqId,
string OrigClOrdId,
char? SubscriptionRequestType,
string OrdStatus,
string Symbol,
string SecurityExchange,
string Account,
bool? IsIncremental,
string UserId,
SecurityId[] SecurityIds,
long? Skip)
{
/// <summary>
/// Owning user's numeric id (broker extension, distinct from the string <see cref="UserId"/>
/// data filter). Carried over the SBE wire so a per-client status request scopes the
/// StopOrder snapshot to that user (0 = the OrderRouter's trusted mass feed).
/// </summary>
public long OwnerUserId { get; set; }
/// <summary>
/// Parties of the request. A gate that asks on behalf of a client names that client here under
/// <see cref="PartyRole.ClientId"/>, which is what tells the server whose orders are asked for.
/// </summary>
public FixParty[] Parties { get; set; }
}