Example #1
0
        public async Task GetNasdaqHoldingDownloadTest()
        {
            var setting    = new NasdaqHoldingSetting("VRX");
            var downloader = new NasdaqHoldingDownloader(setting);
            var result     = await downloader.PostDownload(
                new Dictionary <string, string> {
                { "Command", "marketvalue" }, { "sortorder", "1" }, { "page", "1" }
            });

            //   var result = await downloader.DownloadObjectTaskAsync().ConfigureAwait(false);
            //   var result2 = await downloader.DownloadObjectStreamTaskAsync().ConfigureAwait(false);
            PrintProperties(result, 0);
            //   PrintProperties(result2, 0);
        }
Example #2
0
 public NasdaqHoldingDownloader(NasdaqHoldingSetting setting)
     : base(setting)
 {
 }