@ex-master/core
Advanced tools
Comparing version 0.2.18 to 0.2.19
{ | ||
"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 @@ } |
125915
2582