dividend
The Unofficial API for dividend.com
Installation
This package has been uploaded to Pypi, to install the latest package:
pip install dividend
Using the Screener
from dividend.screener import Screener
filters = { "f_7_min": 100. "f_7_max": 500 } #Share price between $100 and $500
equities = Screener(filters=filters)
equities.data
[{'ticker': 'YMZBY', 'company_name': 'Yamazaki Baking Co Ltd - ADR', 'payout_ratio': '0.00%', 'payout_frequency': 'N/A', 'consecutive_years_of_growth': '0'}...]
equities.total_records
136
Screener Tables
There are 3 table views to choose from; 'overview', 'attributes' & 'dividend-growth'
You can change table view when initialzing Screener(table='overview')
The default is set to 'overview'
Screener Filters
You can pass in an arbitrary amount of valid filters.Each filter has a correspondng key name. To find the corresponding key, you will need to parse the screener web page url params.
The filter params follows a alphanumeric convention. For instance, if you wish to filter by sector which are in Basic Materials, the filter params will look as follows: f_1=Basic%20Materials
The filer object: filters = { "f_1": ["Basic Materials"] }
Filters with checkboxes are passed as a collection of array strings. Filters with ranges are passed with a min and max values and can also accept boolean values.
Current limit is 4000 records to minimze large requests. If you wish to receive more than the limit, create issue ticket.
Metadata
Release files for dividend 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dividend-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dividend-1.0.3-py3-none-any.whl
| Download URL | dividend-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec3d3f0c4eb9277bd733541f6de0da43b486ff752fc1730312ad338de208e9e5
|
|
BLAKE2b-256 checksum How to use checksums |
d7421fb1bea34749541aa7b9b3d9ccfe0e6499dfc6ef02942a3b347c2b4b8c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.4
|
Security for dividend 1.0.3
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.