Current project is already obsolete and evolved into FinCore application where Backend Server and Frontend Client tied together in one .NET Core + Angular application. New application can be downloaded here: FinCore
XTrade is a good project for managing trading experience and personal capital state. Project consists from Server XTradeServer app and XTrade Web App. XTrade Main Server is a Windows service which manages all trading terminals, process all data and signals, stores everything in MySQL database, hosts XTrade Web app as a self host. XTrade Web App is an Angular Web application which administrates XTrade Server.
Application features list is in Readme.pdf file in root folder.
How to build server application:
- Clone this repository
- Run from command line: build.bat
To make build succeeded the following apps should be installed: Visual Studio 2017, Visual Studio 2017 Build tools. Applications need to be installed to run server properly:
- Metatrader 5 Terminal
- Optionally - QUIK terminal.
- Optionally StockSharp applications in case if you trade with QUIK and/or Cryptos. StockSharp is free and can be downloaded here http://stocksharp.com.
- Optionally MySQL Server version 5 or later.
SQLite database located in /DB folder. By default SQLite DB file used, but MySQL also supported, you can switch to MySQL in bin/XTrade.config file.
Open xtrade_empty.sqlite file in any DB editor that works with SQLite ( like Navicat ).
Open Settings table and set the following variables
XTrade.TerminalUser - should be set to windows user login name where trading terminals will be running
XTrade.InstallDir - XTrade installation folder.
Metatrader.CommonFiles - path to MT5 common files folder
MQL.Sources - path to MQL folder where your MQL robots stored
To install application run (under Administrator privileges): install.bat
If you have problems running check XTrade.MainServer.log to see errors.
XTrade Server folders structure:
/bin - binary folder where server binaries stored.
/dist - location of XTeade WebApp production build files.
/BusinessLogic - main app logic
/BusinessObjects - shared business objects
/MainServer - main server self host and WebAPI controllers
/MQL - MQL sources of trading robot.
/QUIKConnector - connector library to QUIK terminal using StockSharp libraries.
/UnitTests - Tests of server WebAPI
/ML - Machine Learning in Trading in Python. LSTM Models for Price Prediction.
Warning: It is a free version of application. Application works and can be used on real trading accounts. This repository contains free alfa version. You can base your trading software solutions on this app. If you need help with application installation/run/clarification on your trade server you can write me, but consultation is not free. Also better version of this application available which can be purchased or modified to your needs for money, contact me if you like application idea and ready to invest money/time to adapt this application to your trading goals.
If you are a programmer and want to start learn trading this application is a good free choice. If you are a professional trader then you can hire me to improve this app and apapt it to your trading goals.
XTrade Web app repository and build instructions here XTradeWeb