semvec/pypi-packages huggingface dataset:
mt5-wrapper 1.0.8
A Python package that enhances the MetaTrader5 library by adding type annotations and IntelliSense support for better code readability, auto-complete, and improved developer experience.
License: MIT
Requires Python: >=3.13

# MT5 WRAPPER
MT5 Wrapper is a Python package that wraps around the MetaTrader5 library, adding type annotations and improving the developer experience with better IntelliSense, autocomplete, and code readability.

### Features
 - **Type Annotations**: Provides clear type hints for all major mt5 functions and classes.
 - **Improved IntelliSense**: Get accurate autocomplete suggestions in your favorite IDEs like VS Code or PyCharm.
 - **Enhanced Readability**: Makes working with the MetaTrader library easier and more error-free.

### Installation
```
pip install mt5-wrapper
```


### Getting Started
Here's a quick example of using mt5_wrapper:
```
import mt5_wrapper as mt5
mt5.initialize()

# get mt5 account info
account_info = mt5.account_info()

# check if account info is not None to prevent type errors in code editor since account info is possibly None
if account_info: 
    print(account_info.name)

mt5.shutdown()
```

### Requirements
 - Python 3.13 or later
 - MetaTrader5 terminal installed
 - MetaTrader5 Python package (installed automatically as a dependency)

### Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request to improve the package.

### License
This project is licensed under the MIT License.