예제 #1
0
        public void DeleteSingleTransaction(string transactionId)
        {
            var item = Get(transactionId);

            database.DeleteOrderIndex(transactionId);
            IndexOrderCache.Remove(transactionId);

            database.UpdateToKeyMap("orders_" + item.TradingPair, transactionId);
        }
예제 #2
0
 public void DeleteIndex(TransactionOrderLimit record)
 {
     database.DeleteOrderIndex(record.TransactionId);
     database.DeleteKeyMap("orders_" + record.TradingPair);
     IndexOrderCache.Remove(record.TransactionId);
 }