GithubHelp home page GithubHelp logo

piquette / orderbook Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 5.0 12 KB

Efficient implementation of an exchange orderbook :bank: :zap: :book:

License: MIT License

Go 100.00%
matching-engine financial exchange financial-markets go hft trading fixprotocol

orderbook's Introduction

Orderbook

Go Report Card Build Status GoDoc License: MIT

Purpose

This project is intended as a way to build and explore the dynamics of performant orderbooks through implementing various data structures.

Caveats

There are some architectural caveats (simplifications) that are made here to keep things nice. Some of them are:

  • Concurrency is ignored here, operations on the order book are purely single-threaded and transactional.
  • Orders are added and matched in continuous-time and are valid until cancelled.
  • Prices are represented as integers for computational and educational simplicity.
  • Market orders and advanced order type logic is ignored, every order must be submitted at a specific price.

Book operations

  • Submit Order
  • Cancel Order
  • Get Top of Book

orderbook's People

Contributors

ackleymi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

orderbook's Issues

question

Hello
I need an open source maching engine that can process sales orders that are placed in the database through the app, that is, I can finally create something like a binance.
Please advise that this engine of yours can run alongside my app? For example, the membership and wallet sections should be deposited or withdrawn in the my app, and only the trading section should be run in this maching engine?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.