namespace KLHZ.Trader.Core.Math.Declisions.Dtos { internal readonly struct PeriodPricesInfoDto { public readonly int Start; public readonly int End; public readonly float LastPrice; public readonly float FirstPrice; public readonly float PeriodDiff; public readonly float PeriodMax; public readonly float PeriodMin; public readonly bool Success; public readonly TimeSpan Period; public PeriodPricesInfoDto(bool success, float firstPrice, float lastPrice, float periodDiff, float periodMin, float periodMax, TimeSpan period, int start, int end) { Success = success; LastPrice = lastPrice; FirstPrice = firstPrice; PeriodDiff = periodDiff; PeriodMax = periodMax; PeriodMin = periodMin; Period = period; Start = start; End = end; } } }