Playbooks
Setup And Execution Playbooks
Operational checklist for preparing exchange credentials, alert payloads, and execution settings before paper trading.
1. Account Setup
- Enable Binance USD-M Futures on the target account.
- Disable Multi-Asset Mode and Portfolio Margin for consistency.
- Use low leverage (1x-2x) during validation.
- Confirm symbol precision and min-notional constraints.
2. API Credential Flow
- Store keys via Admin credentials pages, never in frontend code.
- Restrict permissions to trading-only where possible.
- Validate via account fetch before first execution test.
- Use testnet credentials by default until checks pass.
3. Override Configuration
- Set mode and base URL consistently across environments.
- Define qty bounds, default qty, and leverage rules.
- Enable position checks and opposite-side auto-close logic.
- Review bracket-order behavior for stop/TP controls.
TradingView Alert Payload Baseline
Keep payload fields explicit and align naming with webhook expectations.
{
"symbol": "{{ticker}}",
"action": "{{strategy.order.action}}",
"price": "{{strategy.order.price}}",
"timeframe": "{{interval}}",
"strategy": "supertrend",
"secret": "YOUR_WEBHOOK_SECRET"
}
Pre-Paper-Run Checklist
Configuration alignment
- Pine inputs match webhook risk and filter settings.
- Symbol format is consistent (`BTCUSDT`).
- Mode flags are aligned (testnet/live).
- Daily guardrails are active in execution logic.
Execution validation
- Manual open/close/adjust actions succeed without API errors.
- Position and account snapshots update immediately post-trade.
- Trade history reflects realized P/L and fee effects.
- Operational logs capture each state-changing action.
Common Error Patterns
-1111 indicates precision/step-size mismatch. Round quantity according to symbol lot size.
-4164 indicates min-notional violation. Increase position size or use a different symbol context.