|
|
@@ -726,7 +726,7 @@ class Strategy(Strategy):
|
|
|
quote_symbol: max(float(quote_total or 0.0), 0.0),
|
|
|
}
|
|
|
|
|
|
- spendable_total = self._resource_total_for_side(side, base_total, quote_total) * 0.995
|
|
|
+ spendable_total = self._resource_total_for_side(side, base_total, quote_total)
|
|
|
total_cost = 0.0
|
|
|
planned_orders = []
|
|
|
skipped = []
|
|
|
@@ -1120,7 +1120,7 @@ class Strategy(Strategy):
|
|
|
target_buy = int((planned_grid.get("counts") or {}).get("buy") or 0)
|
|
|
target_sell = int((planned_grid.get("counts") or {}).get("sell") or 0)
|
|
|
balance_shape_inconclusive = bool(self.state.get("balance_shape_inconclusive"))
|
|
|
- # Shape means side counts here. Exact ids are handled by the tracked-order path below.
|
|
|
+ # Shape means the best funded per-side grid, not a fixed paired layout.
|
|
|
grid_not_as_expected = current_buy != target_buy or current_sell != target_sell
|
|
|
|
|
|
if balance_shape_inconclusive:
|