Skip to content

portfolioplus/pysymbolscanner

Repository files navigation

Release Build PyPI - Downloads Coverage Status CodeFactor

install

pip install pysymbolscanner

pysymbolscanner

Stock symbol scanner for pytickersymbols. The tool scans several wikipedia pages to create an update via PR.

basic usage

Starts symbol scanner without cache:

pysymbolscanner --input stocks.yaml --output stocks2.yaml

Starts symbol scanner with cache (skips time-consuming wiki scans if they have already been done):

pysymbolscanner --cache --input stocks.yaml --output stocks2.yaml

install pycurl on macos

When you got the error message src/pycurl.h: fatal error: 'openssl/ssl.h' file not found you can try:

pip uninstall pycurl

export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"

pip install --compile --install-option="--with-openssl" pycurl