Financial technical and fundamental analysis indicator library for pystockdb.
Project description
pystockfilter
Create your own fundamental or chart based stock filter. All you need is a database set up with pystockdb.
built-in filters
technical filters
fundamental filters
- Lervermann
- Piotroski F-Score
- Price Target Score: analysts price targets compared with actual price
install
pip install pystockfilter
quick start
Build internal filters:
import logging
from pystockdb.db.schema.stocks import db
from pystockfilter.tool.build_internal_filters import BuildInternalFilters
# connect to database
arguments = {'db_args': {
'provider': 'sqlite',
'filename': db_path_test,
'create_db': False
}
}
db.bind(**arguments["db_args"])
db.generate_mapping()
# create internal filters for Adidas AG and Infineon
arguments = {'symbols': ['ADS.F', 'IFX.F']}
builder = BuildInternalFilters(arguments, logger)
builder.build()
# create internal filters for all stocks in database
arguments = {'symbols': ['ALL']}
builder = BuildInternalFilters(arguments, logger)
builder.build()
issue tracker
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pystockfilter-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2a4cc6392d6e65cbe13b113930587f543dd8fad33d0b1fbf6c368257579ec9 |
|
MD5 | d3f1a641557558a2ad4aac8d60d7c265 |
|
BLAKE2b-256 | 972f26fc814f3a8e11ed2d144956003b5ebc5145e8c0ae2f3d0425520ec9d158 |