java通过sina端口提取股票历史数据并存入MySQL

 1.提取股票代码

代码见:http://www.oschina.net/code/snippet_2688840_55337

 2抓取sina股票的json页面数据;

代码见:http://www.oschina.net/code/snippet_2688840_55490

3.将数据存入MySQL:

  1. 创建生成SQL语句的类。包括“create table”与“insert into”语句 

  2. 创建生成最终需要运行的SQL语句的类。(SQL语句生成器)

  3. 批量运行SQL语句的类。

代码见:http://www.oschina.net/code/snippet_2688840_55655

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0