Introduces a dashboard-managed agent registry (`state/agents.json`) used by nightly research and market-open execution, including support for custom/disabled agents and per-agent time budgets. Expands personas to four agents (adds Maverick), shifts pick targets to include mandatory options, and updates prompts/finalization nudges to enforce option research without hard-failing runs. Strengthens execution safety by adding option-specific guardrails (conviction floor, premium cap, reserved option slot through trade/day/buying-power caps), validates OCC option symbols in schemas, and normalizes invalid option direction cases. The dashboard was refactored into modular views, adds an Agents admin tab, and improves live portfolio visibility with Alpaca-first data and snapshot fallback.
13 lines
429 B
Bash
13 lines
429 B
Bash
#!/usr/bin/env bash
|
|
# Remove the launchd jobs and print how to clear the wake schedule.
|
|
set -euo pipefail
|
|
LA="$HOME/Library/LaunchAgents"
|
|
for p in caffeinate nightly market_open; do
|
|
launchctl unload "$LA/ai.tradingagent.$p.plist" 2>/dev/null || true
|
|
rm -f "$LA/ai.tradingagent.$p.plist"
|
|
echo "removed ai.tradingagent.$p"
|
|
done
|
|
echo
|
|
echo "Also clear the nightly wake schedule (needs sudo):"
|
|
echo " sudo pmset repeat cancel"
|