Skip to content

Financial functions in ClickHouse

YouTube Video: BePLPVa0w_o

Mark Needham

In this video, we dive into the new financial functions introduced in ClickHouse 25.7. These additions bring powerful tools for financial analysis right into your database queries.

We'll explore two key functions: internal rate of return (IRR) and net present value (NPV), demonstrating their practical applications with real-world examples.

  • Learn how to calculate the internal rate of return on investments using Apple stock as an example
  • Discover the extended IRR function that allows for specific date inputs
  • Understand net present value calculations and their importance in financial decision-making
  • See how to use the extended NPV function with precise date ranges

Recent videos

YouTube Video: e-NnqMTY_3A

How to

Inspect incoming data with INSERT … RETURNING in ClickHouse

Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.

YouTube Video: BsmTK-pa5ks

How to

Reading and writing Vortex files with ClickHouse (26.11)

Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.

Follow us

XBlueskySlackGithubTelegramMeetupRSS