@icgio/icg-exchanges-wrapper 1.14.87 → 1.14.89

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.
@@ -503,12 +503,11 @@ module.exports = class Orders {
503
503
  price: trade.price,
504
504
  amount: 0,
505
505
  f_amount: trade.amount,
506
- t_amount: trade.amount,
507
- f_percentage: 1,
506
+ f_percentage: trade.amount / order_info.t_amount,
508
507
  close_time: trade.close_time || new Date(),
509
508
  fees: trade.fees,
510
509
  },
511
- order_info.order_type + ' canceled-order-filled(more)'
510
+ order_info.order_type + ' canceled-order-filled(-more)'
512
511
  )
513
512
  setTimeout(() => {
514
513
  this.delete_order_info(exchange, pair, type, order_id, order_info.order_type + ' canceled-order-filled(-more)')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.14.87",
3
+ "version": "1.14.89",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {