GEM - Global Equities Momentum
A professional dual momentum investing strategy tool built with Python, featuring robust configuration management, CLI interface, and comprehensive financial analysis capabilities.
This implementation is based on the Dual Momentum / Global Equities Momentum strategy described by Gary Antonacci. This repository is not affiliated with the author.
🤖 AI-Generated Code: This entire project was created using AI-assisted coding (vibe coding) to demonstrate modern Python development practices and financial analysis capabilities. The code structure, architecture, and implementation were generated by AI with human guidance.
🚀 Basic Usage
Prerequisites
- Python 3.13+ (required for modern type hints and features)
- pip or uv package manager (uv recommended for faster dependency resolution)
Ticker Compatibility
⚠️ Important: This tool only works with ticker symbols that are compatible with Yahoo Finance.
You can verify ticker compatibility by checking if the symbol exists on Yahoo Finance.
Installation
# Clone the repository
git clone https://github.com/karta9821/global-equities-momentum.git
cd global-equities-momentum
# Install with uv (recommended)
uv sync
uv pip install -e .
# Or install with pip
pip install -e .
Quick Commands
# Run analysis with default settings
gem
# Analyze specific symbols
gem --mode analyze --symbols EIMI.L IWDA.L CNDX.L
# Validate symbols
gem --mode validate --symbols EIMI.L IWDA.L
# Show help
gem --help
🌐 View Current Analysis
You can view the latest GEM analysis results directly in your browser without installing anything:
The GitHub Pages site is automatically updated with the latest analysis results, showing current momentum rankings and charts for global stock markets.
🍴 Fork and Run Locally
I recommend forking this repository to run it on your own GitHub Actions and customize it for your needs.
1. Fork the Repository
-
Click the "Fork" button in the top-right corner
-
Clone your forked repository:
git clone https://github.com/YOUR_USERNAME/global-equities-momentum.git cd gem
2. Set Up GitHub Actions
The project includes GitHub Actions workflows for automated testing and deployment. After forking:
- Enable GitHub Actions in your forked repository settings
- Set up environment variables if needed in Settings → Secrets and variables → Actions
- Push changes to trigger the workflows
3. Run Locally
# Install dependencies
uv sync
# Install in development mode
uv pip install -e .
# Test the installation
gem --help
⚠️ Important Disclaimers
Investment Disclaimer
This tool is for educational and research purposes only. Always do your own research and consider consulting with a financial advisor before making investment decisions. Past performance does not guarantee future results.
AI-Generated Code Disclaimer
This project was entirely created using AI-assisted coding. While the code follows best practices and has been tested, it serves as a demonstration of AI-assisted development capabilities. Users should review and validate the code according to their specific needs and requirements.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ using AI-assisted development practices
Metadata
Release files for global-equities-momentum 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| global_equities_momentum-1.0.0.tar.gz | 69.6 kB | With provenance | Details for global_equities_momentum-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| global_equities_momentum-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for global_equities_momentum-1.0.0-py3-none-any.whl |
Total release size: 74.2 kB
Release files / global_equities_momentum-1.0.0.tar.gz
| Download URL | global_equities_momentum-1.0.0.tar.gz |
|---|---|
| Size | 69.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eaf6f08ae4dcebfe4c48649ef2773b771de5cea844741785cad9f0244de0e17
|
|
BLAKE2b-256 checksum How to use checksums |
ebcc93df8b3bb7f1f2c21c9d27e12f4c529c45f460bd91897a818672a7a9c18b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2025.
Transparency logRelease files / global_equities_momentum-1.0.0-py3-none-any.whl
| Download URL | global_equities_momentum-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c4c76abaed70199d171748e043eef5efc0ff8e0cda5940e92aba09f25546667
|
|
BLAKE2b-256 checksum How to use checksums |
748827ed0c68207f4a300fdc4aefe7925f6469ef972bc17662d3f906c6364462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2025.
Transparency logSecurity for global-equities-momentum 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for global_equities_momentum-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.