11<p align =" center " >
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>
2+ <a href="https://www.npmjs.com/package/nodejs- order-book" target="_blank"><img src="https://img.shields.io/npm/v/nodejs- order-book?color=blue" alt="NPM Version"></a>
3+ <a href="https://github.com/fasenderos/nodejs- order-book/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/nodejs- order-book" alt="Package License"></a>
4+ <a href="https://www.npmjs.com/package/nodejs- order-book" target="_blank"><img src="https://img.shields.io/npm/dm/nodejs- order-book" alt="NPM Downloads"></a>
5+ <a href="https://circleci.com/gh/fasenderos/nodejs- order-book" target="_blank"><img src="https://img.shields.io/circleci/build/github/fasenderos/nodejs- order-book/main" alt="CircleCI" ></a>
6+ <a href="https://codecov.io/github/fasenderos/nodejs- order-book" target="_blank"><img src="https://img.shields.io/codecov/c/github/fasenderos/nodejs- order-book" alt="Codecov"></a>
7+ <a href="https://github.com/fasenderos/nodejs- 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,34 +27,34 @@ 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 =" order-book-benchmark " title =" order-book benchmark " />
30+ <img src =" https://user-images.githubusercontent.com/1219087/181792292-8619ee25-bf75-4871-a06c-bd6c82157f33.png " alt =" nodejs- order-book-benchmark" title =" nodejs- order-book benchmark" />
3131
3232## Installation
3333
3434Install with npm:
3535
3636``` sh
37- npm install order-book
37+ npm install nodejs- order-book
3838```
3939
4040Install with yarn:
4141
4242``` sh
43- yarn add order-book
43+ yarn add nodejs- order-book
4444```
4545
4646Install with pnpm:
4747
4848``` sh
49- pnpm add order-book
49+ pnpm add nodejs- order-book
5050```
5151
5252## Usage
5353
5454To start using order book you need to import ` OrderBook ` and create new instance:
5555
5656``` js
57- import { OrderBook } from ' order-book'
57+ import { OrderBook } from ' nodejs- order-book'
5858
5959const ob = new OrderBook ()
6060```
@@ -75,7 +75,7 @@ ob.cancel(orderID: string)
7575### Conditional Orders ![ Experimental] ( https://img.shields.io/badge/Experimental-blue )
7676The 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 ` .
7777``` js
78- import { OrderBook } from ' order-book'
78+ import { OrderBook } from ' nodejs- order-book'
7979
8080const ob = new OrderBook ({ experimentalConditionalOrders: true })
8181
0 commit comments