Exemplo n.º 1
0
 public CloseInstruction(
     DateTime submissionTime,
     ITradingObject tradingObject,
     TradingPrice price = null)
     : base(submissionTime, tradingObject, TradingAction.CloseLong, price)
 {
 }
Exemplo n.º 2
0
 public Instruction(
     DateTime submissionTime,
     ITradingObject tradingObject,
     TradingAction action,
     TradingPrice price)
 {
     Id             = IdGenerator.Next;
     TradingObject  = tradingObject;
     Action         = action;
     Price          = price;
     SubmissionTime = submissionTime;
 }