Files
MQL5-JSON-API-2/README.md
T
2019-04-23 17:04:18 +03:00

41 lines
1.3 KiB
Markdown

# Metaquotes MQL5 - Python Backtrader - API
### Development state: Alfa (Code not stable yet, documentation in development)
[Report Bug](https://github.com/khramkov/MQL5-Backtrader-API/issues) or [Request Feature](https://github.com/khramkov/MQL5-Backtrader-API/issues)
## Table of Contents
* [About the Project](#about-the-project)
* [Installation and usage](#installation-and-usage)
* [License](#license)
## About The Project
This project was created to work as a broker for Backtrader trading framework. It uses ZeroMQ sockets to communicate. Python side of this project located here: [Python Backtrader - Metaquotes MQL5 ](https://github.com/khramkov/MQL5-Backtrader-API)
Working:
* Account info
* Balance info
* Historical data
* Live data
* Fetching orders/positions
* Order creation
Not working:
* Cancel order
* Close position
* Trades info
* Check socket connection
* Change timeframe and instrument symdol
## Installation and usage
1. Inastall ZeroMQ for MQL5 [https://github.com/dingmaotu/mql-zmq](https://github.com/dingmaotu/mql-zmq)
2. Put 'include/json.mqh' from this repo to your host 'include' directoty.
3. Compile the code and attach it to chart in Metatrader 5.
4. This version dosn't support symbol and timeframe changing. You should control it yourself.
## License
Distributed under the MIT License. See `LICENSE` for more information.