forked from DmT021/BtceApi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
23 lines (20 loc) · 744 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);