public static string depth(string pair) { string url = "https://www.okcoin.cn/api/v1/depth.do?symbol={0}&size=200"; url = string.Format(url, pair); return(OkcCNHelper.query(url)); }
public static string trade(string since) { string url = "https://www.okcoin.cn/api/v1/trades.do?since={0}"; url = string.Format(url, since); return(OkcCNHelper.query(url)); }
//PUBLIC public static string ticker(string pair) { string url = "https://www.okcoin.cn/api/v1/ticker.do?symbol={0}"; url = string.Format(url, pair); return(OkcCNHelper.query(url)); }
//TRADE public static string personal_info() { Dictionary <string, string> list = new Dictionary <string, string>(); return(OkcCNHelper.query("https://www.okcoin.cn/api/v1/userinfo.do", list)); }