namespace CryptoExchange.Net.SharedApis { /// /// Ticker info /// public record SharedSpotTicker: SharedSymbolModel { /// /// Last trade price /// public decimal? LastPrice { get; set; } /// /// Highest price in last 24h /// public decimal? HighPrice { get; set; } /// /// Lowest price in last 24h /// public decimal? LowPrice { get; set; } /// /// Trade volume in base asset in the last 24h /// public decimal Volume { get; set; } /// /// Change percentage in the last 24h /// public decimal? ChangePercentage { get; set; } /// /// ctor /// public SharedSpotTicker(SharedSymbol? sharedSymbol, string symbol, decimal? lastPrice, decimal? highPrice, decimal? lowPrice, decimal volume, decimal? changePercentage) : base(sharedSymbol, symbol) { LastPrice = lastPrice; HighPrice = highPrice; LowPrice = lowPrice; Volume = volume; ChangePercentage = changePercentage; } } }