← Chat Archive

Share:
Hermes session 20260429_180528_0f872d
2026-04-29 12:40:32 4 messages hermes-20260429_1805...
USER (hermes, deepseek-v4-flash)
so can you continue the process of sniper bot
2026-04-29 12:40:32
ASSISTANT (hermes, deepseek-v4-flash)
2026-04-29 12:40:32
TOOL (hermes, deepseek-v4-flash)
[Tool execution cancelled — session_search was skipped due to user interrupt]
2026-04-29 12:40:32
TOOL (hermes, deepseek-v4-flash)
{"content": " 1|# Morning Sniper Strategy — Design Document\n 2|\n 3|**Status**: In Design\n 4|**Started**: 2026-04-29\n 5|**Last Updated**: 2026-04-29\n 6|**How to recall**: `hermes` then say \"continue building morning sniper bot, the design doc is at /home/ubuntu/docs/morning-sniper-design.md\"\n 7|\n 8|---\n 9|\n 10|## Strategy Overview\n 11|\n 12|| Aspect | Value |\n 13||--------|-------|\n 14|| **Type** | Morning sniper, one-shot per day |\n 15|| **Window** | 9:17 → 9:45 IST (28 minutes) |\n 16|| **Basis** | Renko VIDYA + 2-candle brick confirmation |\n 17|| **Instrument** | Options (NFO, NRML, ATM) |\n 18|| **Per day** | 1 entry only. SL hit or profit hit or 9:45 = done |\n 19|\n 20|---\n 21|\n 22|## 5 Stocks & Broker Mapping\n 23|\n 24|| # | Underlying | Broker (Exec) | Candle Data | Expiry | Lot | Futures LTP | ATM CE Ref |\n 25||---|-----------|---------------|-------------|--------|-----|-------------|------------|\n 26|| 1 | SBIN | Flattrade | Flattrade | 26MAY26 | 750 | ₹1,092 | 1100CE |\n 27|| 2 | INDIGO | Flattrade | Flattrade | 26MAY26 | 150 | ₹4,432 | 4450CE |\n 28|| 3 | HAL | Shoonya | Shoonya | 26MAY26 | 150 | ₹4,382 | 4350CE |\n 29|| 4 | TCS | Shoonya | Shoonya | 26MAY26 | 175 | ₹2,446 | 2480CE |\n 30|| 5 | ULTRACEMCO | Kotak | **Flattrade** (hybrid) | 26MAY26 | 50 | ₹12,070 | 12000CE |\n 31|\n 32|ULTRACEMCO dual-broker pattern: Kotak = live execution, Flattrade = candle history. Same as LT 3Candle bot.\n 33|\n 34|---\n 35|\n 36|## VIDYA (Daily Bias) Computation\n 37|\n 38|- **Data source**: All of **previous day's 5-min candles** (full OHLC) from the stock's candle broker\n 39|- **Why 5-min**: EOD daily candles don't arrive before 8:00 AM. 5-min data is our makeshift EOD.\n 40|- **Process**: Previous day's 5-min candles → build daily renko → VIDYA = N-1 brick close\n 41|- **Bias**: At 9:15, compare opening futures LTP vs VIDYA:\n 42| - Price > VIDYA → GREEN (bullish) → buy CALL\n 43| - Price < VIDYA → RED (bearish) → buy PUT\n 44|- **Bias is fixed for the day** — never recalculated intraday\n 45|\n 46|---\n 47|\n 48|## Entry Logic\n 49|\n 50|### Intraday Renko\n 51|- Brick size: **2** (uniform across all 5 stocks, per-symbol values TBD)\n 52|- Polling: every **30 seconds** till 9:22, then every **1 minute** till 9:45\n 53|\n 54|### Trigger\n 55|1. VIDYA bias determines direction\n 56|2. 9:17 window opens\n 57|3. **2 renko bricks forming in the bias direction** = entry signal\n 58|4. If at 9:15 opening is above VIDYA but 9:17 price is below VIDYA → wait for price to CROSS VIDYA within the window\n 59|\n 60|### Order\n 61|- BUY **ATM option** (NRML)\n 62|- **LIMIT BUY at option LTP + 3** (offset 3, aggressive fill)\n 63|- Lot size: 1 per stock\n 64|\n 65|---\n 66|\n 67|## Exit Logic\n 68|\n 69|### Stop Loss: ₹1000 ... [6042 chars total, truncated]
2026-04-29 12:40:32