filed under Fintech

3 posts · newest first

  1. №05 MAY 16

    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. №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

  3. №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