14 lines
402 B
C#
14 lines
402 B
C#
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Intarfaces;
|
|
|
|
namespace KLHZ.Trader.Core.Contracts.Declisions.Interfaces
|
|
{
|
|
public interface IPriceHistoryCacheUnit
|
|
{
|
|
public string Figi { get; }
|
|
public int Length { get; }
|
|
public ValueTask AddData(INewPrice priceChange);
|
|
|
|
public ValueTask<(DateTime[] timestamps, float[] prices)> GetData();
|
|
}
|
|
}
|