mx-moni

Manage simulated A-share portfolios with buy/sell, query, and cancel order workflows.

Updated May 19, 2026
One-click install
npx skills add https://github.com/swf2020/hello-agents --skill mx-moni-swf2020
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mx-moni
Source: https://github.com/swf2020/hello-agents/tree/main/Co-creation-projects/lcyting-StockSage-agent/skills/%E6%A8%A1%E6%8B%9F%E7%BB%84%E5%90%88%E7%AE%A1%E7%90%86/mx-moni
Command: npx skills add https://github.com/swf2020/hello-agents --skill mx-moni-swf2020

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve?

Provides a ready-to-use stock simulated portfolio management workflow so you can practice A-share trading operations without risking real money.

Core Features & Use Cases

  • Simulated portfolio queries: Check current positions, available funds/total assets, and order history for a mock account.
  • Trade execution (simulation): Place buy/sell orders (limit price or market price) via authenticated API calls to the mock trading backend.
  • Order management: Cancel specific orders by order ID or cancel all eligible unfilled orders, then verify results through order queries.

Example use case: You want to test an A-share strategy and need to repeatedly place orders, cancel them when conditions change, and review positions, cash balance, and executed trades for validation.

Quick Start

Tell the assistant: “Use mx-moni to query my simulated positions.”

Frequently Asked Questions about mx-moni

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

FAQPage Schema
How do I practice A-share trading strategies without risking real money?

A-share simulated trading lets you practice strategies without risking real money by using an authenticated mock account to place buy and sell orders. You can safely test limit or market orders and review executed trades.

How do I query simulated positions and available funds for a mock trading account?

Querying simulated portfolio positions lets you check current holdings, available funds, total assets, and order history for a bound mock account. The skill retrieves this data through authenticated API calls to the mock backend.

Can I cancel outstanding orders during stock simulation?

Yes, stock simulation order management supports canceling specific orders by order ID or canceling all eligible unfilled orders. After issuing a cancellation request, you can verify the updated status through an order query.

Do I need API environment variables to run A-share mock trading queries?

Yes, A-share mock trading requires MX_APIKEY and MX_API_URL environment variables to authenticate API calls. You must configure these variables before placing orders or querying portfolio balances.

What are the quantity rules for placing buy and sell orders in A-share simulation?

A-share simulation enforces 100-share lot quantity rules for placing buy and sell orders. The command parsing validates your requested trade quantities against these exchange-mandated lot size requirements before execution.

Does mock trading support both market and limit price orders?

Yes, mock trading supports both market and limit price orders for A-share simulation. The command parsing differentiates between market and limit order requirements, allowing you to execute simulated trades based on your strategy needs.