Skip to content

Commit

Permalink
fix: file generation for mqpy command
Browse files Browse the repository at this point in the history
  • Loading branch information
Joaopeuko committed Dec 9, 2023
1 parent a6c79a7 commit e106a62
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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**
Expand Down
4 changes: 4 additions & 0 deletions mqpy/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .template import main

if __name__ == "__main__":
main()
6 changes: 3 additions & 3 deletions mqpy/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -19,7 +19,7 @@
],
entry_points={
"console_scripts": [
"mqpy = mqpy.template:main",
"mqpy = template:main",
],
},
)

0 comments on commit e106a62

Please sign in to comment.