示例#1
0
        public override bool Equals(object obj)
        {
            if (!this.GetType().Equals(obj.GetType()))
            {
                return(false);
            }

            CoinsEOrderId other = (CoinsEOrderId)obj;

            return(other.MarketId.Equals(this.MarketId) &&
                   other.Value.Equals(this.Value));
        }
示例#2
0
        public async Task CancelOrder(OrderId orderId)
        {
            CoinsEOrderId coinsEOrderId = (CoinsEOrderId)orderId;

            JObject responseJson = await CallPrivate(CoinsEMethod.cancelorder, orderId, GetMarketUrl(coinsEOrderId.MarketId));
        }
示例#3
0
 private CoinsEMyOrder(CoinsEOrderId orderId, OrderType orderType,
                       DateTime created, decimal price, decimal quantity, decimal originalQuantity,
                       CoinsEMarketId marketId) : base(orderId, orderType, created, price, quantity, originalQuantity, marketId)
 {
 }
 private CoinsEMyOrder(CoinsEOrderId orderId, OrderType orderType,
     DateTime created, decimal price, decimal quantity, decimal originalQuantity,
     CoinsEMarketId marketId)
     : base(orderId, orderType, created, price, quantity, originalQuantity, marketId)
 {
 }