metatrader_ea

所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-10-13 19:19:31
上 传 者sh-1993
说明:  元交易者ea,,
(metatrader ea,,)

文件列表:
.vscode/ (0, 2023-10-14)
.vscode/launch.json (738, 2023-10-14)
bot.py (15295, 2023-10-14)
build.bat (675, 2023-10-14)
build_process.txt (203, 2023-10-14)
dist/ (0, 2023-10-14)
dist/ea_bot.exe (21818173, 2023-10-14)
dist/terminal_login.json (713, 2023-10-14)
dist/version.txt (36, 2023-10-14)
ea_bot_exe_build.py (745, 2023-10-14)
handlers/ (0, 2023-10-14)
handlers/__pycache__/ (0, 2023-10-14)
handlers/__pycache__/mt5_handler.cpython-311.pyc (13037, 2023-10-14)
handlers/classes.py (1620, 2023-10-14)
handlers/constant.py (2626, 2023-10-14)
handlers/logger.py (1607, 2023-10-14)
handlers/mt5_handler.py (9812, 2023-10-14)
poetry.lock (29218, 2023-10-14)
pyproject.toml (466, 2023-10-14)
terminal_login.json (713, 2023-10-14)
version.py (36, 2023-10-14)

# MetaTrader EA Bot: Automated Trading Simplified ## Introduction Welcome to MetaTrader EA Bot, your go-to automated trading bot for the MetaTrader 5 platform. Built to execute trades using the insights of master traders, this bot provides automated capabilities for initiating, updating, and filtering trades according to your predefined criteria. ## Table of Contents - [Getting Started](https://github.com/jimmymaise/metatrader_ea/blob/master/#getting-started) - [Installation](https://github.com/jimmymaise/metatrader_ea/blob/master/#installation) - [Configuration](https://github.com/jimmymaise/metatrader_ea/blob/master/#configuration) - [How to Use](https://github.com/jimmymaise/metatrader_ea/blob/master/#how-to-use) - [Building the Executable](https://github.com/jimmymaise/metatrader_ea/blob/master/#building-the-executable) - [Code Anatomy](https://github.com/jimmymaise/metatrader_ea/blob/master/#code-anatomy) - [Get Involved](https://github.com/jimmymaise/metatrader_ea/blob/master/#get-involved) - [Legal](https://github.com/jimmymaise/metatrader_ea/blob/master/#legal) - [License](https://github.com/jimmymaise/metatrader_ea/blob/master/#license) ## Getting Started ### Installation 1. Open a terminal window and navigate to the root folder of the project. 2. To install necessary dependencies, type the command: 'poetry install' ### Configuration Before you run the bot, it's essential to set up your MetaTrader 5 login credentials and specify which master traders you wish to follow. 1. Locate and open the 'terminal_login.json' file. 2. Fill in your MetaTrader 5 login details and specify your preferred master traders to follow. Sample format for 'terminal_login.json': ``` { "username": "your_username", "password": "your_password", "master_traders": ["trader_1", "trader_2"] } ``` ### How to Use 1. Open a terminal window and navigate to the root folder of the project. 2. To run the bot, execute the Python code: 'from bot import bot_runner; bot_runner()' ## Building the Executable 1. Go to the directory containing the 'build.bat' script. 2. To build a standalone version of the bot, run the command: 'build.bat' ## Code Anatomy - 'bot.py': Houses the core classes and methods - 'TradingFromSignal': Central class containing methods for bot operation, signal processing, and exception handling. - 'worker()': Initializes an instance of 'TradingFromSignal' and executes the bot. - 'validate_mt5_settings()': Validates MetaTrader 5 configurations. - 'bot_runner()': Manages the configuration, validates settings, and initiates the bot. - 'build.bat': A script for compiling the bot into an executable - Captures the current build timestamp. - Compiles into a standalone executable. - Copies 'terminal_login.json' and 'version.py' to the output directory. ## Get Involved For contribution guidelines, please see the 'CONTRIBUTING.md' file. ## Legal ### License This software is under the MIT License. Refer to the 'LICENSE.md' file for full details.

近期下载者

相关文件


收藏者