public async Task<string> Post(NasdaqRequest request)
        {
            var message = BuildRequest(request, HttpMethod.Post);
            var response = await _client.SendAsync(message);

            var content = await response.Content.ReadAsStringAsync();
            return content;
        }
        private string BuildPayload(NasdaqRequest request)
        {
            var timeFrame = "y";
            switch (request.TimeFrame)
            {
                case QuoteTimeFrame.Month:
                    timeFrame = "m";
                    break;
                case QuoteTimeFrame.Year:
                    break;
                default:
                    throw new ArgumentOutOfRangeException();
            }

            return string.Format(
                    @"__VIEWSTATE=XZrs0K3CLAQik%2B9%2FBOhqgzAu7AhSyzuIPlnviIYDraD9QdIJSo66MxkIWaIalgteK%2FjHBtc7rDr30HU44miTqa1z8cjPBNrr3CqxTGaT0xhET3TsmEh6o8AE2YMCXPwKzly0FhTZeZmrLT%2B%2BJ%2BBv%2F3dBBodNYSRs4HGe37Xny3GBMQ5qJ8lwJhyxMiybjfrblSClVGt8DjPJEJfLcPSJoCE2uSjSv24XMTS32CRhmmSen%2F00EQDWPNwa2xP1Drjt%2BznOhnR1x%2FPZUcCZq6rH8C5kOmczDyErER38S7BJLOoPDa78bIEFeE3nPXln8EPyKq9354xTTw4u2u3kklYdXYkz7V9QWLjSIRv4r15Hq5MpB02i9xE%2FFLZUk6Rx94W4E0p7J1WpHAh%2B9gMdafOhhNdmojnG94sy7YWTz1nbm5oTjwsj0cf5yA8Ol27huS%2BvYNwDCBbEezuNvwLed%2Fcd4%2FLt0l9B9zrl7INugqcoVQQ%2F0rI3rkhTJRVTt0ZOHOEjij%2BPGb%2BFoNMQVR0DmYK%2B4qysHQnybf747pr2Lolt530MiHEwi%2ByMmOHms4Im%2FsP3ZtujLasSJdpxpvYjoJXa8j2biqh3Zg1KYN78J%2BOCMIWkXJ4XmztgR0YlwvwpJIkKb%2FhP5%2B1mTHcTHUehKjXG7e2c8fsnfKxIYABJx97xxNuLKY%2Bxjc37%2BEewFAldM1VTseAQoenfv8Y5pcc85ZsjXaDsngiVpq35h079lJPvBvdgLaR%2BmKHzoKAtVG%2BzYsmz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Qm%2FAhgRWuAnQe6Zc8YI9U5gKIs0vUYYHlULVqZVlpGb1klcfzpVlX7sdBccYr4lTDmlS9gWivItrYFOO49bMEAXxpAvY4B6GIT2o90Jfij%2BucpVlJ%2BXcTG7NZ3aya1L4Uk24WwXeGbyWAKKVP15jwqGtLyk3dqpFs%2B06DsLpvu8XI5Ilu%2FyDLrxcE0vcfMYyyWF6IzPxSLXMZFy8UJuFDrCKOLf0E8jp1VxH7T4OSq0cGm7Lh5DrgXpIFpLjMFSfqQKxUM32A9bzw2zqbu7a%2BbJgCUV0czLmDmZy6WLzmbiT6a9VQWoZh641K964ELQALR1i1CqlmNFmwiTLAMucOWeP6S9vk6dQG0D20w7OnCs59nBJ%2BQdaojzCX7qR7nnVKUNbxk7yzgEL6MDugq3uy%2FDASNR3G02qac0dt%2BfdCAxHD6uO1DKCNe3QfqAUxg55ErketR0dblyxQGARTFfxNix5zeuXDKopFx%2FRbJZIMqRKU030yzYBHGKothZFd6eVRaU3X%2BmQfQj28AhhXrJs44PKYQ4AwMvE3lJplf1Xb1FMEcK7S2oDjR%2FC7Jzlm5THi4srgHsirNGUa1xxEgGOHyGl7bIXLqN%2FYw2kkPMmxpizv9jXcflxHqGddaNj9yCO0V0oxnh1J%2B1g8eniMkJZEdNDUOZP4YXJcXjBjU97VvlBK%2BT2E2%2BIGo%2B%2BQYnHpKIyJxW3LMJDxc%2FP4DDtu87%2B0BKkKZRJKV%2FICdIt&__VIEWSTATEGENERATOR=87BE3BDB&__VIEWSTATEENCRYPTED=&__EVENTVALIDATION=VEkuZo2SeOu%2FnD6j9HLbGqFRgn64%2FASvJe4A%2F2bBQZJEYAvhmTKtRI8ZzltP4OFS9mbehJ4lK5HMuQEndw4xLqGpg1FlBvG7W9hqdK6FM4c2DB7QgSr0nj1a58AwdlnR&ctl00%24quotes_content_left%24submitString={0}{1}%7Ctrue%7C{2}",
                    request.TimeFrameValue, timeFrame, request.Symbol.ToUpper().Trim());
        }
        private HttpRequestMessage BuildRequest(NasdaqRequest nasdaqRequest, HttpMethod httpMethod)
        {
            HttpRequestMessage request = new HttpRequestMessage(httpMethod, nasdaqRequest.ResourceUrl);
            request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("text/html"));
            request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/xhtml+xml"));
            request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("*/*"));
            request.Headers.Referrer = new Uri(Path.Combine(_client.BaseAddress.AbsoluteUri, nasdaqRequest.ResourceUrl));
            request.Headers.AcceptLanguage.Add(new StringWithQualityHeaderValue("en-GB", 0.8));
            request.Headers.AcceptLanguage.Add(new StringWithQualityHeaderValue("ru", 0.8));
            request.Headers.AcceptLanguage.Add(new StringWithQualityHeaderValue("en-US", 0.5));
            request.Headers.AcceptLanguage.Add(new StringWithQualityHeaderValue("en", 0.3));
            string payload = BuildPayload(nasdaqRequest);

            request.Content = new StringContent(payload);
            request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");

            return request;
        }