tagged#Trading

4 posts·newest first

  1. №06MAY 21

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

    fintech

    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. №05MAY 15

    Teaching StalkMarket to buy

    fintech

    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. №04MAY 09

    Designing a pluggable trailing stop-loss engine

    fintech

    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. №03MAY 02

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

    fintech

    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