mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
23 lines
406 B
C#
23 lines
406 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
|
|
using StockSharp.BusinessEntities;
|
|
|
|
public class ClosePositionCommand : BaseStudioCommand
|
|
{
|
|
public Position Position { get; private set; }
|
|
|
|
public ClosePositionCommand()
|
|
{
|
|
}
|
|
|
|
public ClosePositionCommand(Position position)
|
|
{
|
|
if (position == null)
|
|
throw new ArgumentNullException("position");
|
|
|
|
Position = position;
|
|
}
|
|
}
|
|
} |