Git Product home page Git Product logo

mtapi's Introduction

MtApi - .NET API for MetaTrader trading platform (MetaQuotes).

MtApi provides an .NET API interface to work with famous trading platfroms MetaTrader4 and MetaTrader5 (MetaQuotes). The api is using directly connection to MetaTrader terminal and is working with MQL functions and the most functions of the api have MQL interface. The connection can be local or remote (by TCP).

MtApi structure

The project has two parts:

  • client side (C#): MtApi and MtApi5;
  • server side (C# and C++/CLI): MTApiService, MTConnector, MT5Connector, MQL experts. Server side was designed with using WCF framework so it can be flaxible to setup connections but can be more slow compared with another connections types (for example, shared memory). MTApiService is common engine communication project of the API for MT4 and MT5. MTApiService library should be placed in Windows GAC (Global Assembly Cache). Installers in the project will copied it to GAC automatically.

How to build solution

The project is supported by Visual Studio 2015. To build solution you need to update sign key file in MtApiService project:

  • open properties of MTApiService project;
  • go to tab Signing and select item MtApiKey.pfx;
  • input password "MtApiService". To make api for MetaTrader4 use MtApiInstaller and for MetaTrader5 use MtApi5Installer. All installers will be placed in folder "[root]\build\installers" and all *.dll files will be placed in "[root]\build\products". MQL files have been build to ex4 and stored into folders "mq4" for MetaTrader and "mq5" for MetaTrader5. They are ready to using in terminals. If you change source code of MQL expert you have to recompile it with MetaEditor. In this case you need to copy files "hash.mqh" and "json.mqh" to MetaEditor include folder.

Home website

Please visit http://mtapi4.net

mtapi's People

Contributors

vdemydiuk avatar

Watchers

James Cloos avatar Erhan Cakirman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.