Skip to main content

No project description provided

Project description

📉 Bearish

A lightweight stock data fetching tool that stores market data in SQLite using a common format.

Python License GitHub Stars

✨ Features

✅ Fetch stock data from multiple sources 📊
✅ Store data in an SQLite database 🗄️
✅ Support for multiple markets and countries 🌍
✅ Simple command-line interface 🖥️

📥 Installation

Install Bearish using pip:

pip install bearishpy

🚀 Usage

📌 Fetch and Store Tickers

To get and store stock tickers from different markets and countries, run:

bearish tickers /path/to/sqlite/db France Germany --api-keys=config.json

📌 Fetch Stock Prices

To retrieve stock prices from different markets, use:

bearish prices /path/to/sqlite/db France Germany --api-keys=config.json

🔑 API Keys Configuration

Make sure to provide a config.json file with your API keys to fetch data from various sources.

Example config.json:

{
  "FMPAssets": "your Financial Modeling Prep API key", 
  "FMP": "your Financial Modeling Prep API key", 
  "AlphaVantage": "your Alphavantage API key",
  "Tiingo": "yout Tiingo API key"
}

🤝 Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue.

📜 License

This project is licensed under the MIT License.

🚀 Happy Investing! 📈

poetry run python ./bearish/main.py run ./test.db Germany US --filters NVDA,RHM.DE --api-keys=config.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bearishpy-0.3.0.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bearishpy-0.3.0-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file bearishpy-0.3.0.tar.gz.

File metadata

  • Download URL: bearishpy-0.3.0.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.10

File hashes

Hashes for bearishpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c45d76725d4012dab755b28808d8095cec79e7a6bedd87991f88327d8dab570f
MD5 af80cdbe48b741ee186640bb113cd918
BLAKE2b-256 0e705cfb32170ad92cf863171295dc325f7bcdec7e46759de186a6a627ca8753

See more details on using hashes here.

File details

Details for the file bearishpy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: bearishpy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.10

File hashes

Hashes for bearishpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee63ed0b34bcbab82f1ec327460c427e96712b2c8df6e2363427338b0a718d61
MD5 59467d5c414ba0163fcfa03d7f7c83e8
BLAKE2b-256 6b39c4bbb7a2556e59296b6523be04f1d0998c2d67936cdb8772f562966b40a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page