Example #1
0
        public OrdersResponse GetMyOrders(ServersLocation location, AlgoEnum algo)
        {
            var postData = new object[]
            {
                "location=" + (int)location,
                "algo=" + (int)algo
            };

            var data = GetData <NiceHashResponse <OrdersResponse> >(PublicApiCommands.GetOrders, postData);

            return(data.Result);
        }
        public void LoadData(ServersLocation location, AlgoEnum algo, double profitablePrice)
        {
            var tuple = new Tuple <ServersLocation, AlgoEnum, double>(location, algo, profitablePrice);

            gridControl1.RunLoadDataAsync(tuple);
        }