MT4 manager api manager (C++dll)

 

Hi all,

i'm using MT4 manager api manager (C++dll) but i have a problem:

i can connect to server with function CManagerInterface::Connect()

the problem is the login, user and password are ok, also the server where i connect, but the funcion  CManagerInterface::Login() return error BAD_REQUEST.

With the same credenzials, server-user-password, i can connect from MT4 application. The problem is with  MT4 manager api manager (C++dll).

In the documentation on tyqa.com is write:

Only an account from the “manager” group, for which permissions are specified in the MetaTrader Administrator in Managers section (ConManager), can connect using the Manager API.

Is this the problem? How can resolve it? I tried to use CfgUpdateManager() to set a new configuration with flag login and admin check, but for use it i must have admin access e i think is this the problem because the call to function return error.

Someone can help me?


Thank's very much.

 

kappak: i'm using MT4 manager api manager (C++dll) but i have a problem:

i can connect to server with function CManagerInterface::Connect()

the problem is the login, user and password are ok, also the server where i connect, but the funcion  CManagerInterface::Login() return error BAD_REQUEST.

With the same credenzials, server-user-password, i can connect from MT4 application. The problem is with  MT4 manager api manager (C++dll).

In the documentation on tyqa.com is write:

Only an account from the “manager” group, for which permissions are specified in the MetaTrader Administrator in Managers section (ConManager), can connect using the Manager API.

Is this the problem? How can resolve it? I tried to use CfgUpdateManager() to set a new configuration with flag login and admin check, but for use it i must have admin access e i think is this the problem because the call to function return error.

Someone can help me?

This forum is mostly for retail users of the MetaTrader terminal and the MQL language. It is not for the server or broker side of the interface nor any external 3rd party API's.

The MT4 Manager API is a 3rd Party tool developed by TYQA, not MetaQuotes. So, I suggest you consult their documentation and request support from them.

 

The API is developed by MetaQuotes Software Corp.

 
kappak:

The API is developed by MetaQuotes Software Corp.

APi is not public and it is available for some brokers only.

I am sorry but it is the forum of the traders and coders, and not the brokers.

 

Forum on trading, automated trading systems and testing trading strategies

MetaTrader 5 Gateways & Connectivity

MetaQuotes Software Corp., 2013.08.21 17:03

Depth of Market in MetaTrader 5

A variety of integration gateways to liquidity providers and stock exchanges have recently been developed for MetaTrader 5 trading platform. Using these solutions, brokers now can greatly improve their business and enter new markets. We have decided to summarize the first integration results and make a list of already working MetaTrader 5 gateways.

Liquidity Providers (ECNs)

ECNs (Electronic Communication Networks) provide liquidity when using MetaTrader 5. We have developed gateways to the most well-known providers, and any MetaTrader 5 broker can now make use of their services:

  1. Integral
  2. CitiFX Pro
  3. Hotspot FX
  4. FastMatch
  5. Currenex

Our gateways not only give access to liquidity providers but also provide maximum speed of executing operations. Moreover, these gateways are fairly simple and secure solutions allowing brokers to quickly connect to a provider and use its services.

Stock Exchanges

MetaTrader 5 has been developed as a multi-market platform. Nowadays, it can be used not only for arranging Forex trading but also for working on stock exchanges:

  1. Moscow Exchange (former RTS)
  2. Singapore Mercantile Exchange (SMX)
  3. Dubai Gold and Commodities Exchange (DGCX)
  4. Global Board of Trade (GBOT)
  5. BM&FBOVESPA (Brazilian stock exchange)
  6. Ukrainian Exchange
  7. Chicago Mercantile Exchange (CME)
  8. Warsaw Stock Exchange (WSE)
  9. Australian Securities Exchange (ASX)
  10. Turkish Derivatives Exchange (TURKDEX)

MetaTrader 5 platform's versatility makes it easy to expand the brokerage business and enter new markets. For example, any Forex broker can start working on a stock exchange, as well as a stock broker can launch the platform on an exchange and then enter Forex market. In any of these cases, all MetaTrader 5 technologies and services (social, mobile and algorithmic trading, as well as the market of trading robots) retain their functionality and remain attractive to traders.

The platform's features go beyond the proposed list, and the works on integration of MetaTrader 5 with other stock exchanges and liquidity providers are currently underway. Besides, Gateway API allows brokers to develop a gateway to any system or exchange on their own. Some brokers have already done that, while the proposed interfaces have greatly simplified their work. Moreover, API allows development of a hybrid ECN engine with multiple providers. That engine will act as trading server's own ECN platform.

MetaTrader 5 can work with 5 ECNs and 10 Exchanges

Follow the news!


 

ok, thanks.

this means that i can't use it? I want implement a tradyng system in c#, how can i do it?

 
kappak:

ok, thanks.

this means that i can't use it? I want implement a tradyng system in c#, how can i do it?

I am not from MetaQuotes ... so I do not know.
I just provided the information only.

 
kappak:

ok, thanks.

this means that i can't use it? I want implement a tradyng system in c#, how can i do it?

I've been wanting to make an API for a while, but haven't gotten around to it... I had planned on creating an EA which runs as a socket server and creates a JSON layer API in which any language can call to the API using JSON requests and receive JSON responses in return, similar to a REST API that runs inside MT via EA. 

Reason: