diff --git a/README.md b/README.md index fba692e..7efb8a4 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Mql5-Python-Integration (MQPy) -**Current Version: v0.6.0** +**Current Version: v0.6.6** 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.0** +🚧 **Work in Progress: v0.6.6** 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/__init__.py b/mqpy/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mqpy/src/template.py b/mqpy/src/template.py index ad493ae..9de65c7 100644 --- a/mqpy/src/template.py +++ b/mqpy/src/template.py @@ -10,10 +10,11 @@ def get_arguments(): def main(): file_name = get_arguments()["file_name"] + symbol = get_arguments()["symbol"] with open(f"{file_name}.py", "w") as file: file.write( - """from mqpy.src.rates import Rates + f"""from mqpy.src.rates import Rates from mqpy.src.tick import Tick from mqpy.src.trade import Trade @@ -21,7 +22,7 @@ def main(): trade = Trade( expert_name="Moving Average Crossover", version=1.0, - symbol="EURUSD", + symbol="{symbol}", magic_number=567, lot=1.0, stop_loss=25, diff --git a/pyproject.toml b/pyproject.toml index 45b25c3..f2fac28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mqpy" -version = "v0.6.5" +version = "v0.6.6" 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 d65bddf..8b4f2fb 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="mqpy", - version="v0.6.5", + version="v0.6.6", 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",