Repository Analysis

hummingbot/hummingbot

Open source software that helps you create and deploy high-frequency crypto trading bots

45.6 Strong AI signal View on GitHub
45.6
Adjusted Score
45.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
18,744
Stars
Python
Language
363,601
Lines of Code
1599
Files
12493
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 71HIGH 800MEDIUM 381LOW 11241

Pattern Findings

12493 matches across 16 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers9612 hits · 9103 pts
SeverityFileLineSnippet
LOWhummingbot/core/connector_manager.py195 async def update_connector_balances(self, connector_name: str):
LOWhummingbot/core/trading_core.py128 def _create_config_adapter_from_dict(self, config_dict: Dict[str, Any]) -> ClientConfigAdapter:
LOWhummingbot/core/trading_core.py256 def _initialize_metrics_for_connector(self, connector: ExchangeBase, connector_name: str):
LOWhummingbot/core/trading_core.py329 def initialize_markets_recorder(self, db_name: str = None):
LOWhummingbot/core/trading_core.py510 async def _initialize_regular_strategy(self):
LOWhummingbot/core/trading_core.py518 async def _start_strategy_execution(self):
LOWhummingbot/core/trading_core.py604 async def cancel_outstanding_orders(self) -> bool:
LOWhummingbot/core/trading_core.py620 def _initialize_markets_for_strategy(self):
LOWhummingbot/core/trading_core.py740 async def calculate_performance_metrics_by_connector_pair(self, trades: List[TradeFill]) -> List[PerformanceMetrics]
LOWhummingbot/core/web_assistant/rest_assistant.py62 async def execute_request_and_get_response(
LOWhummingbot/core/utils/estimate_fee.py49def build_perpetual_trade_fee(
LOWhummingbot/core/utils/trading_pair_fetcher.py35 def _fetch_pairs_from_connector_setting(
LOWhummingbot/core/utils/gateway_config_utils.py72def build_connector_tokens_display(connectors_chain_network: List[Dict[str, Any]]) -> pd.DataFrame:
LOWhummingbot/core/utils/gateway_config_utils.py89def build_balances_allowances_display(symbols: List[str], balances: List[str], allowances: List[str]) -> pd.DataFrame:
LOWhummingbot/core/utils/gateway_config_utils.py107def build_config_dict_display(lines: List[str], config_dict: Dict[str, Any], level: int = 0):
LOWhummingbot/core/utils/gateway_config_utils.py131def build_config_namespace_keys(namespace_keys: List[str], config_dict: Dict[str, Any], prefix: str = ""):
LOWhummingbot/core/utils/tracking_nonce.py55def get_tracking_nonce_low_res() -> int:
LOWhummingbot/core/rate_oracle/rate_oracle.py103 def _get_rate_from_connectors(self, pair: str) -> Optional[Decimal]:
LOW…ingbot/core/rate_oracle/sources/gate_io_rate_source.py56 def _build_gate_io_connector_without_private_keys() -> 'GateIoExchange':
LOW…ot/core/rate_oracle/sources/hyperliquid_rate_source.py51 def _build_hyperliquid_connector_without_private_keys() -> 'HyperliquidExchange':
LOWhummingbot/core/rate_oracle/sources/mexc_rate_source.py73 def _build_mexc_connector_without_private_keys() -> 'MexcExchange':
LOW…ingbot/core/rate_oracle/sources/binance_rate_source.py73 def _build_binance_connector_without_private_keys(domain: str) -> 'BinanceExchange':
LOW…/rate_oracle/sources/pacifica_perpetual_rate_source.py51 def _build_pacifica_connector_without_private_keys() -> 'PacificaPerpetualDerivative':
LOW…re/rate_oracle/sources/evedex_perpetual_rate_source.py51 def _build_evedex_perpetual_connector_without_private_keys() -> 'EvedexPerpetualDerivative':
LOW…ingbot/core/rate_oracle/sources/dexalot_rate_source.py47 def _build_dexalot_connector_without_private_keys() -> 'DexalotExchange':
LOWhummingbot/core/rate_oracle/sources/cube_rate_source.py77 def _build_cube_connector_without_private_keys(domain: str) -> 'CubeExchange':
LOW…mingbot/core/rate_oracle/sources/derive_rate_source.py49 def _build_derive_connector_without_private_keys() -> 'DeriveExchange':
LOW…_oracle/sources/coinbase_advanced_trade_rate_source.py69 def _build_coinbase_connector(self, domain: str = DEFAULT_DOMAIN) -> 'CoinbaseAdvancedTradeExchange':
LOW…gbot/core/rate_oracle/sources/ascend_ex_rate_source.py41 def _build_ascend_ex_connector_without_private_keys() -> 'AscendExExchange':
LOW…mingbot/core/rate_oracle/sources/kucoin_rate_source.py45 def _build_kucoin_connector_without_private_keys() -> 'KucoinExchange':
LOW…bot/core/rate_oracle/sources/coin_gecko_rate_source.py148 async def _get_coin_gecko_prices_by_page(self,
LOW…bot/core/rate_oracle/sources/coin_gecko_rate_source.py172 async def _get_coin_gecko_extra_token_prices(self, vs_currency: str) -> Dict[str, Decimal]:
LOW…te_oracle/sources/hyperliquid_perpetual_rate_source.py53 def _build_hyperliquid_perpetual_connector_without_private_keys() -> 'HyperliquidPerpetualDerivative':
LOWhummingbot/core/rate_oracle/sources/aevo_rate_source.py58 def _build_aevo_connector_without_private_keys() -> 'AevoPerpetualDerivative':
LOWhummingbot/core/event/events.py173 def order_filled_events_from_order_book_rows(
LOWhummingbot/core/event/events.py202 def order_filled_event_from_binance_execution_report(cls, execution_report: Dict[str, any]) -> "OrderFilledEvent":
LOW…ngbot/core/data_type/order_book_tracker_data_source.py36 def order_book_create_function(self) -> Callable[[], OrderBook]:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py40 def order_book_create_function(self, func: Callable[[], OrderBook]):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py96 async def listen_for_order_book_diffs(self, ev_loop: asyncio.AbstractEventLoop, output: asyncio.Queue):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py115 async def listen_for_order_book_snapshots(self, ev_loop: asyncio.AbstractEventLoop, output: asyncio.Queue):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py158 async def _request_order_book_snapshots(self, output: asyncio.Queue):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py176 async def _parse_order_book_diff_message(self, raw_message: Dict[str, Any], message_queue: asyncio.Queue):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py185 async def _parse_order_book_snapshot_message(self, raw_message: Dict[str, Any], message_queue: asyncio.Queue):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py197 async def _connected_websocket_assistant(self) -> WSAssistant:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py213 def _channel_originating_message(self, event_message: Dict[str, Any]) -> str:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py223 async def _process_message_for_unknown_channel(
LOW…ngbot/core/data_type/order_book_tracker_data_source.py235 async def _process_websocket_messages(self, websocket_assistant: WSAssistant):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py251 async def _on_order_stream_interruption(self, websocket_assistant: Optional[WSAssistant] = None):
LOW…ngbot/core/data_type/order_book_tracker_data_source.py282 async def subscribe_to_trading_pair(self, trading_pair: str) -> bool:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py293 async def unsubscribe_from_trading_pair(self, trading_pair: str) -> bool:
LOW…gbot/core/data_type/user_stream_tracker_data_source.py60 async def _connected_websocket_assistant(self) -> WSAssistant:
LOW…gbot/core/data_type/user_stream_tracker_data_source.py76 async def _process_websocket_messages(self, websocket_assistant: WSAssistant, queue: asyncio.Queue):
LOW…gbot/core/data_type/user_stream_tracker_data_source.py85 async def _on_user_stream_interruption(self, websocket_assistant: Optional[WSAssistant]):
LOWhummingbot/core/data_type/in_flight_order.py173 def is_pending_cancel_confirmation(self) -> bool:
LOWhummingbot/core/data_type/in_flight_order.py377 async def wait_until_completely_filled(self):
LOWhummingbot/core/data_type/in_flight_order.py380 def check_processed_by_exchange_condition(self):
LOWhummingbot/core/data_type/in_flight_order.py384 async def wait_until_processed_by_exchange(self):
LOWhummingbot/core/data_type/in_flight_order.py387 def build_order_created_message(self) -> str:
LOWhummingbot/core/data_type/in_flight_order.py396 def build_order_created_message(self) -> str:
LOWhummingbot/core/data_type/funding_info.py45 def next_funding_utc_timestamp(self) -> int:
9552 more matches not shown…
Cross-File Repetition733 hits · 3665 pts
SeverityFileLineSnippet
HIGH…ngbot/core/data_type/order_book_tracker_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…r/exchange/bing_x/bing_x_api_order_book_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…ector/exchange/cube/cube_api_order_book_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…tor/exchange/bybit/bybit_api_order_book_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…r/exchange/vertex/vertex_api_order_book_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…ector/exchange/xrpl/xrpl_api_order_book_data_source.py0connects to the trade events and order diffs websocket endpoints and listens to the messages sent by the exchange. each
HIGH…ngbot/core/data_type/order_book_tracker_data_source.py0creates an instance of wsassistant connected to the exchange :return: an instance of wsassistant connected to the exchan
HIGH…gbot/core/data_type/user_stream_tracker_data_source.py0creates an instance of wsassistant connected to the exchange :return: an instance of wsassistant connected to the exchan
HIGH…/btc_markets/btc_markets_api_order_book_data_source.py0creates an instance of wsassistant connected to the exchange :return: an instance of wsassistant connected to the exchan
HIGH…btc_markets/btc_markets_api_user_stream_data_source.py0creates an instance of wsassistant connected to the exchange :return: an instance of wsassistant connected to the exchan
HIGH…ngbot/core/data_type/order_book_tracker_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…petual/bitmart_perpetual_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…al/hyperliquid_perpetual_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…etual/backpack_perpetual_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…rpetual/derive_perpetual_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…petual/gate_io_perpetual_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…t_perpetual/bybit_perpetual_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…/hyperliquid/hyperliquid_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…r/exchange/bing_x/bing_x_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…/exchange/bing_x/bing_x_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…ange/ascend_ex/ascend_ex_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…exchange/dexalot/dexalot_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…change/bitstamp/bitstamp_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…exchange/gate_io/gate_io_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…ector/exchange/mexc/mexc_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…ector/exchange/ndax/ndax_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…r/exchange/derive/derive_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…r/exchange/bitrue/bitrue_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…or/exchange/bybit/bybit_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…tor/exchange/bybit/bybit_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…r/exchange/foxbit/foxbit_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…r/exchange/kraken/kraken_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…change/backpack/backpack_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…exchange/binance/binance_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param ws: the websocke
HIGH…ngbot/core/data_type/order_book_tracker_data_source.py0function added only to facilitate patching the sleep in unit tests without affecting the asyncio module
HIGH…ngbot/data_feed/liquidations_feed/liquidations_base.py0function added only to facilitate patching the sleep in unit tests without affecting the asyncio module
HIGHhummingbot/data_feed/candles_feed/candles_base.py0function added only to facilitate patching the sleep in unit tests without affecting the asyncio module
HIGH…gbot/core/data_type/user_stream_tracker_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…t_perpetual/bybit_perpetual_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…petual/kucoin_perpetual_api_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…okx_perpetual/okx_perpetual_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…/exchange/bing_x/bing_x_api_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…or/exchange/bybit/bybit_api_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…coinbase_advanced_trade_api_user_stream_data_source.py0returns the time of the last received message :return: the timestamp of the last received message in seconds
HIGH…gbot/core/data_type/user_stream_tracker_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…perpetual/bitmart_perpetual_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…t_perpetual/bybit_perpetual_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…petual/kucoin_perpetual_api_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…okx_perpetual/okx_perpetual_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…/exchange/bing_x/bing_x_api_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…or/exchange/bybit/bybit_api_user_stream_data_source.py0connects to the user private channel in the exchange using a websocket connection. with the established connection liste
HIGH…gbot/core/data_type/user_stream_tracker_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…tual/backpack_perpetual_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…/btc_markets/btc_markets_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…btc_markets/btc_markets_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…/exchange/vertex/vertex_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…r/exchange/vertex/vertex_api_order_book_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…hange/backpack/backpack_api_user_stream_data_source.py0subscribes to the trade events and diff orders events through the provided websocket connection. :param websocket_assist
HIGH…core/data_type/perpetual_api_order_book_data_source.py0reads the funding info events queue and updates the local funding info information.
HIGH…_perpetual/okx_perpetual_api_order_book_data_source.py0reads the funding info events queue and updates the local funding info information.
673 more matches not shown…
Excessive Try-Catch Wrapping909 hits · 884 pts
SeverityFileLineSnippet
LOWhummingbot/__init__.py89 except Exception:
LOWhummingbot/__init__.py180 except Exception as e:
MEDIUMhummingbot/__init__.py80def check_dev_mode():
LOWhummingbot/core/connector_manager.py109 except Exception as e:
LOWhummingbot/core/trading_core.py197 except Exception as e:
LOWhummingbot/core/trading_core.py221 except Exception as e:
LOWhummingbot/core/trading_core.py273 except Exception as e:
LOWhummingbot/core/trading_core.py437 except Exception as e:
LOWhummingbot/core/trading_core.py493 except Exception as e:
LOWhummingbot/core/trading_core.py553 except Exception as e:
LOWhummingbot/core/trading_core.py600 except Exception as e:
LOWhummingbot/core/trading_core.py616 except Exception as e:
LOWhummingbot/core/trading_core.py807 except Exception as e:
LOWhummingbot/core/trading_core.py817 except Exception as e:
LOWhummingbot/core/trading_core.py844 except Exception as e:
LOWhummingbot/core/network_base.py100 except Exception as e:
LOWhummingbot/core/utils/ssl_cert.py214 except Exception as e:
LOWhummingbot/core/utils/async_retry.py51 except Exception as exc:
LOWhummingbot/core/utils/async_call_scheduler.py83 except Exception:
LOWhummingbot/core/utils/async_call_scheduler.py89 except Exception as e:
LOWhummingbot/core/utils/async_call_scheduler.py97 except Exception:
LOWhummingbot/core/utils/async_call_scheduler.py104 except Exception:
LOWhummingbot/core/utils/async_utils.py12 except Exception as e:
LOWhummingbot/core/utils/async_utils.py23 except Exception as e:
MEDIUMhummingbot/core/utils/async_utils.py7def safe_wrapper(c):
MEDIUMhummingbot/core/utils/async_utils.py20def safe_gather(*args, **kwargs):
LOWhummingbot/core/utils/trading_pair_fetcher.py62 except Exception:
LOWhummingbot/core/utils/trading_pair_fetcher.py71 except Exception:
LOWhummingbot/core/utils/kill_switch.py60 except Exception as e:
LOWhummingbot/core/rate_oracle/rate_oracle.py136 except Exception:
LOWhummingbot/core/rate_oracle/rate_oracle.py185 except Exception:
LOWhummingbot/core/rate_oracle/rate_oracle.py278 except Exception:
MEDIUMhummingbot/core/rate_oracle/rate_oracle.py178def check_network(self) -> NetworkStatus:
LOW…ingbot/core/rate_oracle/sources/gate_io_rate_source.py45 except Exception:
LOW…ot/core/rate_oracle/sources/hyperliquid_rate_source.py40 except Exception:
LOW…/rate_oracle/sources/pacifica_perpetual_rate_source.py40 except Exception:
LOW…re/rate_oracle/sources/evedex_perpetual_rate_source.py40 except Exception:
LOW…e/rate_oracle/sources/decibel_perpetual_rate_source.py41 except Exception:
LOW…ingbot/core/rate_oracle/sources/dexalot_rate_source.py36 except Exception:
LOW…gbot/core/rate_oracle/sources/ascend_ex_rate_source.py30 except Exception:
LOW…rate_oracle/sources/architect_perpetual_rate_source.py43 except Exception:
LOW…mingbot/core/rate_oracle/sources/kucoin_rate_source.py34 except Exception:
LOW…bot/core/rate_oracle/sources/coin_gecko_rate_source.py90 except Exception as e:
LOW…bot/core/rate_oracle/sources/coin_gecko_rate_source.py129 except Exception:
LOW…te_oracle/sources/hyperliquid_perpetual_rate_source.py42 except Exception:
LOWhummingbot/core/rate_oracle/sources/aevo_rate_source.py47 except Exception:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py87 except Exception:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py112 except Exception:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py136 except Exception:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py155 except Exception:
LOW…ngbot/core/data_type/order_book_tracker_data_source.py163 except Exception:
LOW…gbot/core/data_type/user_stream_tracker_data_source.py53 except Exception:
LOWhummingbot/core/data_type/in_flight_order.py323 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py518 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py384 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py455 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py585 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py630 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py668 except Exception:
LOWhummingbot/core/data_type/order_book_tracker.py732 except Exception:
849 more matches not shown…
Decorative Section Separators210 hits · 756 pts
SeverityFileLineSnippet
MEDIUMhummingbot/core/gateway/gateway_http_client.py490 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py492 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py556 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py558 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py626 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py628 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py539 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py541 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py666 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py668 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py755 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py757 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py990 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py992 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1517 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1519 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1592 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1594 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1673 # ============================================
MEDIUMhummingbot/core/gateway/gateway_http_client.py1675 # ============================================
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py25 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py27 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py69 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py71 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py79 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py81 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py176 # ------------------------------------------------------------------
MEDIUM…mmingbot/strategy_v2/backtesting/backtesting_result.py178 # ------------------------------------------------------------------
MEDIUM…/derivative/dydx_v4_perpetual/data_sources/keypairs.py2# ------------------------------------------------------------------------------
MEDIUM…/derivative/dydx_v4_perpetual/data_sources/keypairs.py18# ------------------------------------------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py11# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py13# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py23# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py25# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py56# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py58# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py91# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py95# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py137# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py139# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py145# -------------------------------------------
MEDIUM…or/derivative/okx_perpetual/okx_perpetual_constants.py148# -------------------------------------------
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py522# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py524# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py471# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py473# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py499# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_utils.py501# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py628# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py630# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py55# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py57# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py98# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py100# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py122# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py124# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py160# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py162# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py559# ============================================
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py561# ============================================
150 more matches not shown…
Hallucination Indicators71 hits · 730 pts
SeverityFileLineSnippet
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py593 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(all_markets_mock_response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py595 self.exchange._data_source._query_executor._tokens_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py599 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait(all_markets_mock_response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py617 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait({})
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py619 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait(response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py621 self.exchange._data_source._query_executor._tokens_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py633 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py648 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py693 self.exchange._data_source._query_executor._spot_trades_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py695 self.exchange._data_source._query_executor._derivative_trades_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py708 self.exchange._data_source._query_executor._derivative_trades_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2240 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2243 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait(response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2252 self.exchange._data_source._query_executor._ping_responses.put_nowait(response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2281 self.exchange._data_source._query_executor._derivative_trades_responses.put_nowait(response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py3307 # self.exchange._data_source._query_executor._get_tx_responses.put_nowait(transaction_response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py3423 self.exchange._data_source._query_executor._account_portfolio_responses.put_nowait(response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1008 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1108 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1188 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1223 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1264 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1313 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1354 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1401 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1451 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1483 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py1545 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2422 self.exchange._data_source.query_executor._funding_payments_responses.put_nowait(funding_payments)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2460 self.exchange._data_source.query_executor._funding_payments_responses.put_nowait(funding_payments)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2497 self.exchange._data_source._query_executor._derivative_market_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2554 self.exchange._data_source.query_executor._funding_rates_responses.put_nowait(funding_rate)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2559 self.exchange._data_source.query_executor._oracle_prices_responses.put_nowait(oracle_price)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2590 self.exchange._data_source.query_executor._derivative_trades_responses.put_nowait(trades)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2624 self.exchange._data_source._query_executor._derivative_market_responses.put_nowait(
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2681 self.exchange._data_source.query_executor._funding_rates_responses.put_nowait(funding_rate)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2686 self.exchange._data_source.query_executor._oracle_prices_responses.put_nowait(oracle_price)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2717 self.exchange._data_source.query_executor._derivative_trades_responses.put_nowait(trades)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2766 self.exchange._data_source._query_executor._derivative_positions_responses.put_nowait(positions)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py2791 self.exchange._data_source._query_executor._oracle_prices_responses.put_nowait(oracle_price)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py3063 self.exchange._data_source._query_executor._get_tx_responses.put_nowait(transaction_response)
CRITICAL…ctive_v2_perpetual_derivative_for_delegated_account.py3380 self.exchange._data_source._query_executor._get_tx_responses.put_nowait(transaction_response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py491 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(all_markets_mock_response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py493 self.exchange._data_source._query_executor._tokens_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py496 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait({})
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py515 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py517 self.exchange._data_source._query_executor._tokens_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py520 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait({})
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py526 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py537 self.exchange._data_source._query_executor._simulate_transaction_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py582 self.exchange._data_source._query_executor._spot_trades_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py595 self.exchange._data_source._query_executor._spot_trades_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py1881 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py1882 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait([])
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py1891 self.exchange._data_source._query_executor._ping_responses.put_nowait(response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py1920 self.exchange._data_source._query_executor._spot_trades_responses.put_nowait(response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py2367 self.exchange._data_source._query_executor._spot_markets_responses.put_nowait(all_markets_mock_response)
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py2369 self.exchange._data_source._query_executor._tokens_responses.put_nowait(
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py2372 self.exchange._data_source._query_executor._derivative_markets_responses.put_nowait({})
CRITICAL…v2/test_injective_v2_exchange_for_delegated_account.py2373 self.exchange._data_source._query_executor._account_portfolio_responses.put_nowait(response)
11 more matches not shown…
Self-Referential Comments110 hits · 350 pts
SeverityFileLineSnippet
MEDIUM…/core/web_assistant/connections/connections_factory.py12 """This class is a thin wrapper around the underlying REST and WebSocket third-party library.
MEDIUM…t/strategy_v2/backtesting/backtesting_data_provider.py100 # Create a new feed or restart the existing one with updated max_records
MEDIUM…mingbot/strategy_v2/executors/executor_orchestrator.py337 # Create a Position record (id will only be used for new positions)
MEDIUM…mingbot/strategy_v2/executors/executor_orchestrator.py596 # Create a new report starting from cached base values
MEDIUM…bot/strategy_v2/executors/dca_executor/dca_executor.py39 # Initialize super class
MEDIUM…_v2/executors/arbitrage_executor/arbitrage_executor.py85 # Define the conversion trading pair (e.g., SOL/USDT or USDT/SOL)
MEDIUM…bel_perpetual/decibel_perpetual_transaction_builder.py79 # Create a new config with gas_station_api_key
MEDIUMhummingbot/connector/exchange/cube/cube_auth.py103 # Create the HMAC-SHA256 signature
MEDIUM…ctor/exchange/cube/cube_api_user_stream_data_source.py67 # Create a separate task for handle_heartbeat
MEDIUMhummingbot/connector/exchange/kraken/kraken_exchange.py659 # Create a mapping from exchange symbols to trading pairs to avoid repeated async calls
MEDIUMhummingbot/connector/exchange/xrpl/xrpl_exchange.py877 # Create the transaction using the appropriate strategy
MEDIUM…ot/connector/test_support/network_mocking_assistant.py216 # Create a stable key
MEDIUMhummingbot/connector/gateway/gateway_base.py458 # Create a TokenAmount object for the network fee using the provided fee asset
MEDIUMhummingbot/data_feed/market_data_provider.py210 # Create a new feed with updated max_records
MEDIUMhummingbot/client/command/gateway_command.py602 # Create a new dictionary with the fields we want to display
MEDIUMhummingbot/client/command/gateway_command.py660 # Create a dict of token symbol to token info
MEDIUMhummingbot/client/command/gateway_approve_command.py55 # Create a temporary GatewayBase instance for gas estimation and approval
MEDIUMtest/hummingbot/core/test_trading_core.py482 # Create a function to test
MEDIUMtest/hummingbot/core/test_trading_core.py489 # Create a task that sets ready after delay
MEDIUMtest/hummingbot/core/test_trading_core.py505 # Create a synchronous function to test
MEDIUM…t/hummingbot/core/data_type/test_order_book_tracker.py363 # Create a diff message
MEDIUM…t/hummingbot/core/data_type/test_order_book_tracker.py403 # Create a diff message with update_id < snapshot_uid (will be rejected)
MEDIUM…t/hummingbot/core/data_type/test_order_book_tracker.py731 # Create a mock tracking task
MEDIUM…ot/strategy_v2/executors/test_executor_orchestrator.py140 # Create a mock for MarketsRecorder and its get_executors_by_controller method
MEDIUM…ot/strategy_v2/executors/test_executor_orchestrator.py317 # Create a NaN decimal for mid_price
MEDIUM…ot/strategy_v2/executors/test_executor_orchestrator.py417 # Create a position from database
MEDIUM…ot/strategy_v2/executors/test_executor_orchestrator.py463 # Create a database position that should be ignored due to override
MEDIUM…ot/strategy_v2/executors/test_executor_orchestrator.py552 # Create an executor that meets criteria for position hold processing
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py150 # Create the order that will be returned by get_in_flight_order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py393 # Create an open order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py430 # Create a filled order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py465 # Create a partially filled order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py672 # Create an open order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py733 # Create a partially filled order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py785 # Create a filled order
MEDIUM…egy_v2/executors/order_executor/test_order_executor.py857 # Create a filled order
MEDIUM…y_v2/controllers/test_market_making_controller_base.py184 # Create a mock active rebalance executor
MEDIUMtest/hummingbot/connector/test_markets_recorder.py711 # Create a new mock market
MEDIUMtest/hummingbot/connector/test_markets_recorder.py803 # Create a new mock market
MEDIUMtest/hummingbot/connector/test_markets_recorder.py828 # Create a second mock market
MEDIUMtest/hummingbot/connector/test_markets_recorder.py887 # Create a new mock market with proper listener methods
MEDIUMtest/hummingbot/connector/test_markets_recorder.py942 # Create a new mock market
MEDIUM…ative/bitmart_perpetual/test_bitmart_perpetual_auth.py60 # Create a RESTRequest object
MEDIUM…ative/bitmart_perpetual/test_bitmart_perpetual_auth.py75 # Create a RESTRequest object
MEDIUM…uid_perpetual/test_hyperliquid_perpetual_derivative.py2009 # Create a market buy order - this will trigger lines 306-307
MEDIUM…uid_perpetual/test_hyperliquid_perpetual_derivative.py2043 # Create a market sell order - this will trigger lines 343-344
MEDIUM…uid_perpetual/test_hyperliquid_perpetual_derivative.py2078 # Create a LIMIT_MAKER order - this will trigger line 424
MEDIUM…test_backpack_perpetual_api_user_stream_data_source.py43 # Create a valid Ed25519 keypair for testing
MEDIUM…al/test_derive_perpetual_api_order_book_data_source.py512 # Create an invalid message that will cause parsing error
MEDIUM…test_architect_perpetual_api_order_book_data_source.py606 # Create a mock WebSocket assistant
MEDIUM…l/test_gate_io_perpetual_api_order_book_data_source.py600 # Create a mock WebSocket assistant
MEDIUM…tual/test_decibel_perpetual_user_stream_data_source.py125 # Create a task that will be running
MEDIUM…al/test_kucoin_perpetual_api_order_book_data_source.py649 # Create a mock WebSocket assistant
MEDIUM…or/exchange/okx/test_okx_api_order_book_data_source.py602 # Create a mock WebSocket assistant
MEDIUM…ctor/exchange/hyperliquid/test_hyperliquid_exchange.py1650 # Create a market buy order - this will trigger lines 286-287
MEDIUM…ctor/exchange/hyperliquid/test_hyperliquid_exchange.py1684 # Create a market sell order - this will trigger lines 323-324
MEDIUM…/hummingbot/connector/exchange/cube/test_cube_utils.py48 # Create a mock RawUnits object
MEDIUM…nge/gate_io/test_gate_io_api_order_book_data_source.py447 # Create a mock WebSocket assistant
MEDIUM…exchange/bitrue/test_bitrue_user_stream_data_source.py332 # Create a task that will raise an exception when awaited after being cancelled
MEDIUM…hange/kucoin/test_kucoin_api_order_book_data_source.py493 # Create a mock WebSocket assistant
50 more matches not shown…
Deep Nesting353 hits · 276 pts
SeverityFileLineSnippet
LOWhummingbot/__init__.py129
LOWhummingbot/core/connector_manager.py37
LOWhummingbot/core/trading_core.py164
LOWhummingbot/core/trading_core.py518
LOWhummingbot/core/trading_core.py779
LOWhummingbot/core/network_base.py80
LOWhummingbot/core/utils/async_retry.py15
LOWhummingbot/core/utils/async_retry.py32
LOWhummingbot/core/utils/async_retry.py34
LOWhummingbot/core/utils/market_price.py7
LOWhummingbot/core/utils/trading_pair_fetcher.py43
LOWhummingbot/core/utils/__init__.py33
LOW…ot/core/rate_oracle/sources/hyperliquid_rate_source.py22
LOW…/rate_oracle/sources/pacifica_perpetual_rate_source.py24
LOW…re/rate_oracle/sources/evedex_perpetual_rate_source.py22
LOW…e/rate_oracle/sources/decibel_perpetual_rate_source.py25
LOW…rate_oracle/sources/architect_perpetual_rate_source.py25
LOW…te_oracle/sources/hyperliquid_perpetual_rate_source.py24
LOWhummingbot/core/rate_oracle/sources/aevo_rate_source.py22
LOWhummingbot/core/api_throttler/async_throttler.py20
LOWhummingbot/core/data_type/order_book_tracker.py361
LOWhummingbot/core/data_type/order_book_tracker.py634
LOWhummingbot/core/gateway/gateway_http_client.py203
LOWhummingbot/core/gateway/gateway_http_client.py320
LOWhummingbot/core/gateway/gateway_http_client.py354
LOWhummingbot/core/gateway/gateway_http_client.py414
LOWhummingbot/core/gateway/gateway_http_client.py1714
LOW…bot/strategy_v2/backtesting/backtesting_engine_base.py214
LOW…bot/strategy_v2/backtesting/backtesting_engine_base.py358
LOW…bot/strategy_v2/backtesting/backtesting_engine_base.py389
LOW…mmingbot/strategy_v2/backtesting/backtesting_result.py180
LOW…esting/executors_simulator/order_executor_simulator.py10
LOW…testing/executors_simulator/grid_executor_simulator.py120
LOW…ktesting/executors_simulator/dca_executor_simulator.py20
LOWhummingbot/strategy_v2/utils/config_encoder_decoder.py13
LOWhummingbot/strategy_v2/utils/order_level_builder.py42
LOW…mingbot/strategy_v2/executors/executor_orchestrator.py498
LOW…bot/strategy_v2/executors/dca_executor/dca_executor.py438
LOW…ngbot/strategy_v2/executors/lp_executor/lp_executor.py558
LOW…ngbot/strategy_v2/executors/lp_executor/lp_executor.py713
LOW…strategy_v2/executors/order_executor/order_executor.py202
LOW…gy_v2/executors/position_executor/position_executor.py514
LOW…gy_v2/executors/position_executor/position_executor.py702
LOW…t/strategy_v2/executors/grid_executor/grid_executor.py298
LOW…t/strategy_v2/executors/grid_executor/grid_executor.py504
LOW…t/strategy_v2/executors/grid_executor/grid_executor.py519
LOW…t/strategy_v2/executors/grid_executor/grid_executor.py553
LOWhummingbot/remote_iface/mqtt.py203
LOWhummingbot/remote_iface/mqtt.py446
LOWhummingbot/remote_iface/mqtt.py621
LOWhummingbot/model/sql_connection_manager.py65
LOWhummingbot/model/sql_connection_manager.py112
LOWhummingbot/connector/parrot.py90
LOWhummingbot/connector/parrot.py119
LOWhummingbot/connector/markets_recorder.py124
LOWhummingbot/connector/connector_metrics_collector.py118
LOW…ector/derivative/aevo_perpetual/aevo_perpetual_auth.py46
LOW…derivative/aevo_perpetual/aevo_perpetual_derivative.py688
LOW…tive/bitmart_perpetual/bitmart_perpetual_derivative.py348
LOW…tive/bitmart_perpetual/bitmart_perpetual_derivative.py375
293 more matches not shown…
Cross-Language Confusion55 hits · 261 pts
SeverityFileLineSnippet
HIGHhummingbot/model/db_migration/transformations.py53 ' config_file_path TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py54 ' strategy TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py55 ' market TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py56 ' symbol TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py57 ' base_asset TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py58 ' quote_asset TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py59 ' creation_timestamp BIGINT not null,'
HIGHhummingbot/model/db_migration/transformations.py60 ' order_type TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py61 ' amount BIGINT not null,'
HIGHhummingbot/model/db_migration/transformations.py62 ' leverage INTEGER not null,'
HIGHhummingbot/model/db_migration/transformations.py63 ' price FLOAT not null,'
HIGHhummingbot/model/db_migration/transformations.py64 ' last_status TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py65 ' last_update_timestamp BIGINT not null,'
HIGHhummingbot/model/db_migration/transformations.py85 '( config_file_path TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py86 ' strategy TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py87 ' market TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py88 ' symbol TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py89 ' base_asset TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py90 ' quote_asset TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py91 ' timestamp BIGINT not null,'
HIGHhummingbot/model/db_migration/transformations.py94 ' trade_type TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py95 ' order_type TEXT not null,'
HIGHhummingbot/model/db_migration/transformations.py96 ' price BIGINT not null,'
HIGHhummingbot/model/db_migration/transformations.py97 ' amount FLOAT not null,'
HIGHhummingbot/model/db_migration/transformations.py98 ' leverage INTEGER not null,'
HIGHhummingbot/model/db_migration/transformations.py99 ' trade_fee JSON not null,'
HIGHhummingbot/model/db_migration/transformations.py100 ' exchange_trade_id TEXT not null,'
HIGH…etual/pacifica_perpetual_api_order_book_data_source.py87 "error": null,
HIGH…etual/pacifica_perpetual_api_order_book_data_source.py141 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py269 {"success":false,"data":null,"error":"Order history not found for order ID: 28416222569","code":404}
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py276 {"success":false,"data":null,"error":"Failed to cancel order","code":5}
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py769 "stop_price": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py770 "stop_parent_order_id": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py775 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1086 "I": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py341 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py460 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py516 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py517 "code": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py541 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py751 "stop_price": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py752 "stop_parent_order_id": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py819 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py862 "error": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1098 "sp": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1099 "si": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1146 "l": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1253 "I": null,
HIGH…ve/pacifica_perpetual/pacifica_perpetual_derivative.py1406 "error": null,
HIGH…vative/derive_perpetual/derive_perpetual_derivative.py773 "option_details": null,
HIGH…vative/derive_perpetual/derive_perpetual_derivative.py774 "perp_details": null,
HIGHhummingbot/connector/exchange/derive/derive_exchange.py642 "option_details": null,
HIGHhummingbot/connector/exchange/derive/derive_exchange.py643 "perp_details": null,
HIGHhummingbot/connector/exchange/bitget/bitget_exchange.py143 # { "code": "43001", "msg": "订单不存在", "requestTime": 1710327684832, "data": null }
HIGH…mingbot/connector/exchange/foxbit/test_foxbit_utils.py47 _msg = '[{"Key":"field0","Value":"Google"},{"Key":"field2","Value":null},{"Key":"field3","Value":"São Paulo"},{"
Unused Imports205 hits · 204 pts
SeverityFileLineSnippet
LOWhummingbot/__init__.py12
LOWhummingbot/core/web_assistant/connections/data_types.py12
LOWhummingbot/core/utils/ssl_cert.py19
LOWhummingbot/core/utils/kill_switch.py11
LOWhummingbot/core/rate_oracle/rate_oracle.py7
LOWhummingbot/core/rate_oracle/rate_oracle.py13
LOWhummingbot/core/data_type/order_candidate.py13
LOWhummingbot/core/data_type/trade_fee.py11
LOWhummingbot/core/data_type/trade_fee.py12
LOWhummingbot/core/gateway/__init__.py12
LOWhummingbot/logger/__init__.py5
LOWhummingbot/logger/__init__.py5
LOWhummingbot/logger/__init__.py5
LOWhummingbot/logger/__init__.py5
LOWhummingbot/strategy_v2/backtesting/__init__.py1
LOWhummingbot/strategy_v2/utils/order_level_builder.py1
LOW…mingbot/strategy_v2/executors/executor_orchestrator.py14
LOW…/strategy_v2/executors/position_executor/data_types.py1
LOWhummingbot/strategy_v2/controllers/__init__.py1
LOWhummingbot/strategy_v2/controllers/__init__.py1
LOWhummingbot/strategy_v2/controllers/__init__.py2
LOWhummingbot/strategy_v2/controllers/__init__.py2
LOWhummingbot/strategy_v2/controllers/__init__.py6
LOWhummingbot/strategy_v2/controllers/__init__.py6
LOWhummingbot/remote_iface/mqtt.py21
LOWhummingbot/model/sql_connection_manager.py18
LOWhummingbot/model/__init__.py7
LOWhummingbot/model/__init__.py8
LOWhummingbot/model/__init__.py9
LOWhummingbot/model/__init__.py10
LOWhummingbot/model/__init__.py11
LOWhummingbot/model/__init__.py12
LOWhummingbot/model/__init__.py13
LOWhummingbot/connector/derivative_base.py8
LOWhummingbot/connector/connector_metrics_collector.py20
LOWhummingbot/connector/budget_checker.py10
LOW…erpetual/aevo_perpetual_api_user_stream_data_source.py17
LOW…perpetual/aevo_perpetual_api_order_book_data_source.py18
LOW…perpetual/bitmart_perpetual_user_stream_data_source.py14
LOW…petual/bitmart_perpetual_api_order_book_data_source.py21
LOW…erpetual/pacifica_perpetual_user_stream_data_source.py17
LOW…etual/pacifica_perpetual_api_order_book_data_source.py21
LOW…l/injective_v2_perpetual_api_order_book_data_source.py13
LOW…al/hyperliquid_perpetual_api_order_book_data_source.py19
LOW…etual/hyperliquid_perpetual_user_stream_data_source.py15
LOW…etual/backpack_perpetual_api_order_book_data_source.py20
LOW…tual/backpack_perpetual_api_user_stream_data_source.py14
LOW…perpetual/grvt_perpetual_api_order_book_data_source.py19
LOW…erpetual/grvt_perpetual_api_user_stream_data_source.py17
LOW…perpetual/binance_perpetual_user_stream_data_source.py16
LOW…petual/binance_perpetual_api_order_book_data_source.py19
LOW…petual/dydx_v4_perpetual_api_order_book_data_source.py24
LOW…petual/derive_perpetual_api_user_stream_data_source.py19
LOW…rpetual/derive_perpetual_api_order_book_data_source.py22
LOW…_perpetual/evedex_perpetual_user_stream_data_source.py14
LOW…rpetual/evedex_perpetual_api_order_book_data_source.py19
LOW…rpetual/bitget_perpetual_api_order_book_data_source.py20
LOW…petual/bitget_perpetual_api_user_stream_data_source.py14
LOW…rpetual/architect_perpetual_user_stream_data_source.py13
LOW…tual/architect_perpetual_api_order_book_data_source.py21
145 more matches not shown…
Redundant / Tautological Comments96 hits · 146 pts
SeverityFileLineSnippet
LOWhummingbot/core/connector_manager.py55 # Check if connector already exists
LOWhummingbot/core/trading_core.py671 # Check if this is a gateway connector (chain-network format like "solana-mainnet-beta")
LOWhummingbot/core/data_type/order_book_tracker.py477 # Check if we're tracking this pair
LOWhummingbot/core/data_type/order_book_tracker.py418 # Check if already tracking this pair
LOWhummingbot/core/gateway/gateway_http_client.py1691 # Check if wallet address is a placeholder
LOWhummingbot/strategy_v2/executors/gateway_utils.py83 # Check if connector exists in GATEWAY_DEXS
LOWhummingbot/strategy_v2/executors/gateway_utils.py125 # Check if it's a network-style connector (chain-network format)
LOWhummingbot/strategy_v2/executors/gateway_utils.py178 # Check if connector exists at all with any type
LOW…ngbot/strategy_v2/executors/lp_executor/lp_executor.py174 # Check if price exceeded upper limit
LOW…ngbot/strategy_v2/executors/lp_executor/lp_executor.py178 # Check if price exceeded lower limit
LOW…ngbot/strategy_v2/executors/lp_executor/lp_executor.py576 # Check if we already have an active swap order
LOW…rategy_v2/controllers/market_making_controller_base.py238 # Check if we need to rebalance position first
LOW…rategy_v2/controllers/market_making_controller_base.py362 # Check if difference exceeds threshold
LOWhummingbot/connector/markets_recorder.py239 # Check if a position already exists for this controller, connector, trading pair, and side
LOW…al/hyperliquid_perpetual_api_order_book_data_source.py57 # Check if this is a HIP-3 market (contains ":")
LOW…erliquid_perpetual/hyperliquid_perpetual_derivative.py1215 # Check if this is a HIP-3 market (doesn't support leverage API)
LOW…erliquid_perpetual/hyperliquid_perpetual_derivative.py1221 # Check if coin exists in mapping
LOW…ve/backpack_perpetual/backpack_perpetual_derivative.py710 # Check if status is 2xx (success)
LOW…rpetual/derive_perpetual_api_order_book_data_source.py94 # Check if we already have a cached snapshot
LOW…rpetual/derive_perpetual_api_order_book_data_source.py121 # Check if this snapshot is for our trading pair
LOW…r/exchange/derive/derive_api_order_book_data_source.py52 # Check if we already have a cached snapshot
LOW…r/exchange/derive/derive_api_order_book_data_source.py79 # Check if this snapshot is for our trading pair
LOW…/coinbase_advanced_trade_api_order_book_data_source.py187 # Check if there's an exact match
LOWhummingbot/connector/exchange/foxbit/foxbit_exchange.py510 # Check if this monitor has to tracking this event message
LOWhummingbot/connector/exchange/vertex/vertex_utils.py56 # Check if data type is str or float
LOWhummingbot/connector/exchange/vertex/vertex_utils.py82 # Check if data type is str or float
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py964 # Check if connection is still open
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py972 # Check if connection is healthy
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py976 # Check if connection is currently reconnecting - skip to avoid race conditions
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py1174 # Check if connection is closed
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py1179 # Check if connection is too old
LOWhummingbot/connector/exchange/xrpl/xrpl_auth.py16 # Check if it's a raw private key (hex format)
LOW…ctor/exchange/xrpl/xrpl_api_user_stream_data_source.py319 # Check if transaction was successful
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py716 # Check if order is in a final state to avoid duplicate updates
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py737 # Check if the transaction ALSO crossed existing offers before
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py1351 # Check if order was actually filled during cancellation attempt
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py1478 # Check if this is market order, if it is, check if it has been filled or failed
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py2309 # Check if there is any balance changes
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py2327 # Check if there were TOKEN balance changes (not XRP) indicating a partial fill alongside offer creation
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py2737 # Check if we have valid amounts
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py3096 # Check if we've exceeded the last ledger sequence by too much
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py3440 # Check if the change is for the LP token
LOWhummingbot/connector/exchange/xrpl/xrpl_exchange.py3544 # Check if the change is for the LP token
LOWhummingbot/connector/gateway/gateway_base.py652 # Check if result is a dict with status field (transaction response)
LOWhummingbot/connector/gateway/gateway_base.py873 # Check if transaction is still pending
LOWhummingbot/connector/gateway/gateway.py282 # Check if order is already being tracked
LOWhummingbot/data_feed/market_data_provider.py565 # Check if we have cached data and what range it covers
LOWhummingbot/data_feed/market_data_provider.py572 # Check if requested range is completely covered by cache
LOW…ngbot/data_feed/liquidations_feed/liquidations_base.py140 # Check if a specific trading pair is requested
LOW…decibel_perpetual_candles/decibel_perpetual_candles.py248 # Check if this is a candlestick message
LOWhummingbot/client/hummingbot_application.py181 # Check if help is requested, if yes, print & terminate
LOWhummingbot/client/ui/layout.py215 # Check if SSL is enabled
LOWhummingbot/client/config/config_data_types.py55 # Check if in json_schema_extra we have functions defined as values that can produce errors when serializing
LOWhummingbot/client/command/gateway_lp_command.py45 # Check if collect-fees is being called on non-CLMM dex_type
LOWhummingbot/client/command/gateway_lp_command.py162 # Check if in range
LOWhummingbot/client/command/create_command.py145 # Check if the file already exists
LOWhummingbot/client/command/gateway_command.py427 # Check if wallet address is a placeholder
LOWhummingbot/client/command/gateway_command.py467 # Display results
LOWhummingbot/client/command/history_command.py195 # Check if number of trades exceed maximum number of trades to display
LOWhummingbot/client/command/command_utils.py58 # Check if transaction is complete (success, failed, or cancelled)
36 more matches not shown…
AI Slop Vocabulary25 hits · 61 pts
SeverityFileLineSnippet
MEDIUMhummingbot/connector/perpetual_trading.py95 # Clean up leverage settings
MEDIUM…erliquid_perpetual/hyperliquid_perpetual_derivative.py1215 # Check if this is a HIP-3 market (doesn't support leverage API)
MEDIUM…ve/backpack_perpetual/backpack_perpetual_derivative.py609 """Fetch and initialize leverage from exchange if not already set."""
MEDIUM…vative/derive_perpetual/derive_perpetual_derivative.py985 # NOTE: There is no setting to set leverage in derive
MEDIUM…vative/derive_perpetual/derive_perpetual_derivative.py991 # NOTE: There is no setting to set leverage in derive
MEDIUM…vative/evedex_perpetual/evedex_perpetual_derivative.py524 # Get leverage
MEDIUMhummingbot/connector/exchange/bitrue/bitrue_exchange.py401 # We have overridden `_update_orders_fills` to utilize batch trade updates to reduce API limit consumption.
MEDIUMhummingbot/connector/exchange/vertex/vertex_exchange.py247 # NOTE: There are two differen't limits depending on the use of leverage
MEDIUM…mmingbot/connector/exchange/vertex/vertex_constants.py255 # NOTE: For spot with no leverage, there are different limits.
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py1307 # If not found, just use the first Offer node
MEDIUM…tes/conf_perpetual_market_making_strategy_TEMPLATE.yml14# What leverage to used
LOW…d/btc_markets_spot_candles/btc_markets_spot_candles.py86 # Find last candle with volume > 0, or just return last candle
MEDIUMhummingbot/client/performance.py132 # It is assumed that the amount and leverage for both open and close orders are the same.
MEDIUM…t/hummingbot/core/data_type/test_order_book_tracker.py295 """Test that to_dict returns comprehensive data."""
MEDIUM…uid_perpetual/test_hyperliquid_perpetual_derivative.py2608 """Test setting leverage for HIP-3 market uses isolated margin."""
MEDIUM…uid_perpetual/test_hyperliquid_perpetual_derivative.py2638 """Test setting leverage fails when coin not in coin_to_asset mapping."""
MEDIUM…ckpack_perpetual/test_backpack_perpetual_derivative.py1192 """Test leverage initialization when API call fails"""
MEDIUM…ckpack_perpetual/test_backpack_perpetual_derivative.py1208 """Test position update when leverage initialization fails"""
MEDIUM…ve/evedex_perpetual/test_evedex_perpetual_web_utils.py203 """Test set leverage URL formatting with instrument parameter."""
MEDIUM…itect_perpetual/test_architect_perpetual_derivative.py900 # leverage = 2
MEDIUM…itect_perpetual/test_architect_perpetual_derivative.py901 # self.exchange._perpetual_trading.set_leverage(self.trading_pair, leverage)
MEDIUM…ivative/okx_perpetual/test_okx_perpetual_derivative.py1284 # position_value = unrealized_pnl + order.amount * order.price * order.leverage
LOW…exchange/xrpl/test_xrpl_api_user_stream_data_source.py633 # Should not raise, just return empty events
MEDIUM…erpetual_market_making/test_perpetual_market_making.py193 self.assertEqual(2, len(new_buys)) # cumulative 11 for leverage of 20
MEDIUM…erpetual_market_making/test_perpetual_market_making.py196 self.assertEqual(1, len(new_sells)) # cumulative 18 for leverage of 20
Docstring Block Structure12 hits · 60 pts
SeverityFileLineSnippet
HIGHhummingbot/strategy_v2/utils/common.py22 Parse enum from string name or return as-is if already correct type. Args: enum_class: The enum class
HIGHhummingbot/strategy_v2/executors/gateway_utils.py26 Parse provider string into (dex_name, trading_type) tuple. Provider strings are used by executors in format "d
HIGH…tive/bitmart_perpetual/bitmart_perpetual_derivative.py349 Determines the state of an order based on the provided parameters. Valid until Bitmart implements spot order
HIGHhummingbot/connector/exchange/xrpl/xrpl_utils.py250 Returns the sequence number of the latest validated ledger. Args: client: The network client to use to
HIGHhummingbot/connector/exchange/xrpl/xrpl_utils.py926 Get an already-connected WebSocket client from the pool. This method returns a persistent connection t
HIGHhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py285 Submit a task to the worker pool. Args: request: The request to process timeou
HIGHhummingbot/connector/exchange/xrpl/xrpl_worker_pool.py514 Get a healthy client from the node pool with timeout. Args: worker_id: The worker requesti
HIGH…mingbot/connector/exchange/xrpl/xrpl_fill_processor.py348 Create a TradeUpdate from extracted fill data. Args: order: The order being filled tx_hash: Tr
HIGHhummingbot/connector/exchange/xrpl/xrpl_exchange.py3048 Wait for a transaction to be finalized on the XRPL ledger using the worker pool. This method polls the
HIGH…t/connector/exchange/xrpl/xrpl_transaction_pipeline.py154 Submit a coroutine to the serialized pipeline. All XRPL transaction submissions should go through this
HIGHhummingbot/data_feed/candles_feed/candles_base.py486 Ensure the given timestamp is in seconds. Args: - timestamp (int): The input timestamp which c
HIGHscripts/xrpl_arb_example.py509 Calculates the Volume Weighted Average Price (VWAP) or effective price for trading a specific amount of
Over-Commented Block77 hits · 46 pts
SeverityFileLineSnippet
LOW…ve/pacifica_perpetual/pacifica_perpetual_derivative.py941
LOW…/derivative/dydx_v4_perpetual/data_sources/keypairs.py1# -*- coding: utf-8 -*-
LOWhummingbot/connector/exchange/bing_x/bing_x_exchange.py521 local_headers = {
LOWhummingbot/connector/exchange/cube/cube_utils.py21
LOWhummingbot/connector/exchange/cube/cube_exchange.py181 self,
LOWhummingbot/connector/exchange/cube/cube_exchange.py301 # Response Example:
LOWhummingbot/connector/exchange/cube/cube_exchange.py681
LOWhummingbot/connector/exchange/cube/cube_exchange.py701 # "modifiedAt": 1710257649309918309
LOWhummingbot/connector/exchange/cube/cube_exchange.py721 # "filledTotal": {
LOWhummingbot/connector/exchange/cube/cube_exchange.py741 # ],
LOWhummingbot/connector/exchange/cube/cube_exchange.py801
LOW…ctive_v2/data_sources/injective_grantee_data_source.py301 # The transaction failed. All orders should be marked as failed
LOW…ctive_v2/data_sources/injective_grantee_data_source.py321 # del spot_orders_by_cid[order_cid]
LOWhummingbot/connector/exchange/vertex/vertex_exchange.py121 def _is_request_exception_related_to_time_synchronizer(self, request_exception: Exception) -> bool:
LOWhummingbot/connector/exchange/xrpl/xrpl_utils.py981
LOW…tes/conf_perpetual_market_making_strategy_TEMPLATE.yml21# Spread of 1 = 1% away from mid price at that time.
LOW…tes/conf_perpetual_market_making_strategy_TEMPLATE.yml101# An external api that returns price (for custom_api pricing source).
LOWhummingbot/templates/conf_fee_overrides_TEMPLATE.yml1########################################
LOW…emplates/conf_pure_market_making_strategy_TEMPLATE.yml121# An external api that returns price (for custom_api pricing source).
LOWhummingbot/templates/conf_amm_arb_strategy_TEMPLATE.yml21
LOWhummingbot/templates/conf_amm_arb_strategy_TEMPLATE.yml41# What is the fixed_rate used to convert quote assets?
LOW…ual/test_pacifica_perpetual_user_stream_data_source.py241 # Look for ping message
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3081 # def test_order_not_found_in_its_creating_transaction_marked_as_failed_during_order_creation_check(self, time_mock)
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3101 # creation_transaction_hash="66A360DA2FD6884B53B5C019F1A2B5BED7C7C8FC07E83A9C36AD3362EDE096AE") # noqa: moc
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3121 # "rawLog": "",
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3141 # ]
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3161 # {
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3181 # {
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3201 # ]
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3221 # ]
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3241 # ]
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3261 # "trigger_price": "0.000000000000000000",
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3281 # "type": "injective.exchange.v1beta1.EventOrderFail",
LOW…ctive_v2_perpetual_derivative_for_delegated_account.py3301 # "codespace": "",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py261 # order_type=OrderType.LIMIT,
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py501 # self.exchange.start_tracking_order(
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py521 # "accountId": "1054",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py541 # }
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py561 # self.assertEqual(order.base_asset, buy_event.base_asset)
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py581 # self.exchange.start_tracking_order(
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py601 # "accountId": "1054",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py621 # }
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py641 # @aioresponses()
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py661 # order_status = {
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py681 # "side": order.trade_type.name,
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py701 # self.assertTrue(order.is_open)
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py721
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py741 # self.exchange.start_tracking_order(
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py761 # "p": "0.10264410",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py781 # mock_queue.get.side_effect = [event_message, asyncio.CancelledError]
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py801 # "INFO",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py821 # "e": "executionReport",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py841 # "O": "1499405658657",
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py861 # self.assertNotIn(order.client_order_id, self.exchange.in_flight_orders)
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py881
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py901 # "u": True,
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py921 # self.assertEqual(OrderState.PARTIALLY_FILLED, order.current_state)
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py941
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py961 # "S": order.trade_type.name,
LOW…gbot/connector/exchange/bing_x/test_bing_x_exchange.py981 # "v": "0"
17 more matches not shown…
Verbosity Indicators19 hits · 39 pts
SeverityFileLineSnippet
LOWhummingbot/core/data_type/order_book_tracker.py429 # Step 1: Subscribe to WebSocket channels for this pair
LOWhummingbot/core/data_type/order_book_tracker.py436 # Step 2: Add to internal trading pairs list
LOWhummingbot/core/data_type/order_book_tracker.py440 # Step 3: Fetch initial snapshot and create order book
LOWhummingbot/core/data_type/order_book_tracker.py444 # Step 4: Create message queue and start tracking task
LOWhummingbot/core/data_type/order_book_tracker.py485 # Step 1: Cancel the tracking task
LOWhummingbot/core/data_type/order_book_tracker.py494 # Step 2: Unsubscribe from WebSocket channels
LOWhummingbot/core/data_type/order_book_tracker.py500 # Step 3: Clean up data structures
LOWhummingbot/core/data_type/order_book_tracker.py506 # Step 4: Clean up metrics for this pair
LOWhummingbot/core/data_type/order_book_tracker.py509 # Step 5: Remove from trading pairs list
LOW…bot/strategy_v2/backtesting/backtesting_engine_base.py256 # Step 1: Convert previous tick's stopped POSITION_HOLD executors → position holds
LOW…bot/strategy_v2/backtesting/backtesting_engine_base.py259 # Step 2: Check for naturally terminated executors
LOWhummingbot/connector/perpetual_derivative_py_base.py382 # Step 1: Fetch and initialize funding info (perpetual-specific)
LOWhummingbot/connector/perpetual_derivative_py_base.py387 # Step 2: Add to perpetual trading's trading pairs list
LOWhummingbot/connector/perpetual_derivative_py_base.py390 # Step 3: Call parent to handle order book (WebSocket subscription + snapshot)
LOWhummingbot/connector/perpetual_derivative_py_base.py417 # Step 1: Call parent to handle order book removal
LOWhummingbot/connector/perpetual_derivative_py_base.py423 # Step 2: Clean up perpetual-specific data (funding info, trading pairs list)
LOWtest/hummingbot/connector/gateway/test_gateway_base.py287 # Step 1: Start tracking order (emits OrderCreated)
LOWtest/hummingbot/connector/gateway/test_gateway_base.py298 # Step 2: Process order update to FILLED (emits OrderCompleted)
LOWtest/hummingbot/connector/gateway/test_gateway_base.py312 # Step 3: Process trade update (emits OrderFilled)
Dead Code4 hits · 8 pts
SeverityFileLineSnippet
MEDIUMhummingbot/connector/exchange/kucoin/kucoin_exchange.py450
MEDIUMhummingbot/connector/exchange/kucoin/kucoin_exchange.py452
MEDIUMhummingbot/connector/exchange/kucoin/kucoin_exchange.py482
MEDIUM…onnector/exchange/ascend_ex/test_ascend_ex_exchange.py81
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippet
LOWhummingbot/core/api_throttler/async_throttler_base.py106 def execute_task(self, limit_id: str) -> AsyncRequestContextBase:
LOWhummingbot/core/api_throttler/async_throttler.py66 def execute_task(self, limit_id: str) -> AsyncRequestContext: