InstaForex is an Official Asian and CIS
Trading Partner of Liverpool Footbal Club
The Best Broker in Asia 2009 - 2015*
*According to International Finance Magazine, World Finance Award, ShowFx World and CIOT Exhibitions
Register as partner

Advanced statistics

Full information on profits and attracted customers in a real time mode

More



Monitoring API

InstaForex, a fast-developing broker, strives to provide its partners with the state-of-the-art technologies to disseminate the information. We are glad to present a new marketing solution – Monitoring API of PAMM accounts transmitted from the official website of the company.

API allows copying of such application as Monitoring and embedding it in the partner’s web resource.

PAMM Monitoring embedded in your website will give an opportunity to the visitors to see the up-to-date rating of PAMM traders. The filter system enables sorting by trading account balance, current trades, and other parameters. Quick search in the list of PAMM traders helps investors to see the success dynamics of a PAMM trader over a certain period.

  • The document contains examples of applications for most widely used programming languages.

Example PHP 1

#Get balance history

include_once('lib/nusoap.php');

$wsdl = 'http://api.monitoring.instaforex.com/soap/wsdl';
$client = new nusoap_client($wsdl, 'wsdl');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;

$err = $client->getError();
if ($err)
{
echo 'Constructor error';
print_r($err);
}
else
{
$params = array('accountID' => 1009498);
$res = $client->call("GetBalanceHistory", array('params' => $params));

print_r($res, true);
}

Example PHP 2

#Get user data

include_once('lib/nusoap.php');

$wsdl = 'http://api.monitoring.instaforex.com/soap/wsdl';
$client = new nusoap_client($wsdl, 'wsdl');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;

$err = $client->getError();
if ($err)
{
echo 'Constructor error';
print_r($err);
}
else
{
$param = array('accountID' => 1009289);
$res = $client->call("GetUserData", $param);

print_r($res, true);
}

Example PHP 3

#Get account data

include_once('lib/nusoap.php');

$wsdl = 'http://api.monitoring.instaforex.com/soap/wsdl';
$client = new nusoap_client($wsdl, 'wsdl');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;

$err = $client->getError();
if ($err)
{
echo 'Constructor error';
print_r($err);
}
else
{
$params = array();
$res = $client->call("GetMonitoringTable", array('params' => $params));

print_r($res, true);
}

See also