{"id":34830033,"url":"https://github.com/roshameow/quantnight-frontend","last_synced_at":"2026-01-12T09:41:07.592Z","repository":{"id":299635391,"uuid":"1003143520","full_name":"roshameow/quantnight-frontend","owner":"roshameow","description":"A desktop application for quantitative research and simulation.","archived":false,"fork":false,"pushed_at":"2026-01-02T02:25:52.000Z","size":2039,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2026-01-03T10:47:05.417Z","etag":null,"topics":["desktop-app","quant","quantitative-finance","research","simulation","task-manager","tauri","vuejs"],"latest_commit_sha":null,"homepage":"https://github.com/roshameow/quantnight-frontend","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roshameow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-16T17:33:37.000Z","updated_at":"2026-01-02T02:25:56.000Z","dependencies_parsed_at":"2025-06-17T14:43:24.127Z","dependency_job_id":"fdf2dfe4-bc31-492e-8cbd-681bd43d0308","html_url":"https://github.com/roshameow/quantnight-frontend","commit_stats":null,"previous_names":["roshameow/quantnight-frontend"],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/roshameow/quantnight-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshameow%2Fquantnight-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshameow%2Fquantnight-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshameow%2Fquantnight-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshameow%2Fquantnight-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roshameow","download_url":"https://codeload.github.com/roshameow/quantnight-frontend/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roshameow%2Fquantnight-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-app","quant","quantitative-finance","research","simulation","task-manager","tauri","vuejs"],"created_at":"2025-12-25T15:47:28.065Z","updated_at":"2026-01-12T09:41:07.586Z","avatar_url":"https://github.com/roshameow.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuantNight 量化任务管理器\n\n[English](./README.en.md)\n\n![Version](https://img.shields.io/badge/version-1.2.1-blue.svg)\n![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)\n[![Vue.js](https://img.shields.io/badge/Built%20with-Vue.js-4FC08D?logo=vue.js)](https://vuejs.org/)\n[![Tauri](https://img.shields.io/badge/Built%20with-Tauri-24C8E2?logo=tauri)](https://tauri.app/)\n![Platform](https://img.shields.io/badge/platform-windows%20%7C%20macos-lightgrey.svg)\n\nQuantNight 是一款专为量化研究与模拟设计的桌面应用，旨在帮助您高效地管理、执行和分析各类量化任务。\n\n---\n\n## 核心功能\n\n- **统一的任务管理**：在一个清晰的界面中查看所有普通、优先和超级任务。\n- **灵活的任务创建**：通过模板快速创建新任务，支持本地或远程执行。\n- **便捷的任务操作**：一键启动、暂停、更新或删除任务。\n- **数据可视化与分析**：内置数据浏览器，支持对结果集进行筛选、排序和关联性分析。\n- **图形化应用配置**：通过设置界面，轻松管理前后端的所有关键配置，无需手动修改文件。\n\n---\n\n## 首次使用与配置\n\n在开始使用前，请确保您的环境已正确配置。\n\n### 1. 环境准备\n\n- **MongoDB 数据库**: 应用需要连接到一个正在运行的 MongoDB 实例。请确保实例中已创建了以下三个数据库：\n  1.  `simulation_mission`\n  2.  `simulation_db`\n  3.  `alpha_db`\n- **创建 `tasks` 集合**: 在 `simulation_mission` 数据库中，您**必须**手动创建一个名为 `tasks` 的空集合，否则应用将无法正常启动。\n\n```mermaid\ngraph TD\n    A[用户通过 UI 创建任务] --\u003e B(\u003cb\u003esimulation_mission\u003c/b\u003e\u003cbr/\u003e\u003ci\u003e存储任务配置和状态\u003c/i\u003e);\n    B --\u003e C{后台任务执行};\n    C --\u003e D(\u003cb\u003esimulation_db\u003c/b\u003e\u003cbr/\u003e\u003ci\u003e存储原始模拟数据\u003c/i\u003e);\n    C --\u003e E(\u003cb\u003ealpha_db\u003c/b\u003e\u003cbr/\u003e\u003ci\u003e存储核心 Alpha 结果\u003c/i\u003e);\n    E --\u003e F[数据分析页面读取结果];\n```\n\n### 2. 配置管理\n\n应用提供了完整的图形化配置界面，您无需手动编辑任何配置文件。首次启动时，应用会自动创建必要的配置文件。\n\n- **所有配置均可通过界面完成**：\n  - 前端配置（模板路径、数据筛选选项等）\n  - 后端配置（MongoDB 连接、Python 解释器路径等）\n  - 脚本映射配置\n\n- **配置文件位置**：\n  - 用户数据目录（优先使用）\n  - 应用资源目录（作为回退）\n\n\u003e **提示**: 通过界面修改配置后，前端配置会立即生效，后端配置需要重启应用才能生效。\n\n---\n\n## 使用指南\n\n### 任务管理器 (Task Manager)\n\n这是应用的主界面，您可以在这里看到所有已创建的任务列表。\n\n- **查看任务**: 列表会显示任务的名称、类型、状态等信息。\n- **操作任务**: 每个任务卡片上都提供了 `启动` / `暂停` / `删除` 等常用操作按钮。\n\n### 创建新任务\n\n点击界面右上角的 `+ Add Task` 按钮，可以选择创建三种不同类型的任务：\n\n- **Add Task**: 创建一个常规的量化任务。\n- **Add Super Task**: 创建一个超级任务，通常用于执行更复杂的组合或流程。\n- **Add Priority Task**: 创建一个高优先级的任务。\n\n在弹出的窗口中，您需要填写任务名称并选择一个合适的模板文件来生成任务。\n\n### 数据分析 (Data)\n\n切换到 `Data` 页面，可以对任务产生的结果进行深入分析。\n\n- **选择结果集**: 在顶部的下拉菜单中选择您想分析的数据集合（例如 `alpha_results`）。\n- **使用筛选器**: 利用上方的多个筛选框（如 ID, Region, Turnover 等）来精确地过滤数据。\n- **计算相关性**: 在筛选出您关心的数据后，点击 `计算 Correlation` 按钮，应用将对结果进行关联性分析。\n\n### 应用设置 (Settings)\n\n点击界面右上角的齿轮图标 `⚙️` 可以打开设置面板。在这里，您可以方便地修改所有应用配置：\n\n- **前端配置**:\n  - **Template Paths**: 设置用于创建不同类型任务的模板文件所在的文件夹路径。\n  - **Data Filter Options**: 自定义\"数据分析\"页面中结果集下拉菜单的选项。\n\n- **后端配置**:\n  - **MongoDB 设置**: 配置本地和远程数据库连接字符串，以及数据库名称。\n  - **Python 设置**: 设置 Python 解释器路径和工作目录。\n  - **脚本映射**: 管理按钮与后端脚本的映射关系，支持添加自定义脚本。\n\n\u003e **注意**: 修改后端配置后需要重启应用才能生效。\n\n---\n\n## 应用安装\n\n### macOS\n\n1.  **下载**: 前往项目的 Releases 页面下载最新的 `.dmg` 文件。\n2.  **安装**: 打开 `.dmg` 文件，将 `QuantNight.app` 拖入 `Applications` 文件夹。\n3.  **安全提示**: 首次打开时，如果 macOS 提示“应用已损坏”或“无法打开”，请在终端中执行以下命令，然后即可正常打开：\n    ```bash\n    sudo xattr -r -d com.apple.quarantine /Applications/QuantNight.app\n    ```\n\n### Windows\n\n1.  **下载**: 前往项目的 Releases 页面下载最新的 `.msi` 安装包。\n2.  **安装**: 双击 `.msi` 文件，按照向导完成安装。\n3.  **安全提示**: 首次运行时，如果 Windows SmartScreen 弹出拦截提示，请点击 `更多信息` -\u003e `仍要运行`。\n\n---\n\n![QuantNight Demo](assets/demo.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshameow%2Fquantnight-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froshameow%2Fquantnight-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshameow%2Fquantnight-frontend/lists"}