py-alpaca-daily-losers

Daily Losers strategy, uses py-alpaca-api for Alpaca Markets integration.


Keywords
alpaca-markets, bot-trading, poetry, py-alpaca-api, python, stock-market
License
MIT
Install
pip install py-alpaca-daily-losers==2.2.8

Documentation

Py-Alpaca-Daily-Losers πŸ“‰πŸ

Py-Alpaca-Daily-Losers is a Python package that integrates with the Alpaca Markets API to identify and analyze daily stock market losers. This tool leverages various market data indicators and advanced AI analysis to provide insightful trading information.

  • PyAlpacaApi is used to communicate with Alpaca Markets API.

Features 🌟

  • Market Data Extraction: Retrieves daily stock market data using the Alpaca Markets API.
  • Technical Analysis: Analyzes data with indicators like Bollinger Bands and RSI.
  • News and Sentiment Analysis: Extracts and analyzes news for sentiment using OpenAI.
  • Notifications: Sends alerts via Slack.
  • Modular Design: Structured for easy maintenance and scalability.

Getting Started 🏁

Installation

Clone the repository and install dependencies:

git clone https://github.com/TexasCoding/py-alpaca-daily-losers.git
cd py-alpaca-daily-losers
pip install -r requirements.txt

Usage

Run the application:

python main.py

Tests

Run the test suite:

pytest

Project Structure πŸ“‚

py-alpaca-daily-losers/
β”œβ”€β”€ README.md
β”œβ”€β”€ poetry.lock
β”œβ”€β”€ py_alpaca_daily_losers/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ daily_losers.py
β”‚   └── src/
β”‚       β”œβ”€β”€ article_extractor.py
β”‚       β”œβ”€β”€ global_functions.py
β”‚       β”œβ”€β”€ marketaux.py
β”‚       β”œβ”€β”€ openai.py
β”‚       └── slack.py
β”œβ”€β”€ pyproject.toml
└── tests/
    └── __init__.py

Contributing 🀝

Contributions are welcome! Here’s how you can help:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a Pull Request.

License πŸ“œ

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments πŸ™

Special thanks to the contributors and the open-source community for their support and resources.

For more details, visit the repository.