从bse获取数据的包

bsedata的Python项目详细描述


bsedata

Codacy BadgePyPi VersionPyPi LicensePyPi PyVersionsPyPi Format

masterdev
TravicCI masterTravisCI dev

用于从孟买证券交易所(印度)提取实时数据的python库。

简介

bsedata是一个从孟买证券交易所(印度)收集实时数据的库。它可以用于各种类型的项目,这些项目需要获得给定股票或指数的实时报价,或者构建用于数据分析的大型数据集。

数据与BSE website上提供的一样精确。

Please do not use this application for production usage. It is best used for learning and building application for your own use. For commercial application you better buy a data service.

This library uses MIT license hence liability lies with the user and not the author of the application.

As per India's IT act it is no where mentioned that we cannot scrape a website. It's up to me whether I consume the publicly available data "visually" or through my programme or using some kind of "web reader". As long as data you are scrapping is available in public domain and you are not breaching security and accessing data of private nature with malicious intent, it cannot be termed as illegal.

But it can certainly be termed "unethical" (which is equally bad) since you are damaging the service itself. Hence be prudent about how much stress you cause to the backend. BSE's website is very capable and even they will not mind if someone is scrapping their website for educational purposes.

特点:

  • 在python字典中使用股票代码获取实时报价
  • 获取最失败者列表
  • 获取最佳收益者列表
  • 获取在BSE交易的所有指数的报价
  • helper api用于检查给定的股票代码或索引代码是否正确
  • 获取所有指数和股票的列表

路线图:

  • 获取单个索引的详细信息
  • 完整的单元测试覆盖率
  • 每日OHLCVA数据
  • 历史eod ohlcv数据

依赖关系

用法

请参阅https://bsedata.readthedocs.io/en/latest/usage.html

更改日志

v0.3.0

新功能:

  • 实现updateScriptcode、getScripcode和verifyScripcode方法来验证和搜索Scrip代码

错误修复:

  • 修复返回空响应的getIndexs方法
  • 修正getquote方法不返回公司名称

v0.2.0

新功能:

  • 获取在BSE交易的所有指数的报价

v0.1.0

新功能:

  • 使用股票代码获取实时报价
  • 以json和python(dict和list)格式返回数据
  • 获取最失败者列表
  • 获取最佳收益者列表

许可证

麻省理工学院许可证

版权所有(c)2018 Shrey Dabhi

兹免费准许任何人取得副本 本软件和相关文档文件(“软件”)的 在软件中不受限制,包括但不限于 使用、复制、修改、合并、发布、分发、再授权和/或出售 软件的副本,并允许软件的用户 在满足以下条件的情况下,可以这样做:

上述版权公告及本许可公告须包括在 软件的拷贝或大部分。

本软件按“原样”提供,无任何形式的保证,明示或 默示的,包括但不限于适销性保证, 适合特定目的和不侵权。在任何情况下 作者或版权所有者应对任何索赔、损害或其他 责任,无论是在合同诉讼、侵权诉讼或其他诉讼中, 不属于或与本软件有关,或使用或与本软件的其他交易有关。 软件。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从其BlobKey获取Google云存储文件   java*Vert。x*:如何在同步代码中处理   java HikaiCP:如何查看连接池大小?   java解析依赖项的重复版本   java如何删除TableColumn中的HTML标记   Maven依赖项找不到sendgridjava的zip文件   Java可用的垃圾收集算法   java IntelliJ git集成技巧和技巧   java如何在安卓中实现应用内支付?   java如何在安卓中从whatsapp获取pdf文件数据到我的应用程序?   有没有一种方法可以使用JavaScript(Vue.js)将Java应用程序(游戏)实现到网站中   使用SWT浏览器进行java-to-javascript通信的问题   java在Android手机上更改字体大小后启用textView内的滚动条