Repository navigation
Ticker - Solana polling fails because Gateway lacks the symbol-map method #214
Description
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
- Setup the feat(gateway): AMM liquidity + pool-creation endpoints (/gateway/amm/*) #206 with the Solana Gateway connector available pref gateway/671.
- Enable or wait for the ticker-source polling cycle for
solana-mainnet-beta. - Check the Hummingbot API logs.
- Observe repeated failures stating that the
Gatewayobject has no attributetrading_pair_symbol_map.
Activity