@icgio/icg-exchanges-wrapper 1.14.94 → 1.14.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -650,6 +650,7 @@ module.exports = class Orders {
650
650
  open_orders[exchange][pair].open_orders.map((order) => {
651
651
  if (_.get(this.order_info, [exchange, pair, order.type, order.order_id])) {
652
652
  let order_info = this.order_info[exchange][pair][order.type][order.order_id]
653
+ order.f_amount = round_amount(_.upperFirst(exchange.replace('_2', '')), pair, order.f_amount)
653
654
  if (_.includes(['N-FILLED', 'P-FILLED'], order_info.status) && order.f_amount > order_info.f_amount && order.f_amount / order_info.t_amount > this.f_filled_threshold) {
654
655
  // this.info_log('ORDERS: %s %s ORDER F-FILLED', exchange, pair)
655
656
  this.update_order_info(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.14.94",
3
+ "version": "1.14.95",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {