Frequently Asked Questions:

----------------------------

Is your API legal?

Our API uses only the means made available by the software developers of the trading platform. We don't use any kind of illegal or unethical means to capture the trading history. We don't use any methods that will put the broker platform at risk or create any kind of overload. We feel our approach is fully legal as well as ethical.

 

Do you have any kind of relationship with the brokers that allows you to read the data?

No. We don't have any sort of affiliation, relationship or any kind of special connection or permissions from any of the brokers. We simply connect to their trade servers to read the data. We are a software development company. Nothing else.

 

How to find trade server for any MT4 or MT5 account?

Our API works only when you provide accurate trader server address (usually in the form of IP and port number). Without this the API cannot fetch the trading history correctly. Please watch the video shown below for this.

 

What is chart suffix and how to find it?

Chart suffix is a small extension that brokers add to their symbol charts. For example, some brokers may have their symbols setup as USDCHFm - notice that little "m" in the end? That is the chart suffix.

You can find chart suffix by going to the market watch window or just by opening a chart for any symbol that you are allowed to trade. Note that in some cases, broker may have multiple suffixes - or charts with no suffix and suffix in the same market watch window.

 

What is the format of the output CSV file that we get back from the successful API call?

When API call is successful, you get the CSV data back in the following format.

There are two main types of records the CSV file has:

1 - Trade record - this is indicated by the first character as "T". In case of MT5, these will be indicated by D for deal, P for position.

2 - Header record - this is indicated by the first character as "H".

For each column and its purpose, refer to the following images.

Image 1 - Illustration of Header record in CSV file:

Image 2 - Illustration of Trade record in CSV file:

 


footer-frame