klhztrader/KLHZ.Trader.Core/Exchange/Models/AssetsAccounting/Asset.cs

18 lines
677 B
C#

using KLHZ.Trader.Core.Contracts.Common.Enums;
namespace KLHZ.Trader.Core.Exchange.Models.AssetsAccounting
{
public class Asset
{
public Guid AssetId { get; init; } = Guid.NewGuid();
public decimal BlockedItems { get; init; }
public AssetType Type { get; init; }
public PositionType Position { get; init; }
public DateTime BoughtAt { get; init; }
public required string AccountId { get; init; }
public required string Figi { get; init; }
public required string Ticker { get; init; }
public decimal BoughtPrice { get; init; }
public decimal Count { get; init; }
}
}