一键导入
executetrade
Execute a trading plan with safety checks, confirmation verification, and rollback capabilities.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute a trading plan with safety checks, confirmation verification, and rollback capabilities.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | executeTrade |
| description | Execute a trading plan with safety checks, confirmation verification, and rollback capabilities. |
执行交易,具有多层安全检查和回滚能力。
interface ExecuteTradeInput {
tradingPlan: TradingPlan; // 要执行的交易计划
confirmationId: string; // 用户确认 ID
dryRun?: boolean; // 试运行模式(默认:false)
}
interface ExecuteTradeOutput {
success: boolean;
tradeRecord: {
id: string;
tradingPlanId: string;
ticker: string;
action: 'buy' | 'sell' | 'day_trade_buy' | 'day_trade_sell';
quantity: number;
price: number;
execution: {
orderId: string;
timestamp: Date;
status: 'pending' | 'filled' | 'partial' | 'cancelled' | 'rejected';
filledQuantity: number;
averagePrice: number;
commission: number;
};
financials: {
totalCost: number;
currentValue: number;
profitLoss: number;
profitLossPercent: number;
};
createdAt: Date;
updatedAt: Date;
};
rollbackAvailable: boolean; // 是否可回滚
warnings: string[];
errors: string[];
}
INVALID_CONFIRMATION: 确认 ID 无效VALIDATION_FAILED: 执行前验证失败EXECUTION_ERROR: 交易执行失败ROLLBACK_FAILED: 错误后回滚失败Analyze overall market sentiment, sector trends, and identify hot topics and stocks.
Analyze individual stocks, providing technical, fundamental, and sentiment analysis along with trading recommendations.
Analyze the results of executed trades to evaluate performance and extract lessons.
Verify if a trading plan complies with user-defined risk limits such as position size and stop-loss levels.
Collect market data, technical indicators, news, KOL views, and option data for financial analysis.
Create a detailed trading plan based on stock analysis, portfolio status, and user preferences.