Skip to content

propose new bots in condor: multigrid strike, arbitrage,dman,xemm#46

Open
pierluigipanariello wants to merge 1 commit intohummingbot:mainfrom
pierluigipanariello:main
Open

propose new bots in condor: multigrid strike, arbitrage,dman,xemm#46
pierluigipanariello wants to merge 1 commit intohummingbot:mainfrom
pierluigipanariello:main

Conversation

@pierluigipanariello
Copy link
Copy Markdown

@pierluigipanariello pierluigipanariello commented Mar 22, 2026

Good morning, I wanted to share some improvements I've made to Condor.
I've added the following bots:
Arbitrage_controller
dman_v3
multi_grid_strike
xemm_multiple_levels

All of which relate to the relevant controllers in hummingbot-api.
I've also attached some images.
Schermata del 2026-03-22 11-12-22
Schermata del 2026-03-22 11-13-47
Schermata del 2026-03-22 11-14-56
Schermata del 2026-03-22 11-15-41
Schermata del 2026-03-22 11-16-32
Schermata del 2026-03-22 11-16-58
Schermata del 2026-03-22 11-17-41

@pierluigipanariello
Copy link
Copy Markdown
Author

controller_handlers.py
the controller_handler.py attached is a new version that solve problem in (xemm,arb,dman,mgs) when insert total amount by keyboard

Copy link
Copy Markdown
Contributor

@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contribution! @rapcmia let's test it

@rapcmia
Copy link
Copy Markdown
Contributor

rapcmia commented Mar 24, 2026

Commit ee2a11c

  • Build local docker image and start using make deploy
    image
  • Got same error on source when using make run
    (base) eddga :: hummingbot/condor/46 ‹main*› » make run
    uv run python main.py
    Traceback (most recent call last):
      File "/home/eddga/hummingbot/condor/46/main.py", line 574, in <module>
        main()
        ~~~~^^
      File "/home/eddga/hummingbot/condor/46/main.py", line 561, in main
        register_handlers(application)
        ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
      File "/home/eddga/hummingbot/condor/46/main.py", line 227, in register_handlers
        from handlers.bots import (
        ...<4 lines>...
        )
      File "/home/eddga/hummingbot/condor/46/handlers/bots/__init__.py", line 24, in <module>
        from .archived import (
        ...<6 lines>...
        )
      File "/home/eddga/hummingbot/condor/46/handlers/bots/archived.py", line 25, in <module>
        from ._shared import get_bots_client, get_cached, set_cached
      File "/home/eddga/hummingbot/condor/46/handlers/bots/_shared.py", line 30, in <module>
        from .controllers import SUPPORTED_CONTROLLERS, get_controller
      File "/home/eddga/hummingbot/condor/46/handlers/bots/controllers/__init__.py", line 15, in <module>
        from .arbitrage_controller import ArbitrageControllerController
      File "/home/eddga/hummingbot/condor/46/handlers/bots/controllers/arbitrage_controller/__init__.py", line 8, in <module>
        from .config import DEFAULTS, EDITABLE_FIELDS, FIELD_ORDER, FIELDS, generate_id, validate_config
    ModuleNotFoundError: No module named 'handlers.bots.controllers.arbitrage_controller.config'
    make: *** [Makefile:41: run] Error 1
    

@pierluigipanariello
Copy link
Copy Markdown
Author

Updates Made

I've fixed the reported issues (added arbitrage_controller/config.py) and added new controllers. Here are the details:

Newly Added Controllers:

  • anti_folla_v1 - Contrarian strategy (VWAP, Donchian, OBV divergence, OBI, Volume Spike)
  • macd_bb_v1 - MACD + Bollinger Bands for directional trading
  • supertrend_v1 - SuperTrend indicator with confirmation

Fixes Applied:

  • ✅ Fixed trailing_stop inconsistency between DEFAULTS and FIELDS
  • ✅ Added cross-period validation (BB length >= MACD slow)
  • ✅ Fixed perpetual candles (using spot connector for candles)
  • ✅ Fixed MarkdownV2 error "can't find end of code entity"
  • ✅ Added caption truncation for photos (max 950 characters)
  • ✅ Added try/except for back navigation from photos (like DMan V3)

Tests Performed:

  • ✅ Full wizard flows for all controllers
  • ✅ Charts generated correctly (spot and perpetual)
  • ✅ Back navigation working
  • ✅ Automatic analysis with strategy suggestions

PR Updated:

Let me know if there are any other issues to resolve. Thanks!

@rapcmia
Copy link
Copy Markdown
Contributor

rapcmia commented Mar 31, 2026

Commit 38f535b

  • Build local docker image successfully and start condor make deploy
  • Found some syntax warning related to invalid escape sequences ❌
    image
    • despite having these warnings, condor seem to start ok

Build local docker image and start using make deploy ❌

  • This is fixed ✅
  • /new bots window display all controller configs
    image

Test in progress

  • Multi GS, PMM v1, Arbitrage, XEMM multi levels

@rapcmia
Copy link
Copy Markdown
Contributor

rapcmia commented Mar 31, 2026

Test generic.multi_grid_strike

  • These buttons does not do anything ❗
    image
  • When editing the controller config, the parameters does not match or missing the other grid ❌
    image
  • Successfully deployed and archived bot ✅

Test directional_trading.dman_v3 ✅

  • Created and deployed controller config successfully
  • Successfully update controller config

Test generic.arbitrage

  • Setup with gateway connector
  • On arbitrage setup, after adding the CEX trading pair (okx) it does not prompt for the DEX trading pair ❌
    image
    • This resulted to jupiter/router getting the same market pair
    • rate_connector automatically set to the CEX connector selected, on my case id like to always make it default binance
  • Updating controller-config
    image
    • Successfully updated controller config ✅
    • Successfully deployed and archived bot ✅

@pierluigipanariello
Copy link
Copy Markdown
Author

correct error (select pair in cex and in dex ), removed fake button ,solved minor error

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.

3 participants