Q repositories on GitHub

Please contact librarian@kx.com with additions or changes.

Interfaces for interfaces and plug-ins

Kx Systems

hypertree Recursive aggregating treetable and 3-D pivot table for hypergrid. (Stevan Apter)
Kdb-stuff ServerChecker: how to execute commands on a remote box via SSH from within a q process and parse Linux system info (cpuinfo/meminfo/df). (Mohammad Noor)
studio A rapid-development environment for q. (Charles Skelton)


3dsim 3-D world simulation using kdb+/k/q WebSocket server and three.js. (Stephen Peck)
betfair-data-capture Data capture and analysis system built on TorQ for sports exchange data from betfair.com. (Matthew Doherty)
btlib-bt Behavior-Tag Engine. (Kim Tang)
btlib-dotz Timer and Connection Engine based on the BT Engine. (Kim Tang)
btlib-tick Tick implemented using the BT Engine. (Kim Tang)
FX-AlgorithmTrading FX algorithm trading system. (Naoki Yatsu)
kdb-VNC Implementation of simple vnc server. (Steve Wirts)
lstmq LSTM (Long short-term memory) neural network. (Kumar Ramanathan)
mserve Enhanced mserve load-balanced solution. (Nathan Perrem)
qAutomatedTrading Automated trading platform based on Machine Learning algorithm. (Sharizal Shaari)
qex An equity exchange. (chuchunf)
qPoliticalSentimentAnalysis Political Sentiment Analysis of Facebook comments using Boosting Algorithm. (Sharizal Shaari)
tickrecover Recover from tickerplant crash. (Simon Garland)
VD_KDB Forex tick database. (Brandon Yang)

Development tools

compress File compression. (Simon Garland)
con Qcon replacement. (Geo Carncross)
csvguess Guess a reasonable loadstring for a CSV file (V2.4+). (Simon Garland)
debug4 Debugging tools. (Simon Garland)
diskdelete Delete data from disk directly, loading one col at a time rather than whole table. Preserves attributes. Goes to ridiculous lengths to avoid writing. (Simon Garland)
dotz Control external (.z.p*) access to a q session, log access errors to file. (Simon Garland)
help Create a helpfile from a directory of TXTs. (Simon Garland)
io Benchmark for I/O speed. (Simon Garland)
k4unit K4 unit testing, loads tests from CSVs, runs+logs to database. (Simon Garland)
Kdb-stuff ServerChecker: how to execute commands on a remote box via SSH from within a q process and parse Linux system info (cpuinfo/meminfo/df). (Mohammad Noor)
kwsrepl Kdb+/k/q live REPL over web sockets. (Stephen Peck)
paste.q Script for allowing pasting of multi-line q commands into the q REPL. (Samuel Alexander)
persist-state.q Save the state of your q session when you exit, and restore it when you start again. (Thomas Lackner)
q-build Scripts to allow the standard q binary to be built into RPM and DEB packages. (Jaskirat Rajasansir)
q-doc Javadoc-inspired documentation generator. (Jaskirat Rajasansir)
q-unit Unit testing framework. (Jaskirat Rajasansir)
qac Provides shared memory atomic counter to multiple q processes on Linux. These processes can be either parent/children or unrelated. (Jay Han)
qcon2 Console application to query q. (patmok)
qp A package manager for q. (Yang Guo)
qprofiler Simple profiler for q. (patmok)
qsparkline Sparkline plots as UTF-8 character vectors. (Jay Han)
qspec A testing framework lightly inspired by Behaviour Driven Development and the rspec testing framework (rspec.info). (Daniel Nugent)
reservedwords Lists q’s reserved words. (Simon Garland)
studio A rapid-development environment for q. (Charles Skelton)
tick Use instead of an RDB to append data to disk partition during day and use that to build historical partition at day end. (Simon Garland)
tickYahoo Jobs to download tick data from Yahoo! and save in q database. (Frédéric Délèze)
unparse Unparse parse tree for q. (patmok)
ws Workspace utilities for developers. Contains routines for searching functions within a workspace for one or more substrings. Functions can be specified explicitly or by referencing a parent namespace (in which case all functions in all namespaces below it are examined). (Leslie Goldsmith)


cryptopals Matasano Crypto Challenges. (Stephen Peck)
funq Functional Introduction to Machine Learning in q. (Nick Psaris)
game-of-life Conway’s Game of Life. (Tomas Celaya)
hypercalc From a q table, create a view with calculated columns. (Stevan Apter)
hypertree Recursive aggregating treetable and 3-D pivot table for hypergrid. (Stevan Apter)
kdb-euler Solutions to Euler’s problems. (Kim Tang)
kdblib Q scripts. (fadefy)
kxl Experimental spreadsheet UI. (Stephen Peck)
mlq Machine Learning for q. (Zak Oudrhiri)
projecteuler Solutions to Project Euler problems. (Morten Sorensen)
proto Implementing edsl. (Kim Tang)
qca Simple cellular automata. (James Neill)
qmandel Mandelbrot. (Gilles )
qnn Simple neural network. (Nickolas Bug)
qtips Source files for “Q Tips: Fast, Scalable and Maintainable Kdb+”. (Nick Psaris)
q_practice Quick reference guide for some q tasks. (Sam Kennerly)
secret-dubstep Time series and statistics. (jmiao3)


lib-math Math library. (Kim Tang)
options Option-pricing functions. (Zak Oudrhiri)
q-math Library of math functions. (dbyu)
ql.q Quantitative finance library. (Kim Tang)
qml A library for statistics, linear algebra, and optimization in q. It provides an interface between the q programming language and numerical libraries such as LAPACK. (Andrey Zholos)


broq Brotli file decompression. (Lucas Martin-King)
conn Hooks into .z.pc and .z.po for better connection handling. (Yang Guo)
jwt.q JSON Web Token signing and parsing for q. (Tomas Celaya)
kdb-jdbc Packaged dependencies of the JDBC driver & protocol/connection classes as provided at KxSystems/kdb/c. (Benjamin Conlan)
kdb-jfx-viewer (Making) q realtime viewer by JavaFX. (Naoki Yatsu)
kdb-protocol Packaged dependencies of the IPC protocol classes as provided at KxSystems/kdb/c. (Benjamin Conlan)
kdb-scripts Utilities. (Khoa Le)
kdbreport Convert a table to present as reports as email body. (Nitish Kumar)
kx Collection of code from code.kx.com and the lists. r is a small parser for RPN. g is to g.k as x is to xterm. sc dynamically calls functions by their address on AMD_64. (Jack Andrews)
qchart Plot data directly from q (using JavaScript). Works well with sublime-q. Transform your data into JSON and renders it into a HTML/JavaScript template. (Eugene Kononov)
qgz GZip decompression. (Lucas Martin-King)
qjson JSON output. (Daniel Nugent)
qrapidjson Rapid JSON serialiser. (Lucas Martin-King)
qutil Provides several different common utility functions. These currently include: an option-parsing facility as an alternative to .Q.opt; and a file-loading facility based on a pathlist and supporting version numbers. (Daniel Nugent)
timer Overwrites .z.ts to become a timer-based callback function. (Yang Guo)


dash Really fast (>100kq/sec) webserver for q and dashboard-making bits. (Geo Carncross)
qdash A port to q of the JavaScript Iodash utilities. (Samuel Alexander)
qmvp Q Minimum Viable Product is a barebones boiler-plate webserver that includes templating, serving from html/, index files, and logging. (Thomas Lackner)
qqq Useful functions for creating websites. (Thomas Lackner)
quagga An experiment in building a web-based development environment for q. (Thomas Lackner)
qwa Microservice that performs analytics duties for your website. (Thomas Lackner)