← Chat Archive

Share:
OpenAlgo Trading Bot Development
2026-06-29T15:57 8 messages d728be8d-fb83-453e-8...
USER (hermes, glm-5.1)
hi do you have skill of developing the trading bot for openalgo
2026-06-29T15:57
ASSISTANT (hermes, glm-5.1)
Yes, I have direct experience developing trading bots for OpenAlgo. From memory alone, I've built and maintained 3 bots on your VPS: 1. **claude_bot** (UNIFIED) — DLF/INFY/INDUSINDBK options 2. **lt_3candle_bot** — 3-candle strategy on LT futures 3. **morning_sniper** — multi-broker options scalper with guardrails Let me check what formal skills I have stored for this:
2026-06-29T15:57
ASSISTANT (hermes, glm-5.1)
Yes, I have extensive trading bot development skills for OpenAlgo. Here's what I can do: **Active Bots on Your VPS (3 running):** 1. **claude_bot** (UNIFIED) — DLF/INFY/INDUSINDBK options on Shoonya+Flattrade 2. **lt_3candle_bot** — 3-candle strategy on LT futures (Flattrade+Kotak) 3. **morning_sniper** — 5-stock VIDYA+Renko scalper with guardrails **Skill Coverage (openalgo-vps-troubleshooting):** - Config-driven PROFILES pattern for multi-symbol bots - Per-symbol SQLite databases with standardized schema - Broker mapping (Shoonya/Flattrade/Kotak — hybrid exec+data pattern) - Morning pipeline (cron: 9:00 fix → 9:05 ready → 9:20 flush → 9:25 trade) - Entry/exit guardrails (LIMIT-only exits, retry caps, Telegram escalation) - EOD computation (VIDYA, Renko, daily anchors) - Deployment checklist with pre-flight broker checks - Diagnostics for session expiry, quotes 500, symtoken gaps, OOM kills **Also Available:** - OpenAlgo MCP tools (live quotes, positions, orders, option chain, Greeks) - Chart web app (TradingView Lightweight Charts + Flask API) - Auto DB sync, token bridge daemon, master contract refresh - Shoonya QuickAuth migration (eliminate daily manual login) What do you need — a new bot, modifications to an existing one, or troubleshooting?
2026-06-29T15:57
USER (hermes, glm-5.1)
i needto ceate the new trading bot - can you check in home folder for a tool which has questions - user answer and the the bot is created
2026-06-29T16:00
ASSISTANT (hermes, glm-5.1)
Let me look more broadly — maybe it's a Python script or tool in the scripts or bots directories:
2026-06-29T16:00
ASSISTANT (hermes, glm-5.1)
I found a `BOT_CREATION_CHECKLIST.md` — let me check it:
2026-06-29T16:00
ASSISTANT (hermes, glm-5.1)
I couldn't find an interactive questionnaire/scaffold tool for bot creation on the VPS. What exists is: 1. **`BOT_CREATION_CHECKLIST.md`** — A detailed reference doc (not interactive) covering config, API calls, stop loss, risk management, state management, Telegram, systemd, etc. 2. **3 existing bot implementations** (morning_sniper, lt_3candle, claude_bot/unified_strategy) — code you can reference/copy. There's no wizard-style tool that asks questions and auto-generates a bot.
2026-06-29T16:00
ASSISTANT (hermes, glm-5.1)
Great. Tell me the bot requirements and I'll build it. I need: 1. **Strategy name** — what do you want to call it? 2. **Symbol(s)** — which stock(s)/index? (e.g., NIFTY, BANKNIFTY, SBIN, RELIANCE) 3. **Strategy type** — what's the entry/exit logic? (e.g., VIDYA crossover, RSI, 3-candle pattern, momentum ROC, etc.) 4. **Broker** — which broker for execution? (Shoonya, Flattrade, Kotak, or hybrid like morning_sniper) 5. **Product type** — MIS (intraday) or NRML (positional)? 6. **Lot size** — per trade lot quantity 7. **Stop loss** — fixed points, percentage, or indicator-based? 8. **Profit target / trailing** — fixed target, ratchet/trailing, or exit on signal? 9. **Timeframe** — what candle interval? (5min, 15min, 1h, etc.) 10. **Trading window** — market hours only, or specific entry window (e.g., morning_sniper's 9:25-10:30)? Or just describe what you want in your own words and I'll figure out the details.
2026-06-29T16:00