← All projects
Concept for Bayesline · by Anirudh Devella

A check before every nightly upload

Every client sends Bayesline its holdings each night, and every custom risk model is only as good as that file. This check learns what a normal night looks like for each client, commits the clean files on its own, and holds the odd one with the exact rows to look at.

Fictional example. The client, holdings and numbers are made up to show the method. This is an outside concept, not Bayesline's product or data, and not affiliated with Bayesline.

Built for Bayesline · the short version

Every client's risk model can rest on a file that has been checked against that client's own normal.

In this sample week, one clean night committed on its own and four odd nights were held, each with the exact rows behind it.

Built on sample data. To make it real, I'd use a few months of staged and committed uploads per client, with the fixes your team made before committing.

Who built it

Anirudh Devella, data scientist. Before this, in production:

  • Cross-company technician benchmark behind raises and bonuses at Bluelight (YC)
  • Forecast error cut from 13% to 8.3% at Bluelight (YC)
  • AI Coach that raised engagement for 10,000+ athletes at Brandlete
  • 150K leads scored to retarget direct mail at CoverRight

“I’d hire him again.” Alex Dixon, Co-founder, Bluelight (YC), managed Anirudh directly. Read it on LinkedIn

01 · One client, five nights

Northwind's uploads, Monday to Friday

Northwind Capital is a sample long-only fund with about 180 stocks. Pick a night. Each check compares tonight's file with Northwind's last 60 nights: the shaded band is its normal range, the dot is tonight.

    Northwind's normal range, last 60 nightsa past nighttonight, outside the range

    Rows to look at

    Northwind's morning risk report

    02 · Why each client gets its own normal

    One fixed rule can't fit every client

    How much of the portfolio changes overnight is normal for one client and alarming for another. A single rule like "hold anything over 15%" would hold the quant fund every night and never notice when the pension fund changes too much. Learning each client's own range fixes both.

    Shaded bars are each client's middle 90% of nights over the last 60. The dashed line is a single fixed rule at 15%.

    Next step

    My first week with your real data

    1. Rebuild each client's last 60 nights of uploads and measure the normal range for every check.
    2. Replay past uploads you fixed by hand and see how many the check would have held on its own.
    3. Ship it in watch-only mode: it flags in staging, your team still commits.

    Also built for Bayesline

    You might also like

    Similar case files