WebClient client = new WebClient();
string stockCodes = "sh601169,sz000948,sh601398,sz002114";
string zs = "s_sh000001,s_sz399001";
while (true)
{
string reply = client.DownloadString(
string.Format("http://hq.sinajs.cn/list={0}", stockCodes));
Console.WriteLine(reply);
reply = client.DownloadString(
string.Format("http://hq.sinajs.cn/list={0}", zs));
Console.WriteLine(reply + " " + DateTime.Now.ToString());
System.Threading.Thread.Sleep(5000);
}

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案