vendredi 5 octobre 2018

Get real-time forex rates for free (with Metatrader 5 and C#)

Here is an open source project maintained by InvestData Systems that enables you to get realtime forex quotes from a Metatrader 5 platform from a C# HTTP Server. It runs completely on one computer on which you need to install Metatrader 5 and run the executable ForexRatesViewer.exe that will create a CSV file in you Documents folder that will then record all the forex rates in realtime.

You can also adapt the source code to do any custom calculation in real-time.

A future release of the project will get backward data to send them to a CSV file (to get full data history of all financial instruments available in one Metatrader 5 trading platform).

Here is the link to the project on GitHub :
https://github.com/reuniware/Forex-Rates-Viewer

And a screenshot of the C# side receiving data from Metatrader 5 :