MCP Auto-Sync System
Installation Instructions
- First install required packages:
pip install -r requirements.txt
- Configure ports in main.py to use port 3000 for local development
- Make sure no other processes are using port 3000 before starting
Deployment on DigitalOcean
- Create a new DigitalOcean Droplet
- Configure your domain and SSL certificates
- Set up environment variables in your deployment environment
- Deploy using Docker or direct installation
Running the Project
- Once deployed, make sure the dependencies from
requirements.txtare installed - Start the project
- Your app will be available at your configured domain
System Components
- Real-Time Git Sync: Changes saved in Windsurf are automatically committed and pushed
- Security: HMAC-SHA256 signed commits using MCP_VAULT secret
- DigitalOcean Integration: Direct deployment from GitHub without Docker
Recent Updates
- Fixed port binding issues by standardizing on port 3000
- Improved Redis connection handling and shutdown process
- Added health check endpoint to monitor Redis connectivity
Configuration
- MCP_VAULT: Required for HMAC-SHA256 signed commits
- REDIS_URL: Optional, defaults to "redis://redis-mcp:6380"
- PORT: Fixed to 3000 for local development
Environment Setup
Make sure to set these environment variables in your deployment environment:
- Set the following environment variables:
REDIS_URL: Your Redis connection URL (optional)MCP_VAULT: Your secure vault key for HMAC-SHA256 signing
Features
- FastAPI Backend: Running on port 3000
- Real-Time Updates: WebSocket support for live data
- Auto-Cleanup: Automatic cleanup of old results
- CORS Enabled: Frontend can connect from any origin
- Validation Features:
- Walk-Forward Analysis: Anchored and rolling window validation
- Monte Carlo Simulation: Multiple path generation methods
- Validation Metrics: Sharpe & Sortino ratios, Maximum drawdown, Win rate & profit factor, Ulcer index, Pain ratio, Calmar ratio
Troubleshooting
- If port 3000 is in use, stop other processes using:
lsof -i :3000 - Check Redis connectivity using the /health endpoint
- Verify HMAC-SHA256 signatures in commit logs
- If the app doesn't start, check the deployment logs for error messages
- Make sure all required environment variables are set
- Check that port 3000 is properly exposed in the deployment configuration
Last Updated: 2025-02-07
Metadata
Release files for rose-research-backtester 0.1.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 |
|---|---|---|---|---|
| rose_research_backtester-0.1.0.tar.gz | 97.1 kB | Without provenance | Details for rose_research_backtester-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rose_research_backtester-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rose_research_backtester-0.1.0-py3-none-any.whl |
Total release size: 221.7 kB
Release files / rose_research_backtester-0.1.0.tar.gz
| Download URL | rose_research_backtester-0.1.0.tar.gz |
|---|---|
| Size | 97.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29ed7cdeac98b8ff67fd8512109de56194632351f3403f2279a3473b436e0dd9
|
|
BLAKE2b-256 checksum How to use checksums |
12ea0f68d41d7024dd0200d7324df026dec13d6626073a984e42adddce1cb240
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / rose_research_backtester-0.1.0-py3-none-any.whl
| Download URL | rose_research_backtester-0.1.0-py3-none-any.whl |
|---|---|
| Size | 124.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79e263ae9161277f42fbeda23c0c119eba867deac4bbf0c989be3c2add6aca8f
|
|
BLAKE2b-256 checksum How to use checksums |
3e564f4a782f5b2da48c3eb2c63066bafc317e39f821fbc2e7185ae4bfd8abe4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for rose-research-backtester 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.