Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ex-master/core

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ex-master/core - npm Package Compare versions

Comparing version 0.2.18 to 0.2.19

4

package.json
{
"name": "@ex-master/core",
"version": "0.2.18",
"version": "0.2.19",
"main": "bld/library/index.js",

@@ -29,3 +29,3 @@ "types": "bld/library/index.d.ts",

},
"gitHead": "1e65b8d263a62c9d375bf27cdcee3f98c6cef2ea"
"gitHead": "c90c81c7e8bfc1c42bdae8e6a5438bd4fa237df6"
}

@@ -252,2 +252,7 @@ import {EventEmitter} from 'events';

getMaxOrderSize({stock, money}: Market): Decimal {
let {maxOrderSize} = this.stockMoneyToMarketDataMap.get([stock, money])!;
return new Decimal(maxOrderSize || Infinity);
}
getMinPriceDiff({stock, money}: Market): Decimal {

@@ -254,0 +259,0 @@ let {precision} = this.stockMoneyToMarketDataMap.get([stock, money])!;

@@ -29,3 +29,4 @@ import {Decimal} from 'decimal.js';

precision: MarketPrecision;
minOrderSize: number | undefined;
maxOrderSize?: number;
minOrderSize?: number;
minOrderValue?: number;

@@ -32,0 +33,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc