/BtceApi

Api for btc-e.com

Primary LanguageC#

C# API for btc-e.com
====================

Author
------------
  Galimzyanov Dmitry
  Russia, Ekaterinburg city
  Donate: 131W3PYbiydd7K8XhYo7YqPodUPVhztFMi

Example
------------
var ticker = BtceApi.GetTicker(BtcePair.BtcUsd);
var trades = BtceApi.GetTrades(BtcePair.BtcUsd);
var btcusdDepth = BtceApi.GetDepth(BtcePair.UsdRur);
var fee = BtceApi.GetFee(BtcePair.UsdRur);

var btceApi = new BtceApi("YOUR-API-KEY", "your_secret_key");
var info = btceApi.GetInfo();
var transHistory = btceApi.GetTransHistory();
var tradeHistory = btceApi.GetTradeHistory(count: 20);
var orderList = btceApi.GetOrderList();
var tradeAnswer = btceApi.Trade(BtcePair.BtcUsd, TradeType.Sell, 20, 0.1m);
var cancelAnswer = btceApi.CancelOrder(tradeAnswer.OrderId);