Month: October 2023

MT4 client GRPC example for JAVA app

Methods browser MT4 proto file Install before run an example JAVA JDK open JDK 21.0.1 is recommended MAVEN plugin Ready to run example Do maven clean installation with extended debug info mvn clean install -X Clases should be generated. If you need generated classes separately from the example project, you can download it from repository.…
Read more

MT4 client gRPC NodeJS example

Methods browser You need npm to be installed Ready to run example Proto file Do package installation before app running npm install This example has a dynamic code generation You can find satic code generation in the typescript example. Example: 'use strict'; const PROTO_PATH = __dirname + '/mt4.proto'; const grpc = require('@grpc/grpc-js'); const protoLoader =…
Read more

MT4 Manager gRPC example for PHP

Methods browser MT4 manager gRPC API proto file Ready to run example Install gRPC pecl package for Linux. sudo pecl install grpc Add to php.ini: extension=grpc.so Install PHP gRPC pecl package for Windows go to https://pecl.php.net/package/gRPC download the package for your operation system and PHP version. For example 8.1 for Windows paste it to the…
Read more

MT5 Manager gRPC example for NodeJS

Methods browser MT5 manager proto file You need npm installed Ready to run example Run install packages installation: npm install Input your server credentials: This example has a dynamic code generation You can find static code generation in the typescript example. Run an example: node app.js After that you can run this simple example: 'use…
Read more

MT5 gRPC Client NodeJS example

Methods browser MT5 proto file You need npm installed Ready to run example This example has a dynamic code generation You can find satic code generation in the typescript example. Run install packages installation: npm install Run an example node app.js 'use strict'; const PROTO_PATH = __dirname + '/mt5.proto'; const grpc = require('@grpc/grpc-js'); const protoLoader…
Read more