コード例 #1
0
 public void AmendStops(AmendStopLossProfitRequest amendStopLossProfitRequest, OnInstructionResponse instructionCallback, OnFailure failureCallback)
 {
     OrderResponseHandler handler = new OrderResponseHandler();
     SendRequest(amendStopLossProfitRequest, handler, delegate() { instructionCallback(handler.InstructionId); }, failureCallback);
 }
コード例 #2
0
ファイル: Session.cs プロジェクト: forttran/tx.link.incoming
        public void AmendStops(AmendStopLossProfitRequest amendStopLossProfitRequest, OnInstructionResponse instructionCallback, OnFailure failureCallback)
        {
            OrderResponseHandler handler = new OrderResponseHandler();

            SendRequest(amendStopLossProfitRequest, handler, delegate() { instructionCallback(handler.InstructionId); }, failureCallback);
        }
コード例 #3
0
        public void AmendStops(AmendStopLossProfitRequest amendStopLossProfitRequest, OnInstructionResponse instructionCallback, OnFailure failureCallback)
        {
            OrderResponseHandler handler = new OrderResponseHandler();

            this.SendRequest((IRequest)amendStopLossProfitRequest, (Handler)handler, (Session.OnSucessfulRequest)(() => instructionCallback(handler.InstructionId)), failureCallback);
        }