Algotrading

Algotrading

Algorithmic trading allows you to automate daily routine tasks performed by a trader in terms of analysis and opening positions, namely: collecting information about the asset of interest, building complex mathematical models and making a large number of calculations, opening and closing deals in few seconds, etc.

It should be noted that algorithmic trading allows eliminating the human factor (emotions, intuition, speculations, wrong forecasts) when making trading decisions.
 
1.  To obtain the necessary data for authorization (api id, api secret, api key), you should contact:
  1. Emailsupport@free2ex.com 
  2. Online chat on the website or personal account (icon in the lower right corner of the screen)   
  1. Mobile app:
    1. FREE2EX (exchanger). Account -> Help and support
    2. FREE2EX Trade (to work with trading accounts). About the program -> Support Chat
Info
In advance, you need to specify the number of your trading account(s) on which you plan to open deals or any other actions using api queries.


2. For a practical application of future api queries, let's use the following documentation in Swagger

3. To test the queries, you need to insert the following data (obtained in step 1).



4. To test GET requests, you need to perform the following steps.


  1. Select the desired query in the group.


  2. In the request drop-down list, click on the button and then Execute

  3. The result of the query can then be viewed



5.  To work with POST queries (to be careful not to test queries for opening/closing trades), you should additionally specify input parameters such as: start of period, end of period, etc.

  1. To test the query, you need to click on the Try it out button



  2. Then enter the required and optional parameters

    Note. At the beginning of the POST query description, the parameters that can be used are specified. Optional means optional, you can specify it or not. Required is mandatory, without it the query will not work




  3. Example of parameters for obtaining the history of deals on the account



  4. Next, click on the Execute button and you can see the result of the request below



6. You can click on the Examples tab for code samples (not a link, but it brings up a popup window)



In the pop-up window, select the tool you are interested in



GitHub C# Examples

GitHub JavaScript Examples

GitHub Python Examples

GitHub R Examples

GitHub Web-Socket Examples


Then you will go to the GitHub repository, where all the documentation and examples of using the code itself are located. You can easily create your own working copy and modify the proposed code to suit your needs and tasks.


Alert

Please note that this repository is controlled by an independent company. When registering on GitHub, users are asked to accept the terms of service outlined in the GitHub Terms of Service document.


Under these terms, you own the content you create, but you grant GitHub certain rights to it so that the service can display and share the content you post. You still control and are responsible for your content, and the rights you grant to GitHub are limited to those necessary to provide the service. GitHub reserves the right to remove content or terminate accounts if necessary. To interact with the GitHub repository, we recommend that you read the GitHub Terms of Use carefully. 

We also draw your attention to the need to be careful with personal data when posting information to the GitHub repository. We recommend that you do not include your personal data (e.g., name, address, contact information, account information, etc.) in source code, code snippets, or in any other way