@t2000/sdk 0.17.26 → 0.17.27
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.
- package/dist/t2000.js +1 -1
- package/package.json +1 -1
package/dist/t2000.js
CHANGED
|
@@ -1264,7 +1264,7 @@ export class T2000 extends EventEmitter {
|
|
|
1264
1264
|
// -- Invest Rebalance --
|
|
1265
1265
|
async investRebalance(opts = {}) {
|
|
1266
1266
|
this.enforcer.assertNotLocked();
|
|
1267
|
-
const minDiff = opts.minYieldDiff ?? 0.
|
|
1267
|
+
const minDiff = opts.minYieldDiff ?? 0.1;
|
|
1268
1268
|
const positions = this.portfolio.getPositions().filter((p) => p.earning && p.earningProtocol);
|
|
1269
1269
|
if (positions.length === 0) {
|
|
1270
1270
|
return { executed: false, moves: [], totalGasCost: 0, skipped: [] };
|