{"actions": [{"code": "list_stocks", "name": "获取股票行情列表", "description": "获取当前所有模拟交易股票（30只）的最新单价、当日涨跌幅等行情数据。", "method": "GET", "path": "/api/v1/stock/list", "proxy_required": true, "request_schema": {"type": "object", "properties": {}}}, {"code": "trade_stock", "name": "股票买卖交易", "description": "进行模拟股票的买入或卖出交易操作，需要传入代码、买卖类型和数量。", "method": "POST", "path": "/api/v1/stock/trade", "proxy_required": true, "request_schema": {"type": "object", "properties": {"symbol": {"type": "string", "description": "股票代码，例如 AAPL, BTC, BABA 等"}, "action": {"type": "string", "description": "交易类型: buy (买入) 或 sell (卖出)"}, "quantity": {"type": "number", "description": "交易的股票/资产股数，必须大于 0"}}, "required": ["symbol", "action", "quantity"]}}, {"code": "get_portfolio", "name": "查询个人持仓及资产收益", "description": "查看当前用户的可用现金、所有持仓股票市值、总净资产、当前累计收益以及收益率百分比。", "method": "GET", "path": "/api/v1/stock/portfolio", "proxy_required": true, "request_schema": {"type": "object", "properties": {}}}, {"code": "get_leaderboard", "name": "查询收益排行榜", "description": "查询收益率全网大排名列表，支持按日榜、周榜、月榜和总榜进行排序。", "method": "GET", "path": "/api/v1/stock/leaderboard", "proxy_required": true, "request_schema": {"type": "object", "properties": {"type": {"type": "string", "description": "榜单类型: daily (日榜-昨日收益), weekly (周榜-本周收益), monthly (月榜-本月收益), all (总榜-累计收益，默认)"}, "limit": {"type": "integer", "description": "返回的前 N 名数量，默认 10"}}}}]}