This commit is contained in:
Ichinga Samuel
2024-11-16 12:40:52 +01:00
parent d4a66cdd92
commit 3143ca9936
2 changed files with 14 additions and 9 deletions
+11 -4
View File
@@ -194,16 +194,23 @@ class EMAXOver(Strategy):
else: else:
await self.trader.place_trade(order_type=self.tracker.order_type, parameters=self.parameters) await self.trader.place_trade(order_type=self.tracker.order_type, parameters=self.parameters)
await self.delay(secs=self.tracker.snooze) await self.delay(secs=self.tracker.snooze)
``` ```
## API Documentation ### Testing
Run the tests with pytest
```bash
pytest test
```
### API Documentation
see [API Documentation](docs) for more details see [API Documentation](docs) for more details
## Contributing ### Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## Support ### Support
Feeling generous, like the package or want to see it become a more mature package? Feeling generous, like the package or want to see it become a more mature package?
Consider supporting the project by buying me a coffee. Consider supporting the project by buying me a coffee.
+3 -5
View File
@@ -1,8 +1,5 @@
[build-system] [build-system]
requires = [ requires = ["setuptools>=61.0"]
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
@@ -15,7 +12,8 @@ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
keywords = ['MetaTrader5', 'Asynchronous', 'Algorithmic Trading', 'Trading Bot'] keywords = ["MetaTrader5", "Asynchronous", "Algorithmic Trading", "Trading Bot", "Backtesting",
"Technical Analysis", "Forex", "Stocks", "Cryptocurrency", "Futures", "Options"]
dependencies = ["MetaTrader5>=5.0.37", "pandas>=1.5.0", "pandas-ta>=0.3.14b0"] dependencies = ["MetaTrader5>=5.0.37", "pandas>=1.5.0", "pandas-ta>=0.3.14b0"]
authors = [{name = "Ichinga Samuel", email = "ichingasamuel@gmail.com"}] authors = [{name = "Ichinga Samuel", email = "ichingasamuel@gmail.com"}]
description = "Asynchronous MetaTrader5 library and Algorithmic Trading Framework" description = "Asynchronous MetaTrader5 library and Algorithmic Trading Framework"