diff --git a/README.md b/README.md index fac9c9c..725f2ed 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Mql5-Python-Integration (MQPy) -**Current Version: v0.6.7** +**Current Version: v0.6.8** Welcome to the Mql5-Python-Integration project! This project facilitates the integration between MetaTrader 5 (Mql5) and Python, allowing for efficient algorithmic trading strategies. @@ -23,7 +23,7 @@ Welcome to the Mql5-Python-Integration project! This project facilitates the int ## Project Update: Changes in Progress -🚧 **Work in Progress: v0.6.7** +🚧 **Work in Progress: v0.6.8** This project is currently undergoing significant changes and improvements. The latest version is v0.6.0, and various enhancements are being made to provide a more robust and user-friendly experience. 📌 **Previous Version: v0.5.0** diff --git a/mqpy/__main__.py b/mqpy/__main__.py new file mode 100644 index 0000000..3b3def2 --- /dev/null +++ b/mqpy/__main__.py @@ -0,0 +1,4 @@ +from .template import main + +if __name__ == "__main__": + main() diff --git a/mqpy/template.py b/mqpy/template.py index 9de65c7..fa8fe13 100644 --- a/mqpy/template.py +++ b/mqpy/template.py @@ -14,9 +14,9 @@ def main(): with open(f"{file_name}.py", "w") as file: file.write( - f"""from mqpy.src.rates import Rates -from mqpy.src.tick import Tick -from mqpy.src.trade import Trade + f"""from mqpy.rates import Rates +from mqpy.tick import Tick +from mqpy.trade import Trade # Initialize the trading strategy trade = Trade( diff --git a/pyproject.toml b/pyproject.toml index d4345e9..db612b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mqpy" -version = "v0.6.7" +version = "v0.6.8" description = "I developed this library to simplify the process of creating an Expert Advisor in MQL5. While developing in MQL5 can be complex, the same task is more streamlined in Python." authors = ["Joao Paulo Euko"] license = "MIT" diff --git a/setup.py b/setup.py index 7fcf229..8eeb480 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="mqpy", - version="v0.6.7", + version="v0.6.8", description="I developed this library to simplify the process of creating an Expert Advisor in MQL5. While developing in MQL5 can be complex, the same task is more streamlined in Python.", author="Joao Paulo Euko", license="MIT", @@ -19,7 +19,7 @@ ], entry_points={ "console_scripts": [ - "mqpy = mqpy.template:main", + "mqpy = template:main", ], }, )