GithubHelp home page GithubHelp logo

manhluna / exchangeengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyobyun/exchangeengine

0.0 1.0 0.0 123 KB

A market exchange engine with order matching created in Node.js

JavaScript 100.00%

exchangeengine's Introduction

Build Status Coverage Status

Exchange Engine

A general purpose exchange engine written in Node.js. Minimum functionality has been implemented, however, more features & documentation are planned.

Current Implemented Features

  • Limit Orders
  • Market Orders
  • FIFO Order Matching

Benchmarking

The benchmarks below were done with a MPBr 2.3 GHz Intel Core with a randomized order adding and execution. See benchmark.js for more details. As expected, performance depends on how many limit orders are sitting in the books. I plan on publishing a more formal benchmark report later. A Transaction is a new limit or market order added to the book that may result in a trade.

Book Size Transactions/Second
100 219,257
500 56,879
1,000 26,894
10,000 2,171

Dependencies

  • Node.js + npm

Installation

  1. git clone https://github.com/hyobyun/exchangeengine.git
  2. cd to the repository directory exchangeengine cd exchangeengine
  3. npm install

Unit test

npm test

exchangeengine's People

Contributors

hyobyun avatar

Watchers

 avatar

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.