@icgio/icg-exchanges-wrapper 1.21.7 → 1.21.8

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.
@@ -857,11 +857,6 @@ module.exports = class Orders {
857
857
  if (!order_info) {
858
858
  return
859
859
  }
860
- const cancel_grace_window_ms = 15 * 1000
861
- const cancel_within_grace = order_info.close_time && Date.now() - order_info.close_time < cancel_grace_window_ms
862
- if (!cancel_within_grace) {
863
- this.log_terminal_divergence('open_orders', exchange, pair, order.order_id, order_info.status, 'N-FILLED')
864
- }
865
860
  const order_f_amount = round_amount(exchange, pair, order.f_amount)
866
861
  const order_info_f_amount = round_amount(exchange, pair, order_info.f_amount)
867
862
  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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.21.7",
3
+ "version": "1.21.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {