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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_alpaca_daily_losers-2.2.8.tar.gz.
File metadata
- Download URL: py_alpaca_daily_losers-2.2.8.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8001c4cb6e91f276ced0a17a4734cd25ddf7d7496c001c4fc164097559600d8a
|
|
| MD5 |
8fb48fa346565d72337a6b9ee3158ef0
|
|
| BLAKE2b-256 |
70353c1235a72d1e7b75aeb8af71563b6a37643075455b8edac86e0ab36a5d1a
|
File details
Details for the file py_alpaca_daily_losers-2.2.8-py3-none-any.whl.
File metadata
- Download URL: py_alpaca_daily_losers-2.2.8-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c28b0c9f69d17ecfdfd438e22d1e4f62ee7ff59f77351d36442f584b77776370
|
|
| MD5 |
18de090b75c3f65ebeb7dba782ee0d34
|
|
| BLAKE2b-256 |
698d3cf9afac1c95fd1169a0cef905bfcf63f66dad5e4812b17f691ff1461bab
|