摘要: 安装好anaconda后,启动jupyter不能自动跳转网页,接下来看下解决办法 一:解决不能跳转网页的问题 1.将执行jupyter后,命令行中的最后一一段,就是带有http得链接复制到浏览器里即可 2.由于每次都复制链接比较麻烦,打开cmd 执行代码 jupyter notebook --gen 阅读全文
posted @ 2018-10-24 09:08 Brisbanes 阅读(5797) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑