paper trading

WhatsApp Command Reference

Send these commands via WhatsApp to control/inspect the ZED trading bot.

Quick start

zed status → see paused/flatten + service status
zed resume / zed pause
zed snapshot 60 → recent logs

Safety

zed flatten → close all positions + pause
Paper mode is enabled, but always assume commands can place orders once resumed.
Tip: If something looks wrong, run zed connectivity 15 and zed errors 200.
Command
Description
zed help
Show this command list (short form).
zed summary
Bot + gateway status plus the latest top signals.
zed status
Command state (paused/flatten) and systemd service status.
zed snapshot
Last ~120 log lines from the trading bot.
zed snapshot N
Last N log lines (example: zed snapshot 300).
zed errors
Filtered recent warnings/errors.
zed errors N
Filtered warnings/errors from last N lines.
zed trades
Orders/fills logged since the last zed resume.
zed connectivity
Bot+gateway status + connectivity timeouts in last 15 minutes.
zed connectivity N
Connectivity summary for last N minutes (example: zed connectivity 60).
zed config
Show current bot.yaml configuration (sanitized).
gateway summary
IB Gateway status + port listener checks.
Control
Actions that change bot behavior
zed pause
Pause the bot (no new orders will be submitted).
zed resume
Resume the bot (may submit paper orders when signals trigger).
zed flatten
Flatten positions (close everything) and pause.
zed restart
Restart the trading bot service.
Aliases
Compatibility
bot <command>
Alias for the same commands above (legacy).