Mt4ManagerNet
Mt4ManagerNet
Introduction
Mt4ManagerNet is a .NET library based on the MetaTrader Manager API, providing easy-to-use interfaces for managing MetaTrader servers.
The MetaTrader Manager API is a DLL library that contains the complete set of administrator and manager commands for accessing MetaTrader servers. Users of the Manager API can write custom administrator or manager tools, or even develop independent management terminals.
Application Scenarios
- CRM System Integration: Use Mt4ManagerNet to manage client accounts, agent rebates, and other functions
- MAM Copy Trading System: Implement platform-level copy trading services and manage client transactions
- Custom Trading Strategies: Develop personalized trading management tools
- Automated Operations: Batch manage accounts and execute server operations
Features
- ✅ Complete set of administrator and manager commands
- ✅ Simple and easy-to-use .NET interface design
- ✅ Supports core functions such as account management, order processing, and report generation
- ✅ Most commands have been tested and verified
Installation
- Clone the project to your local machine
- Reference
Mt4ManagerNetin your project - Implement your business functions and compile the project
- Copy mtmanapi.dll and mtmanapi64.dll to your project directory
Usage Example
You can refer to the sample code in the Mt4ManagerNet.Demo project.
using Mt4ManagerNet;
// Connect to MetaTrader server
ConnectionParameters parameters = new ConnectionParameters();
parameters.Server = server;
parameters.Login = loginint;
parameters.Password = password;
_mt4Manager = new ClrWrapper(parameters);
// Get account list
var users = _mt4Manager.UsersRequest();
if (users != null)
{
Log($"UsersRequest, total {users.Count}");
dataGridView_user.DataSource = null;
dataGridView_user.DataSource = users;
dataGridView_user.Refresh();
}
// Disconnect
_mt4Manager.Disconnect();License
MIT License
Contact
For business cooperation: zhao0876@163.com
Last updated on