Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Readme
yfinanceapi (Equity and currency information API)
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.
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.
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 2015, Karthik.S
This project is licensed under GNU v2.0. For more information read the LICENSE.txt file.
Bugs and feature requests can be reported at karthikbharadwaj005@gmail.com
FAQs
Equity/commodity/currency information API; sources content from Yahoo! Finance
We found that yfinanceapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).