1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-16 08:01:06 +00:00
Files
CryptoExchange.Net/CryptoExchange.Net/SharedApis/Models/SharedSpotOrderUpdate.cs
T
Jan Korf ae7504c26c Shared API's V2 (#289)
Added V2 Shared API's infrastructure
Added request coalescing
Added rate limiting admission logic
Fixed some rate limiting issues
2026-09-23 09:15:39 +02:00

39 lines
1.1 KiB
C#

using System;
using System.Diagnostics;
namespace CryptoExchange.Net.SharedApis
{
/// <summary>
/// Spot order info
/// </summary>
[DebuggerDisplay("{DebugView,nq}")]
public record SharedSpotOrderUpdate : SharedSpotOrder
{
/// <summary>
/// The info on the executed trade for this update
/// </summary>
public new SharedUserTrade? LastTrade
{
#pragma warning disable CS0618 // Type or member is obsolete
get => base.LastTrade;
set => base.LastTrade = value;
#pragma warning restore CS0618 // Type or member is obsolete
}
/// <summary>
/// ctor
/// </summary>
public SharedSpotOrderUpdate(
SharedSymbol? sharedSymbol,
string symbol,
string orderId,
SharedOrderType orderType,
SharedOrderSide orderSide,
SharedOrderStatus orderStatus,
DateTime? createTime)
: base(sharedSymbol, symbol, orderId, orderType, orderSide, orderStatus, createTime)
{
}
}
}