using System; namespace CryptoExchange.Net.CommonObjects { /// /// Trade data /// public class Trade: BaseCommonObject { /// /// Symbol of the trade /// public string Symbol { get; set; } = string.Empty; /// /// Price of the trade /// public decimal Price { get; set; } /// /// Quantity of the trade /// public decimal Quantity { get; set; } /// /// Timestamp of the trade /// public DateTime Timestamp { get; set; } } /// /// User trade info /// public class UserTrade: Trade { /// /// Id of the trade /// public string Id { get; set; } = string.Empty; /// /// Order id of the trade /// public string? OrderId { get; set; } /// /// Fee of the trade /// public decimal? Fee { get; set; } /// /// The asset the fee is paid in /// public string? FeeAsset { get; set; } } }