---
title: "How Drishti Signals is engineered"
description: "The 15-minute pipeline, the 144-feature input, the Claude decision step, the reward:risk gate, and the scoring that keeps every loss public."
canonical: https://www.drishtisignals.in/engineering/
last-updated: 2026-08-24
---

# How Drishti Signals is engineered

Three phases run on a fixed 15-minute clock. A tracker closes finished signals: take-profit, stop-loss, or 24-hour expiry. A generator computes 144 features per asset from 13 live data sources. It asks Anthropic Claude for one structured decision. A publisher writes the results as JSON to object storage. A light loop re-publishes the feed about every 60 seconds.

## The decision step

- Model: Anthropic Claude (currently Claude Opus 4.8) at temperature 0 with forced tool-calling. Output is strict JSON: direction, confidence, entry, stop-loss, take-profit, reasoning, and outcome probabilities.
- Data: Delta Exchange, Binance, Bybit, Deribit, Hyperliquid, CoinGlass, Coinalyze, CoinGecko, DefiLlama, Alternative.me, Farside, macro via yfinance. 11 fixed USD perpetuals.
- Risk gate (code, not the model): reward:risk must clear 1.0; oversized targets are reshaped into a 1.0–1.5 band; malformed output is dropped.

## Scoring

A signal wins only if price touches the take-profit before the stop. Signals that hit neither side in 24 hours expire. Expiries stay published but do not count in the win rate. The model's own probabilities are graded after close with a Brier score. Live numbers: https://www.drishtisignals.in/api/stats.json — never trust a baked copy.

## Reliability

A systemd watchdog restarts hung cycles. A stall monitor runs on the machine; a dead-man's switch pages from outside it. Alerts fire on stale feeds. The ledger must never silently stop.

## Version history

Every prompt or model change is logged at https://www.drishtisignals.in/changelog.json. Each change starts a fresh cohort, so no era hides inside another's average.

Full page: https://www.drishtisignals.in/engineering/ · Educational and illustrative only — not investment advice.
