Skip to main content

Tutorials

In this tutorial section of the blog, we provide step-by-step guides to help you understand and learn how to build KDB/Q services and applications. We focus on explaining important concepts of the Q programming language through hands-on examples. These tutorials are designed to walk you through the process of creating various KDB/Q services, all while gaining a deep understanding of the core concepts that underlie this powerful language. Whether you're new to KDB/Q or looking to expand your knowledge, these tutorials are a valuable resource to enhance your skills and build robust KDB/Q applications.

📄️ KDB Tick Explained: A Walkthrough [PART 2]

In my previous tutorial I walked you through all the helper functions you can find in the u.q file of a plain vanilla Tickerplant. I provided a comprehensive overview of the inner workings of these functions and how they interact with each other. It is now time to circle back and continue with our step-by-step examination of the main tick.q file and complete complete our understanding of the Tickerplant. If you'd like to revisit our previous discussions or if you're new to this tutorial, you can access my earlier post here.

📄️ A Real Time Stock Market Feed

In this tutorial, we'll walk through building a real-time stock market data feed and streaming that data into a simplified KDB/Q Tick architecture. We'll use Python, specifically the yfinance library, to fetch live market data from Yahoo Finance, and then publish it to a custom KDB/Q Tickerplant (TP), which will forward the data to a Real-Time Database (RDB). We'll use the qpython library to connect our Feedhandler to the Tickerplant, enabling us to stream real-time data for further processing.