Skip to content

feat: add batch trade panel - #1044

Merged
Chucks1093 merged 2 commits into
accesslayerorg:devfrom
Killerjunior:codex/1029-batch-trade-ui
Sep 28, 2026
Merged

Chucks1093 merged 2 commits into
accesslayerorg:devfrom
Killerjunior:codex/1029-batch-trade-ui

Conversation

@Killerjunior

Copy link
Copy Markdown
Contributor

Summary

Closes #1029

  • Replace the header’s Batch Buy entry point with a Batch Trade panel for queuing buys and sells across creator keys.
  • Add per-order quantity and slippage controls, order removal, sell-holdings validation, and estimated buy cost and fees.
  • Show per-order execution results with a transaction hash.

Testing

  • pnpm lint — not run
  • pnpm build — blocked: dependencies were unavailable and registry access failed

Checklist

@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@Killerjunior Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 13cd26b into accesslayerorg:dev Sep 28, 2026
1 check passed
Unclebaffa added a commit to Unclebaffa/accesslayer-client that referenced this pull request Sep 28, 2026
…esslayerorg#1015 holding cap PR

After the large dev rebase (20+ PRs merged including holding cap accesslayerorg#1015, batch trade accesslayerorg#1044, cooldown accesslayerorg#1043), several issues were introduced in BuySellKeyFlow and TradeDialog:

- TradeDialog.tsx: priceImpactPercent guard was changed to currentSupply <= 0, incorrectly blocking valid impact calculations at supply=0 (new bonding curves). Reverted to < 0 to match calculateTradePriceImpact's own guard. Fixes 4 failing circuit breaker tests.
- BuySellKeyFlow.tsx: Unused HoldingCapIndicator import and dead isCapLimitReached/isCapBreached/isCapExceeded useMemo blocks added but never rendered. Removed to fix ESLint no-unused-vars errors.
- TradeDialog.tsx: Unused isCapExceeded combined variable removed (isCapLimitReached and isCapBreached used directly).
- course.service.ts: holdingCap and maxHoldingCap properties missing from KeyConfig interface despite being accessed via keyConfig?.holdingCap in both BuySellKeyFlow and TradeDialog. Added with correct JSDoc (accesslayerorg#1015).

Result: 31/31 circuit breaker tests pass, lint 0 errors, 0 TypeScript errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build batch trade UI for executing multi-key buy and sell in one transaction

2 participants