| name | trading-executor |
| description | Execute trades via API with position sizing, order management, and slippage monitoring. Use when placing orders on exchanges. |
| domain | trading |
| author | oyi77 |
| license | Apache-2.0 |
| subdomain | trading |
| tags | ["algorithms","api","executor","markets","monitoring","trading"] |
| allowed-tools | ["Bash(trading:*)","MCP(mt5:*)","MCP(slack:*)","fs","network"] |
| version | 1.0.0 |
Trading Executor
Overview
Execute trades on broker with proper slippage checks and safe abort procedures. The Executor serves as the final gatekeeper in the trading pipeline, ensuring all orders are placed only under acceptable market conditions with proper validation of execution quality. It implements dry-run testing, real-time slippage monitoring, and intelligent abort mechanisms to prevent poor executions.
When to Use
Trigger phrases:
-
"trading executor"
-
"Placing market or limit orders on any supported broker (MT5, MT4, CCXT)"
-
"Validating slippage before confirming trade execution"
-
"Implementing safe abort procedures when market conditions deteriorate"
-
Placing market or limit orders on any supported broker (MT5, MT4, CCXT)
-
Validating slippage before confirming trade execution
-
Implementing safe abort procedures when market conditions deteriorate
-
Handling partial fills and monitoring fill completeness
-
Integrating execution results with notification systems (Slack, Notion)
-
Running dry-run simulations to test order placement without risk
-
Managing order lifecycle from placement to confirmation
The Process
The execution pipeline follows five stages: dry-run validation, order placement, market condition checks, partial fill handling, and safe abort procedures.
1. Dry-Run Order Placement (Recommended)
Always run a dry-run first to validate order parameters and check slippage:
const dryRun = await broker.order({
symbol: "XAUUSD",
type: "market",
side: "buy",
volume: 0.1,
dryRun: true
});
console.log(`Slippage: ${dryRun.slippage} pips`);
if (dryRun. > ) {
{ : , : };
}