Skip to content
Prompt

Htx_project_attemp_101 — Copilot Instructions

by Kaushator

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "Htx_project_attemp_101 — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/Kaushator/Htx_project_attemp_101

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Copilot Instructions for Htx_project_attemp_101

Overview

• This is a multi-component trading analytics platform for HTX (Huobi) and 3Commas, with a FastAPI async backend, React frontend, and SQLAlchemy 2.0 async DB layer (SQLite/PostgreSQL). • Major backend domains: API endpoints, async DB models, file parsing, PnL analytics, cashflow, and external integrations (HTX, 3Commas). • Data flows: CSV/Excel files are parsed, stored in DB, analyzed, and exposed via REST API. 3Commas/HTX APIs are used for sync and automation.

Examples

• Add new endpoint: create router in api/v1/endpoints/, include in main.py • Add new service: implement in services/, inject via endpoint • Add DB model: define in models/, migrate with Alembic --- For more, see README.md and docs/architecture.md.

Key Directories & Files

• backend/app/ — FastAPI app, all main logic • main.py — FastAPI entrypoint, CORS, routers, error handling • core/ — config, logging, settings • api/v1/endpoints/ — REST endpoints (health, files, trades, cashflow, pnl) • models/, schemas/ — SQLAlchemy models, Pydantic schemas • services/ — business logic, integrations (e.g. threecommas.py) • db/ — async DB session, migrations • frontend/ — React app (optional) • htx_project/src/ — legacy/CLI analytics, file parsing, integrations • data/ — raw/processed files • scripts/ — setup, push, log (see .vscode/tasks.json)

Developer Workflows

• Setup: • Windows: scripts/setup_env.bat (creates .venv, installs deps, runs backend) • Manual: python -m venv .venv && .venv\Scripts\activate && pip install -r requirements.txt • Run backend: • From backend/: python -m uvicorn app.main:app --host 127.0.0.1 --port 8004 • Testing: • From backend/: pytest • Lint/Format: • black ., flake8 ., mypy . • Migrations: • Alembic config in backend/alembic.ini, migrations in backend/alembic/ • Frontend: • Usual React workflow (npm install, npm run dev)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 6mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues4
Updated6mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more