Library to scraping from yahoo finance page quote data..
Project description
YahooFinanceScraping
YahooFinanceScraping is a library to scraping quote data.
Features
- Regular market price.
- Previous close.
- Open value.
- Days range.
Installation
- Run
pip install yahoofinancescraping
Example
from yfs import YahooFinanceScraping
yfs = YahooFinanceScraping('IBM')
regular_market_price = yfs.regular_market_price()
print(regular_market_price)
previous_close = yfs.previous_close()
print(previous_close)
open_value = yfs.open_value()
print(open_value)
days_range = yfs.days_range()
print(days_range)
Console Output
foo@bar ~/
$ python test.py
133,04
132,21
133,00
{'min': Decimal('130.89'), 'max': Decimal('133.77')}
Upgrade
- Run
pip install yahoofinancescraping --upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file YahooFinanceScraping-0.0.3.tar.gz.
File metadata
- Download URL: YahooFinanceScraping-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
918ab41645db450752f12c80f2787ec408f483c56b007139f2545927ee03f885
|
|
| MD5 |
43374bbec491acfd47b4f723d819ff6e
|
|
| BLAKE2b-256 |
1a021bf78c81152029a36461ec4fdf980bdd0413a431fc048484099a537b72a3
|
File details
Details for the file YahooFinanceScraping-0.0.3-py3-none-any.whl.
File metadata
- Download URL: YahooFinanceScraping-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4574e3d6a4428d814b5b5af17f1242ade13df44385ae3a698699e3a28e3b130
|
|
| MD5 |
1037f97ef2b4cee38629f130c52f3b39
|
|
| BLAKE2b-256 |
f6d01d8bc5359969b620b2ad9f4bc52bf76b7d2fa449a85aeb4099bc63e9eb78
|