27 lines
903 B
C#
27 lines
903 B
C#
namespace KLHZ.Trader.Core.Declisions.Models
|
|
{
|
|
public readonly struct PeriodPricesInfo
|
|
{
|
|
public readonly int Count;
|
|
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 PeriodPricesInfo(bool success, float firstPrice, float lastPrice, float periodDiff, float periodMin, float periodMax, TimeSpan period, int count)
|
|
{
|
|
Success = success;
|
|
LastPrice = lastPrice;
|
|
FirstPrice = firstPrice;
|
|
PeriodDiff = periodDiff;
|
|
PeriodMax = periodMax;
|
|
PeriodMin = periodMin;
|
|
Period = period;
|
|
Count = count;
|
|
}
|
|
}
|
|
}
|