원클릭으로
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.