Example #1
0
        public bool Cancel(string orderId)
        {
            var request = new TextRequest <string>()
            {
                Function = string.Format("cancel?apikey={0}&nonce={1}&orderid={2}", UserData.API_KEY, this.GetNonce(), orderId),
            };

            return(request.GetResponse().success);
        }
Example #2
0
        public bool Sell(Dictionary <string, string> DicParams)
        {
            var strFunc = "selllimit?apikey={0}&nonce={1}&market={2}&rate={3}&quantity={4}";

            var function = string.Format(strFunc, UserData.API_KEY, this.GetNonce(), DicParams["market"], DicParams["rate"], DicParams["quantity"]);

            var request = new TextRequest <string>()
            {
                BaseUrl  = "https://bleutrade.com/api/v2/market",
                Function = function
            };

            return(request.GetResponse().success);
        }