27 lines
807 B
C#
27 lines
807 B
C#
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Interfaces;
|
|
|
|
namespace KLHZ.Trader.Core.Contracts.Declisions.Dtos
|
|
{
|
|
public class CachedValue : ITradeDataItem
|
|
{
|
|
public DateTime Time { get; init; }
|
|
public long Count { get; init; }
|
|
public decimal Price { get; init; }
|
|
public decimal Value { get; init; }
|
|
public decimal Value2 { get; init; }
|
|
|
|
public CachedValue()
|
|
{
|
|
Figi = string.Empty;
|
|
Ticker = string.Empty;
|
|
Direction = 0;
|
|
IsHistoricalData = false;
|
|
}
|
|
|
|
public bool IsHistoricalData { get; init; }
|
|
public required string Figi { get; init; }
|
|
public required string Ticker { get; init; }
|
|
public int Direction { get; init; }
|
|
}
|
|
}
|