Daily Losers strategy, uses py-alpaca-api for Alpaca Markets integration.
Project description
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:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for py_alpaca_daily_losers-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa0eaa606fb5dd5c302bf673392a49913adc578bdd0d8ab00c659d638c421cf8 |
|
MD5 | 570f04f71744dd05942163e1f325336d |
|
BLAKE2b-256 | faefe6a27c15416cc2e05a105f06a48e4789bb0df525897bc18ee7be23fdd430 |
Hashes for py_alpaca_daily_losers-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca325f8666c99d601d61a245fc7e51563326a0442ec847cacb4d9a48fc186622 |
|
MD5 | 94a9285438ee62efd4f304bc773d8432 |
|
BLAKE2b-256 | 4dc1512af975aadd98a8196c45e22dc2f896968cc080b772caace34d5fc7537c |