{"id":28149670,"url":"https://github.com/piquette/orderbook","last_synced_at":"2025-07-30T03:33:22.510Z","repository":{"id":45899485,"uuid":"228545247","full_name":"piquette/orderbook","owner":"piquette","description":"Efficient implementation of an exchange orderbook :bank: :zap: :book:","archived":false,"fork":false,"pushed_at":"2019-12-18T04:46:20.000Z","size":12,"stargazers_count":16,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T02:14:13.115Z","etag":null,"topics":["exchange","financial","financial-markets","fixprotocol","go","hft","matching-engine","trading"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piquette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-17T06:07:55.000Z","updated_at":"2024-05-13T09:25:05.000Z","dependencies_parsed_at":"2022-08-25T18:53:02.698Z","dependency_job_id":null,"html_url":"https://github.com/piquette/orderbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piquette/orderbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piquette%2Forderbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piquette%2Forderbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piquette%2Forderbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piquette%2Forderbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piquette","download_url":"https://codeload.github.com/piquette/orderbook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piquette%2Forderbook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267803984,"owners_count":24146527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exchange","financial","financial-markets","fixprotocol","go","hft","matching-engine","trading"],"created_at":"2025-05-15T02:14:13.346Z","updated_at":"2025-07-30T03:33:22.444Z","avatar_url":"https://github.com/piquette.png","language":"Go","readme":"# Orderbook\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/piquette/orderbook)](https://goreportcard.com/badge/github.com/piquette/orderbook)\n[![Build Status](https://travis-ci.org/piquette/orderbook.svg?branch=master)](https://travis-ci.org/piquette/orderbook)\n[![GoDoc](https://godoc.org/github.com/piquette/orderbook?status.svg)](https://godoc.org/github.com/piquette/orderbook)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Purpose\nThis project is intended as a way to build and explore the dynamics of performant orderbooks through implementing various data structures.\n\n## Caveats\nThere are some architectural caveats (simplifications) that are made here to keep things nice. Some of them are:\n\n* Concurrency is ignored here, operations on the order book are purely single-threaded and transactional.\n* Orders are added and matched in continuous-time and are valid until cancelled.\n* Prices are represented as integers for computational and educational simplicity.\n* Market orders and advanced order type logic is ignored, every order must be submitted at a specific price.\n\n\n## Book operations\n* Submit Order\n* Cancel Order\n* Get Top of Book\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiquette%2Forderbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiquette%2Forderbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiquette%2Forderbook/lists"}