Skip to content

Latest commit

 

History

History
131 lines (95 loc) · 13.7 KB

File metadata and controls

131 lines (95 loc) · 13.7 KB
graph LR
    Core_Orchestration_Engine_COE_["Core Orchestration Engine (COE)"]
    User_Interface_Configuration_UIC_["User Interface & Configuration (UIC)"]
    Exchange_Gateway_Integration_EGI_["Exchange & Gateway Integration (EGI)"]
    Market_Intelligence_Data_MID_["Market Intelligence & Data (MID)"]
    Trading_Logic_Order_Management_TLOM_["Trading Logic & Order Management (TLOM)"]
    Performance_Reporting_PR_["Performance & Reporting (PR)"]
    Core_Orchestration_Engine_COE_ -- "orchestrates" --> User_Interface_Configuration_UIC_
    Core_Orchestration_Engine_COE_ -- "initializes" --> Exchange_Gateway_Integration_EGI_
    Core_Orchestration_Engine_COE_ -- "initializes" --> Market_Intelligence_Data_MID_
    Core_Orchestration_Engine_COE_ -- "manages" --> Trading_Logic_Order_Management_TLOM_
    Core_Orchestration_Engine_COE_ -- "sends events to" --> Performance_Reporting_PR_
    User_Interface_Configuration_UIC_ -- "configures" --> Core_Orchestration_Engine_COE_
    User_Interface_Configuration_UIC_ -- "configures" --> Exchange_Gateway_Integration_EGI_
    User_Interface_Configuration_UIC_ -- "configures" --> Trading_Logic_Order_Management_TLOM_
    Performance_Reporting_PR_ -- "reports to" --> User_Interface_Configuration_UIC_
    Exchange_Gateway_Integration_EGI_ -- "reports events to" --> Core_Orchestration_Engine_COE_
    Exchange_Gateway_Integration_EGI_ -- "feeds" --> Market_Intelligence_Data_MID_
    Exchange_Gateway_Integration_EGI_ -- "updates" --> Trading_Logic_Order_Management_TLOM_
    Trading_Logic_Order_Management_TLOM_ -- "requests" --> Exchange_Gateway_Integration_EGI_
    Exchange_Gateway_Integration_EGI_ -- "reports to" --> Performance_Reporting_PR_
    Market_Intelligence_Data_MID_ -- "feeds" --> Trading_Logic_Order_Management_TLOM_
    Market_Intelligence_Data_MID_ -- "feeds" --> Performance_Reporting_PR_
    Trading_Logic_Order_Management_TLOM_ -- "reports to" --> User_Interface_Configuration_UIC_
    Trading_Logic_Order_Management_TLOM_ -- "reports to" --> Performance_Reporting_PR_
    Performance_Reporting_PR_ -- "reports to" --> User_Interface_Configuration_UIC_
    click Core_Orchestration_Engine_COE_ href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/hummingbot/Core_Orchestration_Engine_COE_.md" "Details"
    click User_Interface_Configuration_UIC_ href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/hummingbot/User_Interface_Configuration_UIC_.md" "Details"
    click Exchange_Gateway_Integration_EGI_ href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/hummingbot/Exchange_Gateway_Integration_EGI_.md" "Details"
    click Performance_Reporting_PR_ href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/hummingbot/Performance_Reporting_PR_.md" "Details"
Loading

CodeBoardingDemoContact

Details

High-Level Data Flow Overview of the hummingbot project, analyzed through its Control Flow Graph (CFG) and source code, structured into core architectural components.

Core Orchestration Engine (COE) [Expand]

The central orchestrator of the Hummingbot application. It manages the bot's lifecycle, initializes core services, dispatches system-wide events, and coordinates the overall operation of all other components.

Related Classes/Methods:

User Interface & Configuration (UIC) [Expand]

Provides the interactive command-line interface (CLI) for users to interact with the bot, input commands, and view real-time status updates and logs. It also handles loading, saving, validating, and migrating all application and strategy configurations, including sensitive API keys and global settings.

Related Classes/Methods:

Exchange & Gateway Integration (EGI) [Expand]

Provides standardized interfaces for interacting with various centralized exchanges (CEX) and decentralized exchanges (DEX) for both spot and perpetual markets. It handles order placement, cancellation, balance updates, and adheres to trading rules, including low-level API communication and rate limiting.

Related Classes/Methods:

Market Intelligence & Data (MID)

Aggregates and processes external market data, such as historical candles, real-time prices, and order book depth. It also provides real-time and historical exchange rate conversions between different assets, crucial for cross-market calculations and strategy logic.

Related Classes/Methods:

Trading Logic & Order Management (TLOM)

Implements various pre-defined algorithmic trading strategies (V1) and provides a modular framework for advanced strategies (V2). It tracks the lifecycle and state of all active orders placed by the bot, ensuring accurate order status, and manages the storage and retrieval of historical trading data.

Related Classes/Methods:

Performance & Reporting (PR) [Expand]

Manages the logging of all bot operations, errors, and performance metrics. It provides mechanisms for sending user notifications, tracks consolidated user asset balances across exchanges, and includes a backtesting engine for simulating strategies with historical data.

Related Classes/Methods: