Archive

1422 posts · Page 12 of 119. ← Blog

Pratik Dhanave · ·8 min read

Portfolio Construction and Aggregation — Seeing the Whole Book

Individual deals and positions are only half the picture; the other half is the portfolio — the whole book of holdings whose combined risk and return is what actually matters to a CIO. Portfolio construction optimizes what to hold, and portfolio aggregation rolls individual positions up into a firm-wide view of risk and exposure. AI helps with both, but the deepest value is often simply seeing the whole book clearly — which is harder than it sounds. This post is about the portfolio layer.

Individual positions are half the picture; the portfolio is the other half. Construction (what to hold) and aggregation (the firm-wide risk view), why seeing the whole book clearly is deceptively hard, and why AI helps most with consistent aggregation and surfacing hidden concentration — not fancier optimization against unforecastable returns. (Educational, not financial advice.)

Pratik Dhanave · ·4 min read

What Forward-Deployed Consulting Is — And Why It's Different

Most consulting either hands over a deck or rents out hours. Forward-deployed consulting does neither — it embeds a builder next to your team to ship a real result on your real data. Here's what that actually means, and why I've built my practice around it.

Most consulting either hands over a deck or rents out hours; forward-deployed consulting does neither — it embeds a builder next to your team to ship a real result on your real data. What the work actually is, how it differs from strategy and contracting, and why the demo-to-production gap in AI is exactly where it earns its keep.

Pratik Dhanave · ·7 min read

Option Pricing — Black-Scholes and the Greeks

The Black-Scholes model is one of the most consequential equations ever written — it turned option pricing from guesswork into engineering and arguably created the modern derivatives industry. Its genius is not a formula to memorize but an idea: you can price an option by continuously replicating it with the underlying and cash, so no-arbitrage pins down its value without any forecast of the market. This post builds that idea and the Greeks that make it operational.

Black-Scholes turned option pricing into engineering: price an option by the cost of continuously replicating it, so no-arbitrage pins its value and the underlying's expected return drops out entirely. Risk-neutral valuation, what the model assumes, implied volatility, and the Greeks traders actually hedge. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Guardrails and Safety in Production — Containing Open-Ended Output

An LLM can say anything, which is exactly the problem. The same open-endedness that makes it useful means it can hallucinate, leak data, follow a malicious instruction hidden in its input, or produce something harmful — and in production, in front of real users, those aren't edge cases, they're inevitabilities. Guardrails are the controls that sit around the model to contain what it might do. This post covers the new failure modes LLMs introduce and the layered defenses that keep a production system safe.

An LLM can say anything, which is the problem. The new failure modes — hallucination, prompt injection, data leakage, harmful output — and layered, fail-closed guardrails (input, output, action) with humans in the loop, treated as part of the lifecycle and red-teamed.

Pratik Dhanave · ·8 min read

Credit and Position Monitoring — Watching the Thesis Over Time

Underwriting is the decision to do a deal; monitoring is everything after — watching whether the thesis still holds as the world changes, the borrower performs or deteriorates, and covenants tighten or breach. It's traditionally periodic, manual, and uneven, which means problems get noticed late. AI makes monitoring continuous: reading every update, tracking every covenant, and flagging variance from the original thesis the moment it appears. This post is about building the monitoring layer.

Monitoring is the long aftermath of a deal — watching whether the thesis still holds as the world changes. AI makes it continuous: reading every update, tracking every covenant, flagging variance from the thesis the moment it appears — attacking the classic failure of problems noticed too late. The make-or-break is signal over noise. (Educational, not financial advice.)

Pratik Dhanave · ·7 min read

Derivatives and the No-Arbitrage Principle

Derivatives sound exotic, but a derivative is just a contract whose value derives from something else — a stock, a rate, a commodity. What makes them intellectually beautiful is how they are priced: not by predicting the future, but by insisting that their price be consistent with the things they depend on. That insistence — the no-arbitrage principle — is the single most powerful idea in quantitative finance, and this post builds it from the ground up.

A derivative's value derives from something else — and it's priced not by prediction but by the no-arbitrage principle: if a portfolio replicates a payoff, it must cost the same. Forwards, futures, options, payoff shapes, and the replication argument that prices a forward and links calls to puts. (Educational, not financial advice.)

Pratik Dhanave · ·5 min read

Online Evaluation and Feedback — Production Is the Real Test

Offline evaluation tells you whether a change is safe to ship; online evaluation tells you whether it actually worked. No matter how good your eval set is, production always surprises you — real users send inputs you never imagined, and the gap between your offline scores and real-world quality is where LLM apps quietly fail. This post is about measuring quality on live traffic and turning user behavior into the feedback that makes the system improve.

Offline evals say a change is safe to ship; online evals say whether it worked. The intrinsic offline–online gap, deploying to measure (canary, A/B, shadow), capturing explicit and implicit feedback, and the pipeline that turns production behavior into continuous improvement.

Pratik Dhanave · ·8 min read

AI Underwriting — From Deal Materials to Auditable Judgment

Underwriting is where a lender or investor decides whether a deal is worth doing — reading the materials, assessing the risk, forming a thesis, and documenting the judgment for an investment committee. It's slow, manual, judgment-heavy work, and it's one of the highest-value places AI can help: turning raw deal materials into structured, pressure-tested, auditable analysis. This post is about building AI underwriting that accelerates the work without surrendering the judgment or the accountability.

Underwriting turns deal materials into a decision — slow, manual, judgment-heavy work and a flagship AI application. Turning raw materials into structured, pressure-tested, auditable analysis: reading the deal record, surfacing risks, pressure-testing against precedent, drafting IC docs — while judgment stays human and everything stays traceable. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Risk and Return

You cannot have higher expected return without accepting more risk — that trade-off is the deepest law in investing, and quantifying it precisely is the achievement that launched modern finance. The surprising twist is that risk is not simply additive: combine imperfectly related assets and some risk cancels out for free. Diversification is the closest thing finance has to a free lunch, and portfolio theory is the math of exploiting it.

Higher expected return requires more risk — and the surprising twist is that diversification reduces risk for free when assets are imperfectly correlated. Volatility, covariance, the efficient frontier, systematic vs. idiosyncratic risk, and how CAPM prices risk through beta. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Eval-Driven Development — You Can't Ship What You Can't Measure

The single practice that separates teams who improve their LLM apps from teams who just change them is evaluation. Without a trustworthy way to measure quality, every prompt tweak is a gamble — you fix one case, break two others, and never know. Eval-driven development makes the eval set the center of gravity: you build it before you optimize, you gate every change on it, and you treat it as the most valuable asset the project owns. This post is about building evaluation you can actually trust.

The practice that separates improving an LLM app from merely changing it. The curated eval set as the core asset, how to score open-ended output (deterministic checks, reference metrics, LLM-as-judge, human review), and how to gate every change on evals and compare B vs A.

Pratik Dhanave · ·7 min read

NLP and LLMs on Financial Documents — Reading at Scale

Finance runs on documents — filings, offering memos, indentures, contracts, credit agreements, research — and until recently machines couldn't read them in any useful way. Large language models changed that, and it's arguably the most consequential development in AI financial engineering: the ability to read, extract, and structure the vast unstructured corpus that finance has always been drowning in. This post is about turning financial documents into analyzable information, reliably and auditably.

Finance runs on documents — filings, memos, indentures, contracts — and LLMs can finally read them at scale. The most consequential capability in AI financial engineering, and the discipline it requires: grounding, provenance on every output, hallucination defense, and human verification. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Bonds and the Yield Curve

A bond is the simplest real instrument in finance — a contract to pay fixed cash flows on fixed dates — which makes it the perfect place to turn the time value of money into something concrete. But bonds also introduce the two ideas that run through all of fixed income: yield, the single number that summarizes a bond's return, and the yield curve, the market's price of time itself. Understanding bonds is understanding how markets discount the future.

A bond is the simplest real application of discounting: fixed future cash flows, priced by present value. From there come yield, the inverse price-yield relationship, duration and convexity as interest-rate risk, and the yield curve as the market's price of time. (Educational, not financial advice.)