public S4_CancelRemains_PositionTakerState(PositionTakerController parent, POrder thisTurnOrder)
        {
            _parent = parent;
            this.ThisTurnOrder = thisTurnOrder;

            this.ThisTurnOrder.CancelRemains();
        }
        public S1_RequestOrder_PositionTakerState(PositionTakerController parent)
        {
            _parent = parent;

            this.Code = _parent.Code;
            this.LongShort = _parent.LongShort;
            this.UnsignedTargetCount = _parent.UnsignedTargetCount;
            this.TargetPrice = _parent.TargetPrice;
            this.RepeatCount = _parent.RepeatCount;
            this.TargetAccount = _parent.TargetAccount;
            this.Orders = _parent.Orders;

            // 주문을 만들어서 쏴버린다.
            RequestOrder();
        }
 public S3_WaitFewSec_PositionTakerState(PositionTakerController parent, POrder thisTurnOrder)
 {
     _parent = parent;
     this.ThisTurnOrder = thisTurnOrder;
     _timer = new Timer(kWaitSec, "");
 }
 public S2_WaitGotOrderNum_PositionTakerState(PositionTakerController parent, POrder thisTurnOrder)
 {
     _parent = parent;
     this.ThisTurnOrder = thisTurnOrder;
 }