
Trade A-shares in an East Money simulated account — check positions and funds, practice stock investment strategies with zero risk.
MiaoXiang Stock Trading Simulator (妙想股票模拟交易) is an automated financial simulation and portfolio modeling skill on EasyClaw. Designed specifically for active retail investors and quantitative strategy researchers, it integrates with Eastmoney's market databases to let you manage simulated paper-trading accounts — allowing you to log mock buy/sell orders, audit active stock holdings and capital balances, cancel pending limit orders, and track net portfolio ROI, all headlessly within your conversation.
The skill is built for equity traders testing breakout momentum triggers, quantitative developers validating algorithmic signals, and finance students practicing risk-management and asset allocation strategies.
The expected outcome is secure, high-fidelity brokerage simulation: real-time virtual transaction logs, formatted positions and balances registries, and direct CSV performance audits compiled locally inside your workspace.
1. API verification and session initialization. The skill connects to your local simulated portfolio database, verifying active virtual cash balances and transaction configuration rules.
2. Order parameter validation. Provide the stock ticker, share quantity, order type (market vs. limit), and target price. The skill verifies the ticker validity and checks if your simulated balance covers the virtual cost.
3. Limit and Market order logging. It writes transaction logs directly to your local database: immediately executing Market Orders at current quotes, or logging pending Limit Orders that await target price triggers.
4. Order-book and queue management. For pending limit orders, the skill continuously cross-references the live stock price and can execute bulk cancellations ("Cancel all pending orders") headlessly.
5. Portfolio performance audits. The skill aggregates your virtual holdings, pulls live closing quotes, calculates day gains, total net ROI, and asset allocations, exporting clean CSV reports directly to your workspace.
- Headless order dispatcher: Log mock buy and sell transactions using standard market or limit parameters.
- Positions & Funds auditor: View active holdings, average costs, virtual cash balances, and net ROI instantly.
- Pending order queue manager: Cancel, modify, or track pending limit orders headlessly.
- Automated broker math: Calculates virtual transaction commissions, stamp taxes, and fees automatically.
- Direct CSV performance export: Writes completed transaction ledgers and holding metrics to your workspace.
- No-code simulation workspace: Test financial strategies conversational-style without risking capital.
1. Logging a simulated market buy order for Moutai
An investor wants to test a breakout signal by paper trading Kweichow Moutai (600519). They ask the skill to buy 100 shares. The simulator pulls the live market quote, verifies their virtual cash balance, logs the transaction in their local portfolio database, and confirms the immediate buy execution, updating their holdings.
2. Auditing active portfolio positions and capital runway
At the start of a trading day, a researcher wants a quick snapshot of their paper-trading portfolio. Instead of opening complex sheets or web terminals, they ask: "Check my positions." The skill scans their local holdings, pulls live opening quotes, and outputs a clean table showing: Ticker, Name, Quantity, Buy Cost, Current Price, and Net ROI.
3. Batch-canceling pending limit orders
During highly volatile market drops, a trader wants to clear their pending risk exposure immediately. Instead of clicking through individual orders manually, they instruct the skill: "Cancel all pending orders." The tool scans their local queue, cancels all active limit orders headlessly, and confirms the cleared status.
4. Testing asset allocation strategies safely
A finance student wants to test a 60/40 stocks-to-cash asset allocation strategy. They use the skill to log mock transactions across various sectors, tracking the net portfolio return and maximum drawdowns locally over time to evaluate strategy stability before investing real capital.
5. Compiling closing transaction audits
At market close (3:00 PM CST), a researcher wants to document their day's performance. The skill scans their transaction logs, updates holding values based on closing quotes, and exports a clean, spreadsheet-ready CSV ledger directly to their local workspace exports directory.
An investor wants to log a simulated limit buy order and check their active positions.
1. They open EasyClaw and activate MiaoXiang Stock Trading Simulator.
2. They run: *"Paper trade: Buy 100 shares of Kweichow Moutai (600519) at limit price 1520 CNY."*
3. The skill validates the ticker, verifies their simulated funds, and compiles the order payload.
4. It logs the limit order under `public/data/portfolio/paper_trades.json` with status "Pending."
5. They run: *"Check my positions."*
6. The skill outputs their active positions table and includes the pending limit order in their queue.
Simulated orders logged and portfolios audited headlessly in under 40 seconds.
Add this skill to your EasyClaw workspace
Describe your task in a chat message
Review the output and iterate if needed
Export or share the results directly from EasyClaw
Combine with other skills to build automated workflows
No. The paper trading feature is a local simulation. It calculates transactions, commissions, and holdings mathematically based on the live stock quotes retrieved from Eastmoney's public databases, requiring no actual brokerage capital.
Pending limit orders are stored locally in your portfolio database. When you check your positions or run a market update, the simulator cross-references the current stock price; if the market price has reached your target limit, it executes the trade.
Yes. All simulated buy and sell transactions, stock holdings, and performance metrics are written directly as clean, structured JSON and CSV files under `public/data/portfolio/` in your local workspace.
The paper trading engine supports standard Market Orders (executed immediately at the current market price) and Limit Orders (pending execution until the stock's market price reaches your specified target price).
The skill covers all major Chinese A-share markets: Shanghai Stock Exchange (SSE), Shenzhen Stock Exchange (SZSE), and Beijing Stock Exchange (BSE), including ChiNext and STAR markets.
Yes. You can instruct the skill to "reset my simulated portfolio." This will clear all virtual holdings, reset your transaction history, and restore your virtual cash balance to its original default starting scale.
Yes. The paper trading engine calculates simulated transaction commissions (e.g., 0.03%), stamp taxes (0.05% on sales), and transfer fees based on standard A-share brokerage schedules, ensuring realistic net ROI metrics.
Yes. The skill automatically writes your active holdings and historical trades to standard CSV files, which you can easily upload to Google Drive and open in Google Sheets.
Yes. All market queries, portfolio calculations, and file writes are executed entirely locally on your machine over secure, encrypted links. Your trade histories, asset scales, and watchlists remain strictly confidential.
The default setup manages a single master simulated portfolio. For multi-portfolio tracking, you can create separate workspace profiles in EasyClaw to isolate your databases.
Browse more in General Tools or all skills.
Get EasyClaw, add this skill, and start building AI agent workflows in minutes.
Get EasyClaw Free →