mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-16 08:01:06 +00:00
ae7504c26c
Added V2 Shared API's infrastructure Added request coalescing Added rate limiting admission logic Fixed some rate limiting issues
39 lines
1.1 KiB
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|