Category: Без рубрики

Created with Sketch.

MT4 manager gRPC NodeJS example

API methods browser MT4 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 satic code generation in the typescript example. Run an example: node app.js The script: 'use strict'; const PROTO_PATH = __dirname…
Read more

MT5 manager gRPC JavaScript TypeScript client example

API methods browser MT5 manager proto file You need npm manager Ready to run example You need auto generated mt5 manager client libraries to run the code. The example has a script named "build:proto". This script creates libraries for you, and you should’t care about this. But, for those of you who has more experience…
Read more

MT4 manager gRPC JavaScript TypeScript client example

API methods browser MT4 manager proto file You need npm manager Ready to run example You need auto generated mt4 manager client libraries to run the code. The example has a script named "build:proto". This script creates libraries for you, and you should’t care about this. But, for those of you who has more experience…
Read more

MT5 manager gRPC Python client example

Methods browser MT5 manager proto file Python installation PIP package manager installation Install grpcio-tools package: pip install grpcio-tools To run the code, you need to create an autogenerated libraries. You can find it in the repository, or generate it by yourself. Generation instructions are followed below. Grpc python libraries generation: Once grpcio-tools is installed, you…
Read more

MT4 Manager gRPC example for Python

Methods browser MT4 manager proto file Python installation PIP package manager installation Install grpcio-tools package: pip install grpcio-tools To run the code, you need to create an autogenerated libraries. You can find it in the repository, or generate it by yourself. Generation instructions are followed below. Grpc python libraries generation: Once grpcio-tools is installed, you…
Read more

MT5 manager gRPC PHP8.1 client example

MT5 manager gRPC methods description MT5 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…
Read more

MT5 manager gRPC API Go language client example

MT5 manager gRPC API methods MT5 manager gRPC API proto file Ready to run example Install autogenerated cleint libraries: go get git.mtapi.io/root/grpc-proto.git/mng5grpc/go go get github.com/davecgh/go-spew Alternatively, use this command for your own libraries’ generation, if needed: docker run –user "$(id -u):$(id -g)" -v `pwd`:/defs namely/protoc-all -f ./$PROJECT/Protos/mt5mng.proto -l go -o ./golib Put you credentials for…
Read more

MT4 manager gRPC API Go language client example

MT4 manager gRPC API methods MT4 manager gRPC API proto file Ready to run example Install autogenerated cleint libraries: go get git.mtapi.io/root/grpc-proto.git/mt4mng/go go get github.com/davecgh/go-spew Alternatively, use this command for your own libraries’ generation, if needed: docker run –user "$(id -u):$(id -g)" -v `pwd`:/defs namely/protoc-all -f ./$PROJECT/Protos/mt4mng.proto -l go -o ./golib Put you credentials for…
Read more

MT5 gRPC PHP8.1 client example

MT5 gRPC methods description MT5 gRPC API proto file Ready to run example Preparations. Install PHP8.1 Install PHP composer Install grpc pecl package for Linux. sudo pecl install grpc Add to php.ini: extension=grpc.so Install PHP gRPC 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…
Read more

MT4 gRPC PHP8.1 client example

MT4 gRPC methods description. Proto file. Ready to run example. Install PHP. For windows you need version 8.1, because, there isn’t compiled grpc library for 8.2. Install php composer. Install grpc pecl package for Linux. sudo pecl install grpc Add to php.ini: extension=grpc.so Install grpc pecl package for Windows. go to https://pecl.php.net/package/gRPC and download the…
Read more