Get started with q and kdb+
Kdb+ is a database. You can use it through interfaces such as ODBC, or from Python. But its power and performance are best accessed through its own language, q.
Q is a general-purpose programming language. You can write programs for anything in q.
You do not need prior programming experience to learn it. If you have some experience with mathematics, functional programming or SQL, you will find in q much that is familiar.
In this section we offer different routes into the language. Find one that suits your experience and learning style. (Or ask the Librarian for what you need.)
Other sections:
section | content |
---|---|
Language | formal definition of language elements |
Database | persisting tables in the filesystem |
Architecture | topics in building systems using kdb+ processes |
White papers | extended treatments of topics in q programming and in building kdb+ systems |
Books
kdb+中文教程
kdb+ Tutorial in Chinese
by Kdbcn Workshop
Fun Q
A Functional Introduction to Machine Learning in Q
by Nick Psaris
Whether you are a data scientist looking to learn q, or a kdb+ developer looking to learn machine learning, there is something for everyone.
Machine Learning and Big Data with kdb+/q
by Jan Novotny, Paul A. Bilokon, Aris Galiotos, and Frederic Deleze
Offers quants, programmers and algorithmic traders a practical entry into the powerful but non-intuitive kdb+ database and q programming language.
Q for Mortals
Version 3
by Jeffry A. Borror
Covers up to kdb+ V3.3.
If you are a new kdb+ user, this is the book for you!
Amazon
HTML edition online
Q Tips
Fast, scalable and maintainable kdb+ by Nick Psaris
There is information that if you were learning by yourself, would take years to work out.
See the Archive for older documents.
Please send comments on tutorials to librarian@kx.com.