public BitfinexCancelReplaceOrderResponse CancelReplaceOrder(BitfinexCancelReplacePost replaceOrder)
        {
            replaceOrder.Request = OrderCancelRequestUrl + CancelReplaceRequestUrl;
            replaceOrder.Nonce = Common.UnixTimeStampUtc().ToString();

            var client = GetRestClient(replaceOrder.Request);
            var response = GetRestResponse(client, replaceOrder);

            var replaceOrderResponseObj = JsonConvert.DeserializeObject<BitfinexCancelReplaceOrderResponse>(response.Content);
            replaceOrderResponseObj.OriginalOrderId = replaceOrder.CancelOrderId;
            CancelReplaceFeedMsg(replaceOrderResponseObj);

            Logger.Log.InfoFormat("Cancel Replace: {0}");
            Logger.Log.InfoFormat("Response From Exchange: {0}", replaceOrderResponseObj.ToString());

            return replaceOrderResponseObj;
        }
 public BitfinexCancelReplaceOrderResponse CancelReplaceOrder(int cancelOrderId, BitfinexNewOrderPost newOrder)
 {
     var replaceOrder = new BitfinexCancelReplacePost()
     {
         Amount = newOrder.Amount,
         CancelOrderId = cancelOrderId,
         Exchange = newOrder.Exchange,
         Price = newOrder.Price,
         Side = newOrder.Side,
         Symbol = newOrder.Symbol,
         Type = newOrder.Type
     };
     return CancelReplaceOrder(replaceOrder);
 }