array(35) { ["id"]=> string(3) "226" ["type"]=> string(6) "course" ["title"]=> string(54) "比特币价格数据爬取、存储、分析及预测" ["subtitle"]=> string(0) "" ["creator"]=> array(6) { ["id"]=> string(1) "8" ["nickname"]=> string(7) "mingzhu" ["title"]=> string(6) "教师" ["uuid"]=> string(40) "66f930e6f2d349b45f48f24e125e05d3a92fb8d1" ["destroyed"]=> string(1) "0" ["avatar"]=> array(3) { ["small"]=> string(76) "http://www.chinadatacase.com/files/default/2021/11-26/09105602405b816729.png" ["middle"]=> string(76) "http://www.chinadatacase.com/files/default/2021/11-26/091056023132077454.png" ["large"]=> string(76) "http://www.chinadatacase.com/files/default/2021/11-26/0910560220f8152273.png" } } ["showable"]=> string(1) "1" ["buyable"]=> string(1) "1" ["summary"]=> string(685) "

标题:     比特币价格数据爬取、存储、分析及预测
作者:     陈凯 ;
关键词:     python爬虫、python可视化、requests、mysql、ARIMA
发表日期:     2021-09-13
单位:     首都经济贸易大学
     本案例通过python网络爬虫的方法从指定网站获取了2013年4月28日到2021年7月29日的价格,并永久存储至MySQL数据库,然后进行涨跌幅的计算,周均线和月均线的绘画,之后利用pyecharts库画出周K线和月k线并存储。最后利用statsmodels库选取合适的ARIMA模型进行未来两年的价格预测。其中还做了模型的检验等。

" ["minPrice"]=> string(4) "0.00" ["maxPrice"]=> string(4) "0.00" ["discountId"]=> string(1) "0" ["images"]=> array(3) { ["large"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/171936897938951508.png" ["middle"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/17193689840b527261.png" ["small"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/171936898b9e293816.png" } ["ratingNum"]=> string(1) "0" ["rating"]=> string(1) "0" ["hitNum"]=> string(3) "572" ["hotSeq"]=> string(1) "0" ["maxPriceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["minPriceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["minDisplayPrice"]=> string(4) "0.00" ["maxDisplayPrice"]=> string(4) "0.00" ["minDisplayPriceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["maxDisplayPriceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["canManage"]=> bool(false) ["peopleShowNum"]=> string(3) "154" ["isMember"]=> bool(false) ["status"]=> string(9) "published" ["orgId"]=> string(1) "1" ["orgCode"]=> string(2) "1." ["recommendWeight"]=> string(1) "0" ["recommendedTime"]=> string(1) "0" ["createdTime"]=> string(25) "2022-03-03T09:27:57+08:00" ["updatedTime"]=> string(25) "2025-12-11T03:39:01+08:00" ["product"]=> array(7) { ["id"]=> string(3) "226" ["targetType"]=> string(6) "course" ["title"]=> string(54) "比特币价格数据爬取、存储、分析及预测" ["owner"]=> string(1) "8" ["createdTime"]=> string(10) "1646270877" ["updatedTime"]=> string(10) "1742345507" ["target"]=> array(17) { ["id"]=> string(3) "260" ["type"]=> string(6) "normal" ["title"]=> string(54) "比特币价格数据爬取、存储、分析及预测" ["subtitle"]=> string(0) "" ["summary"]=> string(685) "

标题:     比特币价格数据爬取、存储、分析及预测
作者:     陈凯 ;
关键词:     python爬虫、python可视化、requests、mysql、ARIMA
发表日期:     2021-09-13
单位:     首都经济贸易大学
     本案例通过python网络爬虫的方法从指定网站获取了2013年4月28日到2021年7月29日的价格,并永久存储至MySQL数据库,然后进行涨跌幅的计算,周均线和月均线的绘画,之后利用pyecharts库画出周K线和月k线并存储。最后利用statsmodels库选取合适的ARIMA模型进行未来两年的价格预测。其中还做了模型的检验等。

" ["cover"]=> array(3) { ["large"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/171936897938951508.png" ["middle"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/17193689840b527261.png" ["small"]=> string(75) "http://www.chinadatacase.com/files/course/2023/03-14/171936898b9e293816.png" } ["status"]=> string(9) "published" ["studentNum"]=> string(3) "154" ["discountType"]=> string(8) "discount" ["discount"]=> string(2) "10" ["minCoursePrice"]=> string(4) "0.00" ["maxCoursePrice"]=> string(4) "0.00" ["defaultCourseId"]=> string(3) "260" ["productId"]=> string(3) "226" ["goodsId"]=> string(3) "226" ["minCoursePrice2"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["maxCoursePrice2"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } } } ["extensions"]=> array(3) { [0]=> string(8) "teachers" [1]=> string(14) "recommendGoods" [2]=> string(10) "isFavorite" } ["specs"]=> array(1) { [0]=> array(26) { ["id"]=> string(3) "226" ["goodsId"]=> string(3) "226" ["targetId"]=> string(3) "260" ["title"]=> string(0) "" ["seq"]=> string(1) "1" ["status"]=> string(9) "published" ["price"]=> string(4) "0.00" ["coinPrice"]=> string(4) "0.00" ["usageMode"]=> string(7) "forever" ["usageDays"]=> string(1) "0" ["usageStartTime"]=> string(1) "0" ["usageEndTime"]=> string(1) "0" ["buyableStartTime"]=> string(1) "0" ["buyableEndTime"]=> string(1) "0" ["buyableMode"]=> NULL ["buyable"]=> string(1) "1" ["maxJoinNum"]=> string(1) "0" ["services"]=> array(0) { } ["priceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["displayPrice"]=> string(4) "0.00" ["displayPriceObj"]=> array(2) { ["currency"]=> string(3) "RMB" ["amount"]=> string(4) "0.00" } ["isMember"]=> bool(false) ["access"]=> array(2) { ["code"]=> string(14) "user.not_login" ["msg"]=> string(15) "用户未登录" } ["hasCertificate"]=> bool(false) ["learnUrl"]=> string(42) "http://www.chinadatacase.com/my/course/260" ["teachers"]=> array(1) { [0]=> array(6) { ["id"]=> string(4) "1017" ["nickname"]=> string(6) "陈凯" ["title"]=> string(0) "" ["uuid"]=> string(40) "8760b3abbd61554d9dff4efe3761b9d0840e006c" ["destroyed"]=> string(1) "0" ["avatar"]=> array(3) { ["small"]=> string(58) "http://www.chinadatacase.com/assets/img/default/avatar.png" ["middle"]=> string(58) "http://www.chinadatacase.com/assets/img/default/avatar.png" ["large"]=> string(58) "http://www.chinadatacase.com/assets/img/default/avatar.png" } } } } } } 比特币价格数据爬取、存储、分析及预测 - 中国经管实验教学案例平台