Пример #1
0
    //TRADE
    public static string personal_info()
    {
        Dictionary <string, string> list = new Dictionary <string, string>();

        list.Add("method", "getInfo");
        return(BtceHelper.query(list));
    }
Пример #2
0
    public static string depth(string pair)
    {
        string url = "https://btc-e.com/api/3/depth/{0}?limit=2000";

        url = string.Format(url, pair);
        return(BtceHelper.query(url));
    }
Пример #3
0
    public static string trades(string pair)
    {
        string url = "https://btc-e.com/api/3/trades/{0}";

        url = string.Format(url, pair);
        return(BtceHelper.query(url));
    }
Пример #4
0
    public static string trade(string pair, string type, string rate, string amount)
    {
        Dictionary <string, string> list = new Dictionary <string, string>();

        list.Add("method", "Trade");
        list.Add("pair", pair);
        list.Add("type", type);
        list.Add("rate", rate);
        list.Add("amount", amount);
        return(BtceHelper.query(list));
    }
Пример #5
0
    //PUBLIC
    public static string info()
    {
        string url = "https://btc-e.com/api/3/info";

        return(BtceHelper.query(url));
    }