simulation-trading

Executes paper trading orders, positions, and account queries via QuantMind simulation APIs.

1.5k|337|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/qusong0627/QuantMind --skill simulation-trading-qusong0627
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simulation-trading
Source: https://github.com/qusong0627/QuantMind/tree/main/skills/simulation-trading
Command: npx skills add https://github.com/qusong0627/QuantMind --skill simulation-trading-qusong0627

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It lets you practice stock trading with virtual capital (default 1,000,000) through the QuantMind simulation trading APIs, so you can place orders, track positions, and review trade statistics without risking real money. ## Core Features & Use Cases - Order Management: Place market or limit buy/sell orders, cancel pending orders, and query order and trade history through REST endpoints. - Account & Portfolio Tracking: Check cash, total assets, positions, daily equity snapshots, and trade statistics such as win rate and P&L. - Strategy-Driven Simulation: Create portfolios, bind strategies and models, run pre-trade readiness checks, and start or stop a live simulation loop. - Use Case: Ask the assistant to buy 100 shares of 600519.SH at market price; it checks your account cash, submits the order, confirms the fill, and reports your updated positions. ## Quick Start Ask the assistant to buy 100 shares of 600519.SH in the simulation account and show the updated positions and cash balance.

Frequently Asked Questions about simulation-trading

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I place a simulated stock order via API?

Send a POST request to /api/v1/simulation/orders with symbol, side (buy/sell), order_type (market/limit), quantity, and an optional price for limit orders. The response returns an order_id and status you can poll for fill confirmation.

How to check paper trading account balance and positions?

Call GET /api/v1/simulation/account with your bearer token to retrieve cash, total assets, market value, and current positions. The simulation account starts with 1,000,000 in virtual cash by default.

Can I run a strategy automatically in simulation mode?

Yes. Create a portfolio, bind a strategy and model via /portfolios/{id}/bind-strategy, run the trading precheck, then start the loop with /api/v1/real-trading/start using SIMULATION mode. Stop it anytime with the stop endpoint.

Why did my limit order not fill in the simulation?

Limit orders only fill when the market price reaches your specified price. If the price is far from the current quote, switch to a market order or adjust the limit price closer to the latest quote.

How do I reset the simulation account to initial funds?

Send a POST request to /api/v1/simulation/reset to restore the account to its default 1,000,000 virtual cash and clear positions. This affects only the simulation environment, not real trading.