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.4.0.tar.gz (44.9 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.4.0-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bearishpy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7145367c6af6e18f24492ccad13c9d9753e46a73a21f6df16897284b8afaa50f
MD5 10cd1bcddd4af7c028cd6ca18bd2ca27
BLAKE2b-256 64654bffcd3a4b6a818cf9a309131e63e205ae678532d1380169d77950984add

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bearishpy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 69.5 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af638ada6b90a17380baf53e5b409c080259087974884cb2c983195cdcc6aefb
MD5 bd99e7b31bde4621157242cf842a4195
BLAKE2b-256 7f9c50975db20afc1e589c232156674319be767d3b269ee62417aa74d7067e7b

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