@icgio/icg-exchanges-wrapper 1.21.14 → 1.21.15

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.
@@ -766,6 +766,7 @@ module.exports = class Orders {
766
766
  continue
767
767
  }
768
768
  if (exchange_status === 'N-FILLED') continue
769
+ if (local_order.status === 'F-FILLED' && exchange_status === 'F-FILLED') continue
769
770
  const local_filled_amount = round_amount(exchange, pair, local_order.f_amount || 0)
770
771
  const polled_filled_amount = round_amount(exchange, pair, polled_order.f_amount || 0)
771
772
  const compare_total = round_amount(exchange, pair, local_order.t_amount || polled_order.t_amount || 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.21.14",
3
+ "version": "1.21.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {