원클릭으로
rollbacktrade
Rollback a trade execution in case of failure or user cancellation request.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rollback a trade execution in case of failure or user cancellation request.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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.
| name | rollbackTrade |
| description | Rollback a trade execution in case of failure or user cancellation request. |
如果执行失败或用户请求取消,则回滚交易。
interface RollbackTradeInput {
tradeId: string; // 要回滚的交易 ID
reason: string; // 回滚原因
}
interface RollbackTradeOutput {
success: boolean;
tradeId: string;
originalTrade: TradeRecord; // 原始交易记录
rollbackDetails: {
timestamp: Date;
reason: string;
actions: string[]; // 回滚期间执行的操作
};
warnings: string[];
errors: string[];
}
INVALID_TRADE_ID: 交易 ID 无效ROLLBACK_NOT_AVAILABLE: 此交易不可回滚ROLLBACK_FAILED: 交易回滚失败