# autodroid2 **Repository Path**: terminail/autodroid2 ## Basic Information - **Project Name**: autodroid2 - **Description**: No description available - **Primary Language**: Unknown - **License**: BSL-1.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-23 - **Last Updated**: 2026-01-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Cross-Platform Android App Automation Container Solution for Trading A comprehensive container-based solution for automating third-party Android trading applications across multiple platforms. ## Project Background With the growth of algorithmic trading and mobile trading needs, there is a demand for an automated trading solution that can be deployed cross-platform, support multi-device concurrency, and is easy to manage. Traditional solutions have problems such as complex environment configuration, poor platform compatibility, and high maintenance costs. ## Solution Develop a cross-platform Android trading automation framework based on container technology, implementing standard UI automation through **Uiautomator2**, combined with a tradeplan system, to provide stable and reliable automated trading capabilities for third-party trading APKs. ## Architecture The system consists of four core modules: - **Trader App**: Mobile client application for server discovery, device registration, and tradeplan approval/rejection management - **Trader Server**: Centralized server for device management, work script execution, and test scheduling - **Trader Strategy**: Trading strategy component that creates trade plans based on market data - **Trader Executor**: Trading execution component that executes trade plans using Uiautomator2 automation ### Module Data Flow ```mermaid flowchart TD subgraph "Server Docker/Podman" Strategy[Trader Strategy] Server[Trader Server] Executor[Trader Executor] end subgraph "Device" App[Trader App/Ime/Aas] TradingAPK[Trading APK] end Strategy -->|Create & Send TradePlan| Server Server -->|Dispatch Approved TradePlan| Executor Executor -->|Execute via Uiautomator2| TradingAPK Executor -->|Report Results| Server Server -->|Sync Status & Records| App App -->|Approve/Reject TradePlan| Server style TradingAPK fill:#f5f5f5, color:#000000 ``` ### Module Interactions 1. **Strategy → Server**: Strategy analyzes market data and creates trade plans, sending them to the server 2. **App → Server**: Users discover servers, register devices, and approve/reject trade plans 3. **Server → App**: Trade records and status updates are available in the mobile app 4. **Server → Executor**: Server dispatches approved trade plans to executors for execution 5. **Executor → Server**: Execution results are reported back to the server 6. **Executor → Trading APK**: Executor uses Uiautomator2 to perform automated trading operations on target APK ## Core Values - 🐳 **Containerized Deployment**: Supports Docker and Podman, eliminating environment dependencies - 🖥️ **Full Platform Support**: macOS, Windows, WSL/Linux - 📱 **Non-intrusive**: No modification to target APKs, based on UI hierarchy analysis - 🔧 **Tradeplan System**: Supports scheduled tasks and event-driven trading - 📊 **Centralized Management**: Unified configuration management and result monitoring - ⚡ **Uiautomator2 Automation**: Industry-standard mobile automation framework - 🔧 **Flexible Architecture**: Uiautomator2 server provides robust device control # Test change