sys-research


Namesys-research JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/dabiggestpoppa/rose-research-backtester
SummarySecure research system for quantitative analysis
upload_time2025-02-11 22:26:22
maintainerNone
docs_urlNone
authorDaBiggestPoppa
requires_python>=3.10
licenseMIT
keywords quant research security distributed-training
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MCP Auto-Sync System

## Installation Instructions

1. First install required packages:
```bash
pip install -r requirements.txt
```

2. Configure ports in main.py to use port 3000 for local development
3. Make sure no other processes are using port 3000 before starting

## Deployment on DigitalOcean

1. Create a new DigitalOcean Droplet
2. Configure your domain and SSL certificates
3. Set up environment variables in your deployment environment
4. Deploy using Docker or direct installation

## Running the Project

1. Once deployed, make sure the dependencies from `requirements.txt` are installed
2. Start the project
3. 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:
1. 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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dabiggestpoppa/rose-research-backtester",
    "name": "sys-research",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "quant research security distributed-training",
    "author": "DaBiggestPoppa",
    "author_email": "dabiggestpoppa@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/ab/e605580e60a55c5d2762eeacabc856dcca82dac76269fd3ddf10859be27d/sys_research-0.1.0.tar.gz",
    "platform": null,
    "description": "# MCP Auto-Sync System\r\n\r\n## Installation Instructions\r\n\r\n1. First install required packages:\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n2. Configure ports in main.py to use port 3000 for local development\r\n3. Make sure no other processes are using port 3000 before starting\r\n\r\n## Deployment on DigitalOcean\r\n\r\n1. Create a new DigitalOcean Droplet\r\n2. Configure your domain and SSL certificates\r\n3. Set up environment variables in your deployment environment\r\n4. Deploy using Docker or direct installation\r\n\r\n## Running the Project\r\n\r\n1. Once deployed, make sure the dependencies from `requirements.txt` are installed\r\n2. Start the project\r\n3. Your app will be available at your configured domain\r\n\r\n## System Components\r\n\r\n- **Real-Time Git Sync**: Changes saved in Windsurf are automatically committed and pushed\r\n- **Security**: HMAC-SHA256 signed commits using MCP_VAULT secret\r\n- **DigitalOcean Integration**: Direct deployment from GitHub without Docker\r\n\r\n## Recent Updates\r\n- Fixed port binding issues by standardizing on port 3000\r\n- Improved Redis connection handling and shutdown process\r\n- Added health check endpoint to monitor Redis connectivity\r\n\r\n## Configuration\r\n- **MCP_VAULT**: Required for HMAC-SHA256 signed commits\r\n- **REDIS_URL**: Optional, defaults to \"redis://redis-mcp:6380\"\r\n- **PORT**: Fixed to 3000 for local development\r\n\r\n## Environment Setup\r\n\r\nMake sure to set these environment variables in your deployment environment:\r\n1. Set the following environment variables:\r\n   - `REDIS_URL`: Your Redis connection URL (optional)\r\n   - `MCP_VAULT`: Your secure vault key for HMAC-SHA256 signing\r\n\r\n## Features\r\n\r\n- **FastAPI Backend**: Running on port 3000\r\n- **Real-Time Updates**: WebSocket support for live data\r\n- **Auto-Cleanup**: Automatic cleanup of old results\r\n- **CORS Enabled**: Frontend can connect from any origin\r\n- **Validation Features**:\r\n  - **Walk-Forward Analysis**: Anchored and rolling window validation\r\n  - **Monte Carlo Simulation**: Multiple path generation methods\r\n  - **Validation Metrics**: Sharpe & Sortino ratios, Maximum drawdown, Win rate & profit factor, Ulcer index, Pain ratio, Calmar ratio\r\n\r\n## Troubleshooting\r\n- If port 3000 is in use, stop other processes using: `lsof -i :3000`\r\n- Check Redis connectivity using the /health endpoint\r\n- Verify HMAC-SHA256 signatures in commit logs\r\n- If the app doesn't start, check the deployment logs for error messages\r\n- Make sure all required environment variables are set\r\n- Check that port 3000 is properly exposed in the deployment configuration\r\n\r\nLast Updated: 2025-02-07\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Secure research system for quantitative analysis",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/dabiggestpoppa/rose-research-backtester"
    },
    "split_keywords": [
        "quant",
        "research",
        "security",
        "distributed-training"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1689b7b8f6a1cc02f5e71a41e33234199349508a6e32e7e7f21ca0d037e36428",
                "md5": "f491acb023a4315575d14b9ce3dc5ae9",
                "sha256": "6be2b730f1135e250b1bd416f33eadc3970bed4368017b77a34b5b56f2d178c7"
            },
            "downloads": -1,
            "filename": "sys_research-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f491acb023a4315575d14b9ce3dc5ae9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 103279,
            "upload_time": "2025-02-11T22:26:18",
            "upload_time_iso_8601": "2025-02-11T22:26:18.911506Z",
            "url": "https://files.pythonhosted.org/packages/16/89/b7b8f6a1cc02f5e71a41e33234199349508a6e32e7e7f21ca0d037e36428/sys_research-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3eabe605580e60a55c5d2762eeacabc856dcca82dac76269fd3ddf10859be27d",
                "md5": "b184b4d571e1048f603db4c4c2a3379a",
                "sha256": "79998b8a6eb66cf7c3177fc67cbd7d68f2d174df99dd016e4760944e35337e9f"
            },
            "downloads": -1,
            "filename": "sys_research-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b184b4d571e1048f603db4c4c2a3379a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 92896,
            "upload_time": "2025-02-11T22:26:22",
            "upload_time_iso_8601": "2025-02-11T22:26:22.542371Z",
            "url": "https://files.pythonhosted.org/packages/3e/ab/e605580e60a55c5d2762eeacabc856dcca82dac76269fd3ddf10859be27d/sys_research-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-11 22:26:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dabiggestpoppa",
    "github_project": "rose-research-backtester",
    "github_not_found": true,
    "lcname": "sys-research"
}
        
Elapsed time: 1.16367s