Description
-----------
The yfinanceapi is an API for Python that builds on top of the Yahoo! finance JSON API to provide equity and currency information, such as price, volume, last trade time etc.
Installation
------------
The API can be installed from PyPi using the following command:
pip install yfinanceapi
Instructions on installing pip can be found here: https://pip.pypa.io/en/latest/installing.html
Alternatively, it can be installed using github:
pip install git+https://github.com/Karthik005/yfinanceapi#egg=yfinanceapi
The installation may require root permissions.
Usage
-----
The API can be imported in the following manner:
import yfinanceapi as api
Stock/equity information is obtained as follows:
api.get_prices(['GOOG','MSFT','INFY.NS'])
api.get_volumes(['GOOG','MSFT','INFY.NS'])
Prices are in currency values of the country in which symbol is listed
Currency information is obtained as follows:
api.get_currency_prices(['INR','JPY'])
api.get_currency_utc(['INR','JPY'])
Currency values are measured with respect to USD.
Additional functions, information on usage and allowed symbol values can be found in the docstrings of the api.py file.
Copyright
---------
Copyright 2015, Karthik.S
License
-------
This project is licensed under GNU v2.0. For more information read the LICENSE.txt file.
Bugs and requests
----------------
Bugs and feature requests can be reported at karthikbharadwaj005@gmail.com
Metadata
Release files for yfinanceapi 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yfinanceapi-1.0.2.tar.gz | 10.4 kB | Without provenance | Details for yfinanceapi-1.0.2.tar.gz |
Release files / yfinanceapi-1.0.2.tar.gz
| Download URL | yfinanceapi-1.0.2.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef09f5d6b25890b8029753690dd5e8829f050345b62ab86e1dba07d99b6ed9cf
|
|
BLAKE2b-256 checksum How to use checksums |
dcb99b3b32ae9f5dff4f8bc5d89acd637814e29d0002cf1a7faeb4f2a3d31a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for yfinanceapi 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.