private void Position_OnTargetTouched(OrderViewModel order)
 {
     StockOrder stockOrder = StockOrder.CreateExecutedOrder(replaySerie.StockName,
         StockOrder.OrderType.SellAtLimit,
         order.Type == OrderType.Short,
         dailyValue.DATE, dailyValue.DATE, 1,
         order.Value, 0);
     this.portfolio.OrderList.Add(stockOrder);
 }
 public void AddTarget(float value, int qty)
 {
     this.TargetOrder = new OrderViewModel()
     {
         Number = qty,
         Category = OrderCategory.Target,
         Type = this.Number > 0 ? OrderType.Long : OrderType.Short,
         Value = value
     };
     this.Orders.Add(this.TargetOrder);
 }