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.2.0.tar.gz (43.8 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.2.0-py3-none-any.whl (67.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bearishpy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6acd7232617984bb728e65675deffbecbce127b5e92ac2f4bfc24cb707458406
MD5 72ca689fb7ab8095cdd5e2820365fdcc
BLAKE2b-256 d27dd6b53e375a5c9b7eb75b52fee919b1690bd8f428ee8ab8c1070a41ed86ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bearishpy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 237aa6ea117090dbcc642037bf8738abb0dda62fd1fbc27559940cdc811d33c9
MD5 0cca6eadcc21cb5d2cc65cef7849ea09
BLAKE2b-256 7a8506260eba51d15a9e27759771fc2c561eda9065af72bd354c8d6a47a9cf98

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