Fix backtests and indicators

This commit is contained in:
2025-10-16 20:06:47 +07:00
parent f49f75ede0
commit d6122aeb27
8 changed files with 60 additions and 60 deletions

View File

@@ -723,13 +723,13 @@ fi
SCRIPT_SIZE=$(wc -l < "$MIGRATION_SCRIPT")
echo "📄 Migration script contains $SCRIPT_SIZE lines"
# Show first 20 lines as preview
# Show last 20 lines as preview
echo ""
echo "📋 PREVIEW (first 20 lines):"
echo "📋 PREVIEW (last 20 lines):"
echo "----------------------------------------"
head -20 "$MIGRATION_SCRIPT" | sed 's/^/ /'
tail -20 "$MIGRATION_SCRIPT" | sed 's/^/ /'
if [ "$SCRIPT_SIZE" -gt 20 ]; then
echo " ... (showing first 20 lines of $SCRIPT_SIZE total)"
echo " ... (showing last 20 lines of $SCRIPT_SIZE total)"
fi
echo "----------------------------------------"
echo ""