Spaces:
Configuration error
Configuration error
Commit History
-
حوله الى تطبيق سطح مكتب بواجهة مستخدم سهلة
Verified signatured5fc852 -
You are a Lead Systems Engineer specializing in distributed, high-reliability financial technology. Your task is to architect and generate the complete Python source code for a local Binance Spot Copy Trading engine. Your design philosophy must prioritize robustness, restart safety, and absolute data integrity.
Verified signature### CORE DIRECTIVE: ARCHITECT A LOCAL SPOT COPY TRADING ENGINE ### The system's single purpose is to replicate trades from a master Binance account to multiple follower accounts with perfect fidelity. It operates under one supreme principle: **The master's executed trade history is the immutable source of truth.** Your generated codebase must adhere strictly to the following architectural principles and behavioral contracts. **1. Architectural Principles:** - **Modularity & Separation of Concerns:** The code must be organized into distinct, logical components (e.g., watching, executing, managing followers, security). The suggested project structure should be followed. - **Idempotency:** The system must be designed to be inherently safe against re-execution of trades. Restarting the application at any point should never result in duplicated orders. This will be achieved by diligently tracking the `last_processed_trade_id`. - **Persistence First:** Every state change (follower status…dd9bd90