Skip to content

Instantly share code, notes, and snippets.

View maxgillett's full-sized avatar

Max Gillett maxgillett

View GitHub Profile
@maxgillett
maxgillett / engine.c
Created October 20, 2023 22:52 — forked from druska/engine.c
Quant Cup 1's winning order book implementation
/*****************************************************************************
* QuantCup 1: Price-Time Matching Engine
*
* Submitted by: voyager
*
* Design Overview:
* In this implementation, the limit order book is represented using
* a flat linear array (pricePoints), indexed by the numeric price value.
* Each entry in this array corresponds to a specific price point and holds
* an instance of struct pricePoint. This data structure maintains a list
@maxgillett
maxgillett / vim.rb
Last active December 14, 2015 00:48 — forked from mgrouchy/vim.rb
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
head 'https://vim.googlecode.com/hg/'
url 'http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.225.orig.tar.gz'
sha1 '674fafec19e24f75113c9f5a8440a85e8e636c3e'
def features; %w(tiny small normal big huge) end