Kiran P K

Projects

Momentum Backtest

2026

A dual-momentum trading strategy for Indian markets, validated against 19 years of real NSE/AMFI data before risking money on it — plus a live monthly signal generator.

PythonPandasNumPyNode.jsJupyter
DetailsHide details

Why I built this

Built to validate a Nifty/Gold/Liquid-fund momentum strategy against real market data before allocating capital to it. The backtest survived multiple rounds of self-correction — a lookback parameter that looked optimal turned out to be regime-specific noise, a stock-picking overlay looked free until corrected for survivorship bias, and two real data bugs were found and fixed along the way. Findings are logged chronologically, including what didn't hold up.

Key Features

  • Dual-momentum strategy engine with a crash filter, tested across two non-overlapping market regimes (2008–2016, 2016–2026) to separate durable edge from regime-specific noise
  • Point-in-time constituent reconstruction to correct a stock-picking overlay for survivorship bias
  • Config-driven live signal generator (Node.js) that fetches recent data, applies the fixed decision rules, and flags hard-stop conditions — no hardcoded strategy, just JSON config
  • Chronological findings log documenting what was tested, what got overturned on more data, and what's still uncertain

Architecture

Python/Jupyter for the backtest (data fetch/cache notebook + strategy engine, parameter sweeps, and era-split robustness checks), with a standalone Node.js script for the live monthly decision — reads a JSON config for lookback period, crash-filter benchmark, and risk-asset set, so the decision logic isn't hardcoded to one specific set of instruments.

Den

2026

A lightweight Makefile-based tool to set up and manage a dev environment across machines — package installs, dotfiles, and Obsidian vault sync in one command.

MakeBashShell
DetailsHide details

Why I built this

Built to stop re-doing the same setup steps every time I get a new machine — one `make install` handles system packages, dev tools, dotfiles, and syncing an Obsidian vault via Syncthing.

Key Features

  • OS + distro detection with dnf/apt package installs
  • Dev tooling setup (NVM) with automatic shell configuration
  • Dotfile symlinking with automatic backup/restore and missing zsh-plugin installs
  • Syncthing install and Obsidian vault sync setup

Architecture

A Makefile entry point that includes modular `core/*.mk` files (os, libs, dev, dotfiles, obsidian), each scoped to one concern and composable via `make install`/`make update`.

Daily Todos

2026

An Obsidian plugin for quickly opening or creating dated todo notes, with a calendar view and archiving for old notes.

JavaScriptObsidian API
DetailsHide details

Why I built this

Built to replace a manual daily-note routine in Obsidian — one click opens or creates today's todo note, with quick navigation to any date and a calendar view to see which days have notes.

Key Features

  • Open today's todo from a ribbon icon or command
  • Date picker with Yesterday / Today / Tomorrow / +2 days / +7 days shortcuts
  • Calendar view showing which days have notes, click to open or create
  • Archive old todos — keep the N most recent notes and move the rest into dated archive folders

Architecture

Plain JavaScript Obsidian plugin (no build step) using the Obsidian Plugin API — a custom ItemView for the calendar, Modal-based UI for date picking and archiving, and a settings tab for configuring folders and templates.

FocusFlow

2025

A Chrome extension for staying focused — block distracting sites with custom goals and reflective prompts instead of rigid blacklists.

ReactTypeScriptViteTailwind CSSWeb Extension APIs
DetailsHide details

Why I built this

Built to solve a personal problem: staying focused during work hours. Instead of relying on rigid site blockers, FocusFlow supports custom goals and intentionality — a more mindful way to manage distractions.

Key Features

  • Blacklist and whitelist modes
  • Goal setting with website restrictions
  • Custom "blocked" page with reflective prompts

Architecture

Modular Chrome extension with a React-powered options page, background service workers, and content scripts. Uses Chrome's declarativeNetRequest API for lightweight URL blocking and local storage to persist settings and goals.

Scalperr

2024

Backend for a real-time options trading platform — multi-broker integration, live market data, and sub-second order execution built for traders who need speed.

GolangPostgresRedisWebSocket
DetailsHide details

Why I built this

A backend service connecting with broker APIs (Zerodha, Mastertrust, Fyers) to stream live market data, place quick trades, and manage positions — built for traders entering and exiting positions within seconds.

Key Features

  • Real-time option chain and price tracking via WebSocket streams
  • Single-tap market and limit order placement across multiple brokers
  • Custom trigger-based trade execution
  • API latency optimized with Redis caching and targeted query improvements

Architecture

Golang backend with broker OAuth integration, concurrent WebSocket handlers for live price feeds, Redis for hot data caching, and Postgres for trade history and position tracking.