ccxt 4.1.19 → 4.1.22

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.
@@ -2774,7 +2774,7 @@ class bybit extends bybit$1 {
2774
2774
  const feeToken = this.safeString(trade, 'feeTokenId');
2775
2775
  const feeCurrency = this.safeCurrencyCode(feeToken);
2776
2776
  fee = {
2777
- 'cost': Precise["default"].stringAbs(feeCost),
2777
+ 'cost': feeCost,
2778
2778
  'currency': feeCurrency,
2779
2779
  };
2780
2780
  }
@@ -2940,7 +2940,7 @@ class bybit extends bybit$1 {
2940
2940
  feeCurrencyCode = market['inverse'] ? market['base'] : market['settle'];
2941
2941
  }
2942
2942
  fee = {
2943
- 'cost': Precise["default"].stringAbs(feeCostString),
2943
+ 'cost': feeCostString,
2944
2944
  'currency': feeCurrencyCode,
2945
2945
  };
2946
2946
  }
@@ -1361,6 +1361,7 @@ class krakenfutures extends krakenfutures$1 {
1361
1361
  'type': this.parseOrderType(type),
1362
1362
  'timeInForce': timeInForce,
1363
1363
  'postOnly': type === 'post',
1364
+ 'reduceOnly': this.safeValue(details, 'reduceOnly'),
1364
1365
  'side': this.safeString(details, 'side'),
1365
1366
  'price': price,
1366
1367
  'stopPrice': this.safeString(details, 'triggerPrice'),