Add SwapExecutor support#136
Closed
fengtality wants to merge 17 commits intomainfrom
Closed
Conversation
Split the single api_route handler into separate handlers for each HTTP method (GET, POST, PUT, DELETE, PATCH) with explicit operation_ids. This ensures unique operation IDs in the OpenAPI schema. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Register SwapExecutor in EXECUTOR_REGISTRY - Add swap_executor to available executor types Requires: hummingbot/hummingbot#8117 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fengtality
added a commit
to hummingbot/mcp
that referenced
this pull request
Mar 11, 2026
- Add swap_executor guide with documentation - Update gateway_swap execute action to use swap_executor instead of direct gateway calls (provides retry logic and tracking) - Add swap_executor to executor types and preferences - Add account_name parameter to GatewaySwapRequest schema - Update connector format documentation (jupiter/router) Requires: hummingbot/hummingbot#8117, hummingbot/hummingbot-api#136 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3 tasks
fengtality
added a commit
to hummingbot/condor
that referenced
this pull request
Mar 11, 2026
- Add SWAP_EXECUTOR_DEFAULTS with jupiter/router connector - Update get_executor_type() to recognize swap and lp executor types - Update init_new_executor_config() to handle swap executors This enables swap executors to be displayed correctly in the executors menu. A full swap wizard can be added in a future PR. Requires: hummingbot/hummingbot#8117, hummingbot/hummingbot-api#136 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2 tasks
Tokens are available immediately after adding - no Gateway restart needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
Verify swap_executor appears in
|
rapcmia
approved these changes
Mar 13, 2026
Gateway templates use placeholder addresses like '<ethereum-wallet-address>' which cause errors when the API tries to fetch balances. Now detects and skips these placeholder patterns. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Issue #129: Restore deploy-v2-script endpoint - Add V2ScriptDeployment model for script-based bot deployment - Add POST /bot-orchestration/deploy-v2-script endpoint - Track bot runs in database for script deployments Issue #124: Add set-default wallet functionality - Add set_default parameter to POST /accounts/gateway/add-wallet (default: true) - Add POST /gateway/wallets/set-default endpoint to change default wallet - Add set_default_wallet method to GatewayClient Also: - Enable CLMM add/remove liquidity endpoints (uncommented) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Moved from /gateway/wallets/* to /accounts/gateway/wallet/*: - POST /accounts/gateway/wallet/create - POST /accounts/gateway/wallet/show-private-key - POST /accounts/gateway/wallet/send - POST /accounts/gateway/wallet/set-default This consolidates all account/wallet management under the Accounts router. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace debug print statements with proper logging. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Consistent endpoint naming for all wallet operations under /accounts/gateway/wallet/*. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…/{chain}/{address}
Consistent endpoint naming for all wallet operations.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Logical grouping: add -> set-default -> delete -> create -> show-private-key -> send Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reverts the endpoint moves from PR #131 to save for a different PR: - POST /gateway/wallets/create (stays in gateway.py) - POST /gateway/wallets/show-private-key (stays in gateway.py) - POST /gateway/wallets/send (stays in gateway.py) - GET /accounts/gateway/wallets (back to accounts.py) - POST /accounts/gateway/add-wallet (back to accounts.py) - DELETE /accounts/gateway/{chain}/{address} (back to accounts.py) - POST /accounts/gateway/wallet/set-default (new, in accounts.py) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reverted unnecessary function name changes: - create_gateway_wallet -> create_wallet - show_gateway_wallet_private_key -> show_private_key - send_gateway_wallet_transaction -> send_transaction Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add get_bot_lp_history() method to BotsOrchestrator
- Add GET /{bot_name}/lphistory endpoint to bot_orchestration router
- Add "lphistory" to known MQTT command channels
Returns LP-specific data: position_address, order_action, fees collected,
price ranges, and amounts for AMM/CLMM strategies like Meteora.
Fixes #132
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add swap_executor to EXECUTOR_TYPES for single swaps via Gateway - Add swap_executor example in CreateExecutorRequest - Handle swap_executor using network instead of connector_name - Make trading_pair optional for lp_executor (resolved from pool_address) - Update lp_executor example with simplified config Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dependencies
Test plan
/executors/types/available/executors/🤖 Generated with Claude Code