mx-moni

Manage a mock stock portfolio with API-based simulated trades and JSON logs.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/cattomgithub/eastmoney-mx-skills --skill mx-moni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mx-moni
Source: https://github.com/cattomgithub/eastmoney-mx-skills/tree/main/mx-moni
Command: npx skills add https://github.com/cattomgithub/eastmoney-mx-skills --skill mx-moni

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The mx-moni Skill provides a stock trading simulation system that lets users manage a mock portfolio with holdings, orders, and funds, delivering a realistic trading experience without real money.

Core Features & Use Cases

  • Holdings and position queries for simulated accounts.
  • Place, modify, and cancel simulated trades with support for limit and market orders.
  • Query orders, history trades, and available funds for strategy testing.

Quick Start

Run the mx_moni.py script after configuring MX_APIKEY and MX_API_URL to start simulating trades.

Frequently Asked Questions about mx-moni

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

FAQPage Schema
How do I simulate stock trades without risking real money?

Simulated stock trading lets you manage a mock portfolio with holdings, orders, and funds to test strategies safely. You can place market or limit orders, query balances, and review trade history within a bound account.

Can I place and cancel both market and limit orders in a portfolio simulation?

Yes, portfolio simulation supports placing, modifying, and canceling trades with both limit and market orders. You can execute trades via API calls and inspect the resulting order status and history.

What environment variables do I need to configure for an API-based trading simulation?

API-based trading simulation requires configuring the MX_APIKEY and MX_API_URL environment variables before execution. Setting these parameters binds your session to a specific simulated account for secure access.

How do I query available funds and holdings in a mock trading account?

Querying a mock trading account allows you to inspect available balances and current position holdings. The system returns structured output with raw JSON logs and clear success messages for each request.

Does the trading simulation handle API errors and provide structured logs?

Yes, the trading simulation includes error handling and provides structured output with raw JSON logs. This ensures clear success messages and transparent error reporting for all executed API trades.

Is this stock trading simulation suitable for testing portfolio strategies?

Yes, this simulation is applicable for users who want to test portfolio strategies by viewing holdings, placing trades, and inspecting balances. It delivers a realistic trading experience without real money.