AI Agent Hub
Back to skills
⚖️

Quant Trading Engine Pro

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_2d923dd5/trading-engine-pro

About this skill

Problem

Quant analysis setups often separate data, models, and execution: market data requires manual integration, model calls lack stable interfaces, and outputs are hard to route into advice or simulated trading. This skill connects Eastmoney data, local model services, and an output layer so engineers can build an analysis pipeline with MX_APIKEY and REST APIs.

How it works

The data layer uses mx-data, mx-search, and mx-xuangu with one shared MX_APIKEY. The model layer installs Python dependencies with install.py, validates model files, and exposes a local FastAPI service at http://localhost:8000/docs. Core capabilities include:
- Market clustering: K-Means separates bull, bear, and range markets to inform position sizing;
- Prediction and decisioning: /api/v1/analyze and /api/v1/predict combine multiple engine scores;
- Risk and portfolio controls: reliability_screen.py and real_portfolio_manager.py support multi-factor filtering, Kelly sizing, and risk parity;
- Pro features: RL rewards, self-reflection, portfolio advice, and premarket checks are available through /api/v1/pro/* endpoints.
By default, output is analytical advice; with a simulated account, signals can be routed to mx-moni for simulated orders.

Boundaries

The skill does not bundle data sources, so an Eastmoney API key is required. It depends on a Python environment and third-party data, without guarantees of real-time accuracy or completeness. All outputs are for technical research and do not constitute investment advice; users must comply with local regulations and accept their own risk.

Use Cases

  • Connect a strategy dashboard to the local state endpoint for market clustering and risk parameters.
  • Call the full-engine analyze endpoint to build a premarket scored stock list.
  • Query portfolio advice to review position weights and suggested allocations.
  • Execute engine signals in a simulated account to test the order chain.

Best For

  • Python engineers building local quant analysis services
  • Data engineers integrating Eastmoney data into strategy dashboards
  • Strategy researchers validating multi-engine scoring and position rules
  • Quant developers testing simulated trading order chains