Skip to content

Ticker - Solana polling fails because Gateway lacks the symbol-map method #214

Open

Description

@rapcmia

Describe the bug

While testing #206 alongside the related manage_amm update, Solana ticker polling repeatedly failed for solana-mainnet-beta. The error appeared about every 30 seconds:

2026-08-07 15:33:42,969 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:34:14,411 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:34:44,673 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:35:14,984 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:35:45,233 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:36:16,550 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:36:46,820 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:37:17,159 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:37:47,448 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:38:18,659 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'
2026-08-07 15:38:48,939 - services.ticker_sources - WARNING - Failed to fetch tickers for 'solana-mainnet-beta': 'solana-mainnet-beta': failed to load the trading pair symbol map: 'Gateway' object has no attribute 'trading_pair_symbol_map'

This prevents the generic ticker service from loading Solana ticker data. The AMM Gateway operations tested separately still work, so the problem appears limited to the shared ticker-source path.

The local main workspace shows that ticker update commit 59cf7ab added a call to connector.trading_pair_symbol_map(). The same ticker-source code is present in the hummingbot-api/206 workspace and running hummingbot/hummingbot-api:206 container, while the Solana Gateway connector does not provide that method. Because this code is shared with main, the failure appears unrelated to the manage_amm update; the AMM change only provided the testing context in which the existing ticker issue was observed.

Steps to reproduce bug

  1. Setup the feat(gateway): AMM liquidity + pool-creation endpoints (/gateway/amm/*) #206 with the Solana Gateway connector available pref gateway/671.
  2. Enable or wait for the ticker-source polling cycle for solana-mainnet-beta.
  3. Check the Hummingbot API logs.
  4. Observe repeated failures stating that the Gateway object has no attribute trading_pair_symbol_map.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions