18 lines
675 B
C#
18 lines
675 B
C#
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Enums;
|
|
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Interfaces;
|
|
|
|
namespace KLHZ.Trader.Core.Contracts.Messaging.Dtos
|
|
{
|
|
public class TradeCommand : ITradeCommand
|
|
{
|
|
public Guid CommandId { get; init; } = Guid.NewGuid();
|
|
public TradeCommandType CommandType { get; init; }
|
|
public required string Figi { get; init; }
|
|
public decimal? RecomendPrice { get; init; }
|
|
public long Count { get; init; }
|
|
public required string AccountId { get; init; }
|
|
public bool EnableMargin { get; init; } = true;
|
|
public string? OrderId { get; init; }
|
|
}
|
|
}
|