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)); }
public async Task CancelOrder(OrderId orderId) { CoinsEOrderId coinsEOrderId = (CoinsEOrderId)orderId; JObject responseJson = await CallPrivate(CoinsEMethod.cancelorder, orderId, GetMarketUrl(coinsEOrderId.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) { }