Kx in Academia: Carnegie Mellon University teaching with kdb+

7 Feb 2017 | , , , ,
Share on:

One of the ways the Kx community grows is through the Kx academic program, which provides free kdb+ licenses for teaching and research to select universities. The global list of institutions with academic licenses includes Harvard Business School, the Haas School of Business at UC Berkeley, the University of Chicago and Carnegie Mellon University’s Tepper School of Business.

Kdb+ user Robert Almgren, president and co-founder of Quantitative Brokers, a broker-dealer and provider of agency algorithms, is also an adjunct professor of Finance at Carnegie Mellon. He uses Carnegie Mellon’s kdb+ academic license for teaching.

Over the past few years, Robert has jointly taught “Market Microstructure and Algorithmic Trading,” with Duane Seppi in the Master of Science in Computational Finance program at Carnegie Mellon’s Tepper School of Business.

This course presents foundational concepts and current developments relating to trading in financial markets including algorithmic and high-frequency strategies, optimal order execution, execution quality analysis, the operation of limit order markets, the regulatory and institutional landscape, programming and IT infrastructure, and the economics of market microstructure.

The class is heavily data-oriented. The students get to work on a month of futures tick data from the CME Foundation, with over 3 billion total data records. For this amount of data, a sophisticated product like kdb+ is required. Carnegie Mellon hosts the data on a kdb+ server, and lets the students access it either from the q command line, or using the interface to the R statistical language.

The instructors give the students some basic instruction in kdb+ and show them how to do useful queries directly in the data server. Then they use the data throughout the course to explore empirical aspects of market microstructure.

Robert and Duane’s students last semester were very much up to the challenge. Kx engineer Ruairí Devlin gave a presentation to the class in October about kdb+. During an animated session of live coding the class put Ruairí through his paces, demonstrating significant knowledge of trading systems, and kdb+.

If you are an alumni or professor at a university which could also benefit from a kdb+ academic license, drop us a line at academic@kx.com.

© 2017 Kx Systems
Kx® and kdb+ are registered trademarks of Kx Systems, Inc., a subsidiary of First Derivatives plc.


Kx collaborating with Fintech startup chartiq

Collaboration: The Dominant Trend in Finance

13 Dec 2017 | , , , ,

In December we are re-blogging some of our favorite content from Kx partners and affiliated companies, starting with this article on the ChartIQ blog. ChartIQ is an agile FinTech company that sells an advanced HTML5 charting library used in technical data analysis, trading configurations and for charting in the capital markets industry. Kx offers a ChartIQ integration as an addition to our Dashboards. In “Collaboration: The Dominant Trend in Finance,” ChartIQ’s Hanni Chehak writes about the rise of FinTech companies, and the role collaboration plays as FinTech companies are increasingly disrupting the traditional banking sector.

Water system workers with kdb+ historical database

Kdb+ Use Case: Machine Learning Water System Maintenance Application

6 Dec 2017 | , , , ,

Kdb+ is being used much more widely in machine learning applications today. Its ability to quickly ingest and process data, particularly large, fragmented datasets, is one way that developers are adding kdb+ to their technology stack of artificial intelligence and machine learning tools.
For Australian kdb+ developer Sherief Khorshid, who also develops machine learning systems, incorporating kdb+ into a predictive maintenance application gave him the edge in a hackathon win that landed him a cash prize and a contract with the Water Corporation of Western Australia.

kdb+ FFI

Kdb+ FFI: Access external libraries more easily from q

22 Nov 2017 | , , ,

Following on from the hugely popular Python library and interface embedPy and PyQ, Kx has released an FFI as part of the Fusion for kdb+ interfaces. As with embedPy and PyQ, this FFI is open-sourced under the Apache 2 license.
The kdb+ FFI is a foreign function interface library for loading and calling dynamic libraries from q code. It has been adapted and expanded upon from a library originally written by Alex Belopolsky of Enlightenment Research. With the kdb+ FFI you can now call your favorite C/C++ libraries directly from q without the overhead of having to compile shared objects and load into q using the 2: command.