Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config generator - Getting 'NoneType' object has no attribute '_update_trading_rules' on backtest #213

Open
rapcmia opened this issue Dec 6, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@rapcmia
Copy link
Contributor

rapcmia commented Dec 6, 2024

Describe the bug

Did a quick adhoc tests on all connectors that support candles feed and found this behavior and has been reported by few of our community on discord

image

  • When we trigger the issue from deploy, it does not return any error on BE or Dashboard logs
  • This error can be reproduce on the following connectors:
    • Kraken, Hyperliquid spot and perpetual ❌

Steps to reproduce bug

  1. Setup deploy using helper script sh setup.sh
  2. Launch dashboard and go to Config Generator then PMM Simple controller
  3. Run backtesting on the connectors listed above
@rapcmia rapcmia added the bug Something isn't working label Dec 6, 2024
@VishyGo
Copy link

VishyGo commented Feb 6, 2025

where you able to find a solution for this ? i am encountering the exact same issue ?

@lgrawet
Copy link

lgrawet commented Feb 8, 2025

Yes this is still an issue also for me.

@lgrawet
Copy link

lgrawet commented Feb 9, 2025

More precisely, it is happening to me if I leave binance_paper_trade as connector for backtesting but not with binance connector.

@lgrawet
Copy link

lgrawet commented Feb 11, 2025

This is in fact an Hummingbot bug because the aforementioned exchange classes doesn't support the _update_trading_rules() method.

I have a similar problem with the get_trading_rules() method on binance_paper_trade called by the PositionExecutor with my own strategies.

It would be nice to fix this :-)

@lgrawet
Copy link

lgrawet commented Feb 11, 2025

Bug report filled : hummingbot/hummingbot#7434

@david-hummingbot
Copy link
Contributor

@lgrawet Paper trade does NOT work with the v2 framework / strategies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants