11<p align =" center " >
2- <a href="https://www.npmjs.com/package/hft-limit- order-book" target="_blank"><img src="https://img.shields.io/npm/v/hft-limit- order-book?color=blue" alt="NPM Version"></a>
3- <a href="https://github.com/fasenderos/hft-limit- order-book/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/hft-limit- order-book" alt="Package License"></a>
4- <a href="https://www.npmjs.com/package/hft-limit- order-book" target="_blank"><img src="https://img.shields.io/npm/dm/hft-limit- order-book" alt="NPM Downloads"></a>
5- <a href="https://circleci.com/gh/fasenderos/hft-limit- order-book" target="_blank"><img src="https://img.shields.io/circleci/build/github/fasenderos/hft-limit- order-book/main" alt="CircleCI" ></a>
6- <a href="https://codecov.io/github/fasenderos/hft-limit- order-book" target="_blank"><img src="https://img.shields.io/codecov/c/github/fasenderos/hft-limit- order-book" alt="Codecov"></a>
7- <a href="https://github.com/fasenderos/hft-limit- order-book"><img src="https://badgen.net/badge/icon/typescript?icon=typescript&label" alt="Built with TypeScript"></a>
2+ <a href="https://www.npmjs.com/package/order-book" target="_blank"><img src="https://img.shields.io/npm/v/order-book?color=blue" alt="NPM Version"></a>
3+ <a href="https://github.com/fasenderos/order-book/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/order-book" alt="Package License"></a>
4+ <a href="https://www.npmjs.com/package/order-book" target="_blank"><img src="https://img.shields.io/npm/dm/order-book" alt="NPM Downloads"></a>
5+ <a href="https://circleci.com/gh/fasenderos/order-book" target="_blank"><img src="https://img.shields.io/circleci/build/github/fasenderos/order-book/main" alt="CircleCI" ></a>
6+ <a href="https://codecov.io/github/fasenderos/order-book" target="_blank"><img src="https://img.shields.io/codecov/c/github/fasenderos/order-book" alt="Codecov"></a>
7+ <a href="https://github.com/fasenderos/order-book"><img src="https://badgen.net/badge/icon/typescript?icon=typescript&label" alt="Built with TypeScript"></a>
88</p >
99
1010# Node.js Order Book
@@ -27,28 +27,28 @@ Ultra-fast Node.js Order Book written in TypeScript for high-frequency trading (
2727
2828** Machine:** ASUS ExpertBook, 11th Gen Intel(R) Core(TM) i7-1165G7, 2.80Ghz, 16GB RAM, Node.js v18.4.0.
2929
30- <img src =" https://user-images.githubusercontent.com/1219087/181792292-8619ee25-bf75-4871-a06c-bd6c82157f33.png " alt =" hft-limit- order-book-benchmark" title =" hft-limit- order-book benchmark" />
30+ <img src =" https://user-images.githubusercontent.com/1219087/181792292-8619ee25-bf75-4871-a06c-bd6c82157f33.png " alt =" order-book-benchmark " title =" order-book benchmark " />
3131
3232## Installation
3333
3434Install with npm:
3535
3636``` sh
37- npm install hft-limit- order-book --save
37+ npm install order-book --save
3838```
3939
4040Install with yarn:
4141
4242``` sh
43- yarn add hft-limit- order-book
43+ yarn add order-book
4444```
4545
4646## Usage
4747
4848To start using order book you need to import ` OrderBook ` and create new instance:
4949
5050``` js
51- import { OrderBook } from ' hft-limit- order-book'
51+ import { OrderBook } from ' order-book'
5252
5353const ob = new OrderBook ()
5454```
@@ -69,7 +69,7 @@ ob.cancel(orderID: string)
6969### Conditional Orders ![ Experimental] ( https://img.shields.io/badge/Experimental-blue )
7070The version ` v6.1.0 ` introduced support for Conditional Orders ` Stop Market ` , ` Stop Limit ` and ` OCO ` . Even though the test coverage for these new features is at 100%, they are not yet considered stable because they have not been tested with real-world scenarios. For this reason, if you want to use conditional orders, you need to instantiate the order book with the ` experimentalConditionalOrders ` option set to ` true ` .
7171``` js
72- import { OrderBook } from ' hft-limit- order-book'
72+ import { OrderBook } from ' order-book'
7373
7474const ob = new OrderBook ({ experimentalConditionalOrders: true })
7575
0 commit comments