moltrade
Installation
SKILL.md
Moltrade Bot Skill
Paths are repo-root relative. Keep actions deterministic and redact secrets.
Install & Init
- Clone the repo and install Python deps locally (code is required for strategies, nostr, and CLI):
git clone https://github.com/hetu-project/moltrade.gitcd moltrade/trader && pip install -r requirements.txt
- Initialize a fresh config with the built-in wizard (no trading):
- Prefer the human user to run
python main.py --init(prompts for relayer URL, wallet, nostr, copy-trade follower defaults, and bot registration), so you can approve prompts, handle the wallet private key entry yourself, and capture the relayer’s returnedrelayer_nostr_pubkeywhen registering the bot. - If you delegate to an agent, do so only if you trust it with the wallet key and ensure it completes the entire wizard—including the final bot registration step—so the
relayer_nostr_pubkeygets written back to the config.
- Prefer the human user to run
- For CI/agents, keep using the repo checkout; there is no separate pip package/CLI yet.
Update Config Safely
- Backup or show planned diff before edits.
- Change only requested fields (e.g.,
trading.exchange,trading.default_strategy,nostr.relays). - Validate JSON; keep types intact. Remind user to provide real secrets themselves.