empty
 
 
واجهه برمجية لغرفة العميل

واجهه برمجية لغرفة العميل

أولوية إنستافوركس هى تقديم خدمات مبتكرة لعملائها من أجل نجاحهم فى عمليات التداول. منذ اليوم الأول للشركة وهى تسعى لتزويد عملائها بأحدث التقنيات فى سوق الفوركس.

إلى جانب المزايا الأخرى للعمل مع إنستافوركس، يمكن لكل عميل في الشركة الاستفادة من خدمة جديدة - الواجهة البرمجية لغرفة العميل.

خدمة الواجهة البرمجية هي مكتبة وظائف كبيرة متاحة لكل عميل من عملاء إنستافوركس. باستخدام هذه الخدمة الجديدة، ستتمكن من الوصول إلى الوظائف الرئيسية لغرفة العميل على أي موارد ويب.

فالآن يمكن لكل عميل من عملاء إنستافوركس الاستفادة من المجموعة التالية من الخيارات المتاحة في غرفة العميل: الاستفسارات عن الصفقات المفتوحة والمغلقة ورصيد الحساب والعقود المغلقة خلال فترة زمنية معينة وإحصائيات البونص و سجل الدخول وملخص الحساب.

مستويات الوصول

هناك مستويان من الوصول إلى وظائف الواجهة البرمجية لغرفة العميل.

لا يتطلب الوصول المجاني إدخال أي معلومات إضافية.

بناءا على الإعدادات، مع وصول محدود يمكنك عرض البيانات إلا بعد إدخال كلمة المرور أو كلمة مرور الآي بي وقناع الآي بي.

تسمح الواجهة البرمجية لغرفة العميل لجميع عملاء إنستافوركس بالاحتفاظ بحساب التداول الخاص بهم تحت المراقبة دون الحاجة إلى تسجيل الدخول إلى غرفة العميل على الموقع الرسمي للشركة.

مثال PHP

$Login = 0; #Must be Changed
$apiPassword = "password"; #Must be Changed
$data = array("Login" => $Login, "Password" => $apiPassword);
$data_string = json_encode($data);

$apiAuthenticationMethod = ''; #Must be Changed
$ch = curl_init('https://client-api.instaforex.com/'.$apiAuthenticationMethod);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Content-Length: ' . strlen($data_string)));

$token = curl_exec($ch);
curl_close($ch);

$apiMethodUrl = ''; #Must be Changed
$ch = curl_init('https://client-api.instaforex.com/'.$apiMethodUrl.$Login); #possibly Must be Changed part with [$Login]. Depends on the method param
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('passkey: '.$token));
$result = curl_exec($ch);
echo $result;

مثال C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;

namespace ClientPartnerApiDemoProject{
class PartnerApiSample{
public void TestMethod(){
const int login = 000000;
const string pass = "your pass";
var token = GetToken(login, pass);
var result = GetCommissionRecords(login, token);
foreach (var trade in result){
Console.WriteLine("{0} {1}",trade.Partner, trade.BalanceRecords.Count);
}
}
public string GetToken(int login, string password){
var client = new HttpClient();
HttpContent tokenContent = new ObjectContent(typeof(AccessTokenRequest), new AccessTokenRequest { Login = login, Password = password }, new JsonMediaTypeFormatter());
var token = client.PostAsync("https://client-api.instaforex.com/api/Authentication/RequestPartnerApiToken", tokenContent).Result.Content.ReadAsStringAsync().Result;
return token;
}
public List GetCommissionRecords(int login, string token){
var client = new HttpClient();
client.DefaultRequestHeaders.Add("passkey", token);
var result = client.GetAsync(string.Format("https://client-api.instaforex.com/partner/GetCommissionRecords/{0}", login)).Result.Content.ReadAsAsync>().Result;
return result;
}
public class AccessTokenRequest{
public int Login { get; set; }
public string Password { get; set; }
}
}
}

شاهد ايضاً

Grand Choice Contest by InstaForex

InstaForex always strives to help you fulfill your biggest dreams. We all have different dreams and goals. We have taken it into account before launching our new contest. This time, we have prepared more than one prize. The winner will have the opportunity to decide which of the dreams to pursue.

Grand Choice Contest by InstaForex

InstaForex always strives to help you fulfill your biggest dreams. We all have different dreams and goals. We have taken it into account before launching our new contest. This time, we have prepared more than one prize. The winner will have the opportunity to decide which of the dreams to pursue.

InstaSpot

InstaSpot

We have created a convenient service for buying, selling, and exchanging currencies, cryptocurrencies, and other assets.

InstaSpot is a trustworthy service for a trader, miner, freelancer, and for everyone who does business on the Internet.

Familiarize yourself with a user-friendly and reliable exchanger for digital currencies and other popular assets. InstaSpot is based on the principle of P2P trading, which allows buyers and sellers to interact directly without intermediaries. At the same time, InstaForex acts as a guarantor of the secured transaction.

InstaSpot

We have created a convenient service for buying, selling, and exchanging currencies, cryptocurrencies, and other assets.

InstaSpot is a trustworthy service for a trader, miner, freelancer, and for everyone who does business on the Internet.

Familiarize yourself with a user-friendly and reliable exchanger for digital currencies and other popular assets. InstaSpot is based on the principle of P2P trading, which allows buyers and sellers to interact directly without intermediaries. At the same time, InstaForex acts as a guarantor of the secured transaction.

فريق لوبريس إنستافوركس هو مشارك رسمي في رالي داكار

فريق لوبريس إنستافوركس هو مشارك رسمي في رالي داكار

إنستافوركس هي الراعي الرئيسي للمشارك الرسمي في رالي داكار، فريق لوبريس إنستافوركس. فريق الرالي هذا هو مشروع مشترك بين إنستافوركس وفريق لوبريس، وهو مشارك منتظم في رالي داكار، وشركة تاترا المصنعة للسيارات، التي تزود الفريق بالشاحنات الشهيرة.

فريق لوبريس إنستافوركس هو مشارك رسمي في رالي داكار

إنستافوركس هي الراعي الرئيسي للمشارك الرسمي في رالي داكار، فريق لوبريس إنستافوركس. فريق الرالي هذا هو مشروع مشترك بين إنستافوركس وفريق لوبريس، وهو مشارك منتظم في رالي داكار، وشركة تاترا المصنعة للسيارات، التي تزود الفريق بالشاحنات الشهيرة.

شارك في برنامج بونصات إنستافوركس

شارك في برنامج بونصات إنستافوركس

تقدم إنستافوركس أيضًا بونصات جذابة مقابل تجديد حساب التداول. سيحصل المتداولون الذين يقومون بشحن حساباتهم على فرصة زيادة مبلغ ودائعهم بشكل كبير. احصل على بونص بنسبة 100٪ على أول إيداع وقم بزيادة حجمه بمقدار 1.5 مرة وأكثر. هذه فرصة رائعة لكل من المستثمرين المبتدئين والمحترفين لزيادة مبلغ ودائعهم!

لماذا لا تجرب ذلك؟ شارك في الحملة وأغلق أول صفقة مربحة لك اليوم!

شارك في برنامج بونصات إنستافوركس

تقدم إنستافوركس أيضًا بونصات جذابة مقابل تجديد حساب التداول. سيحصل المتداولون الذين يقومون بشحن حساباتهم على فرصة زيادة مبلغ ودائعهم بشكل كبير. احصل على بونص بنسبة 100٪ على أول إيداع وقم بزيادة حجمه بمقدار 1.5 مرة وأكثر. هذه فرصة رائعة لكل من المستثمرين المبتدئين والمحترفين لزيادة مبلغ ودائعهم!

لماذا لا تجرب ذلك؟ شارك في الحملة وأغلق أول صفقة مربحة لك اليوم!

فيسواناثان أناند - بطل العالم الخامس عشر للشطرنج

فيسواناثان أناند - بطل العالم الخامس عشر للشطرنج

تفخر إنستافوركس بأن تعلن تعاونها مع بطل الشطرنج الشهير فيسواناثان أناند. لقد كرس عمله منذ الطفولة. أناند هو أسطورة أثبت أنه لا يوجد شيء مستحيل لمن يسعون لتحقيق أهدافهم. يعتقد فيسواناثان أناند أن الشطرنج والتداول لديهما الكثير من الأشياء المشتركة. يتطلب كل من الشطرنج والتداول ذكاءً وخبرة، فضلاً عن التطلع إلى الحرية والقيادة.

فيسواناثان أناند - بطل العالم الخامس عشر للشطرنج

تفخر إنستافوركس بأن تعلن تعاونها مع بطل الشطرنج الشهير فيسواناثان أناند. لقد كرس عمله منذ الطفولة. أناند هو أسطورة أثبت أنه لا يوجد شيء مستحيل لمن يسعون لتحقيق أهدافهم. يعتقد فيسواناثان أناند أن الشطرنج والتداول لديهما الكثير من الأشياء المشتركة. يتطلب كل من الشطرنج والتداول ذكاءً وخبرة، فضلاً عن التطلع إلى الحرية والقيادة.

لا تستطيع التحدث الآن؟
اطرح سؤالك في الدردشة.
Widget callback