filed under Fintech

4 posts · newest first

  1. №06 MAY 21

    Multi-broker auth: TOTP, OAuth, and token persistence done right

    How StalkMarket abstracts four Indian broker APIs (Angel One, Upstox, Zerodha, Groww) behind one provider interface — with TOTP, OAuth token injection, persisted tokens, proactive refresh, and a 401 retry path.

    #trading #brokers #auth #oauth #totp #nodejs

  2. №05 MAY 15

    Teaching StalkMarket to buy

    StalkMarket already knows when to sell. Now I'm wiring up the harder half — entries. Here's the messy filter that turned 25 candidate buy signals into the five I'd actually trust on HDFC Bank.

    #trading #strategy #nse #stalkmarket #design

  3. №04 MAY 09

    Designing a pluggable trailing stop-loss engine

    How StalkMarket's strategy engine works: a pure-function Strategy interface, a discriminated StrategyResult, paise-precision math, and crash-safe deduplication for the trailing stop-loss.

    #trading #strategy #typescript #algorithms #sqlite #testing

  4. №03 MAY 02

    Building StalkMarket: a trailing stop-loss bot for the NSE on a Raspberry Pi

    How I designed and shipped StalkMarket — a multi-broker, multi-channel trailing stop-loss notification bot for the Indian stock market, running 24/7 on a Raspberry Pi 5 in Docker.

    #trading #nse #nodejs #typescript #fastify #sqlite