摘要: import tushare as ts 1.实时票房 ts.realtime_boxoffice() BoxOffice 实时票房(万) Irank 排名 MovieName 影片名 boxPer 票房占比 (%) movieDay 上映天数 sumBoxOffice 累计票房(万) time 数 阅读全文
posted @ 2018-10-18 16:16 Brisbanes 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 数据存储 1.csv 格式 import tushare as tsdf = ts.get_hist_data('601998')df.to_csv('C:/Users/lalala/Desktop/Tomato/Hundreds of millions/2018.10.17/c.csv',colu 阅读全文
posted @ 2018-10-18 16:06 Brisbanes 阅读(1256) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.Shibor拆放利率 2.银行报价数据 3.Shibor均值数据 4.贷款基础利率(LPR) 5.LPR均值数据 由于sort不能使用 所以之后更新 阅读全文
posted @ 2018-10-18 16:02 Brisbanes 阅读(343) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.每日龙虎榜列表 ts.top_list('2018-10-18') code:代码 name:名称 pchange:当日涨跌幅 amount:龙虎榜成交额(万) buy:买入额(万) bratio:买入占总成交比例 sell:卖出额(万) sratio: 阅读全文
posted @ 2018-10-18 15:53 Brisbanes 阅读(631) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.即时新闻 ts.get_latest_news() ,默认是80条新闻 ts.get_latest_news(数字小于八十) ts.get_latest_news(top=10,show_content=True) 显示十条数据 当show_centen 阅读全文
posted @ 2018-10-18 15:39 Brisbanes 阅读(895) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.存款利率 ts.get_deposit_rate() 2.贷款利率 ts.get_loan_rate() 3.存款准备金率 ts.get_rrr() date :变动日期 before :调整前存款准备金率(%) now:调整后存款准备金率(%) cha 阅读全文
posted @ 2018-10-18 15:21 Brisbanes 阅读(812) 评论(1) 推荐(0) 编辑
摘要: import tushare as ts 1.沪深股票列表 ts.get_stock_basics() code,代码 name,名称 industry,所属行业 area,地区 pe,市盈率 outstanding,流通股本(亿) totals,总股本(亿) totalAssets,总资产(万) 阅读全文
posted @ 2018-10-18 15:05 Brisbanes 阅读(1480) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.行业分类 ts.get_industry_classified() 2.概念分类 ts.get_concept_classified() 3.地域分类 ts.get_area_classified() 4.中小板分类 ts.get_sme_classif 阅读全文
posted @ 2018-10-18 14:49 Brisbanes 阅读(1291) 评论(0) 推荐(0) 编辑
摘要: import tushare as ts 1.分配预案(每到季报、年报公布的时段,就经常会有上市公司利润分配预案发布,而一些高送转高分红的股票往往会成为市场炒作的热点。及时获取和统计高送转预案的股票是参与热点炒作的关键,TuShare提供了简洁的接口,能返回股票的送转和分红预案情况。) df = t 阅读全文
posted @ 2018-10-18 14:31 Brisbanes 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 1.获取历史数据 ts.get_hist_data('601998') 获取601998的历史数据 ts.get_hist_data('601998',start='2016-06-05',end='2016-07-06') 获取指定时间内的历史数据 2.获取某股票的上市日期 df = ts.get 阅读全文
posted @ 2018-10-18 14:01 Brisbanes 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: 安装mysql后,命令行无法输入命令提示 You must reset your password using ALTER USER statement before executing this statement. 阅读全文
posted @ 2018-10-18 10:58 Brisbanes 阅读(8347) 评论(0) 推荐(1) 编辑
摘要: 通过Navicat 连接 MySQL8.0 ,会遇到 1251 client does not support的报错,来看看解决方案! 1.打开cmd ,cd到安装mysql的目录下: 2.输入你的密码: . 3.更改密码加密的方式 4.修改新密码 新密码为password 5.plush 刷新一下 阅读全文
posted @ 2018-10-18 10:51 Brisbanes 阅读(3511) 评论(1) 推荐(0) 编辑