https://github.com/texascoding/py-alpaca-daily-losers
Python package using py-alpaca-api as source for communicating with Alpaca Markets API.
https://github.com/texascoding/py-alpaca-daily-losers
alpaca-markets bot-trading poetry py-alpaca-api python stock-market
Last synced: 6 months ago
JSON representation
Python package using py-alpaca-api as source for communicating with Alpaca Markets API.
- Host: GitHub
- URL: https://github.com/texascoding/py-alpaca-daily-losers
- Owner: TexasCoding
- Created: 2024-05-18T22:33:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-26T22:50:11.000Z (over 1 year ago)
- Last Synced: 2025-04-08T00:42:35.269Z (6 months ago)
- Topics: alpaca-markets, bot-trading, poetry, py-alpaca-api, python, stock-market
- Language: Python
- Homepage: https://pypi.org/project/py-alpaca-daily-losers/
- Size: 1.08 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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](https://github.com/TexasCoding/py-alpaca-api) 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:
```bash
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:
```bash
python main.py
```### Tests
Run the test suite:
```bash
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](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](https://github.com/TexasCoding/py-alpaca-daily-losers).