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

MT5 gRPC JavaScript TypeScript client example

Methods browser Proto file. Ready to run example You need auto generated mt5 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 and, for some reason, wants to generate libraries…
Read more

MT4 gRPC JavaScript TypeScript client example

Methods browser Proto file Ready to run example You need auto generated mt4 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 and, for some reason, wants to generate libraries…
Read more

How to set up MT4grpc API image on the microK8s Kubernetes cluster from a blank virtual machine based on Debian 11

Log in to the virtual machine console Use SSH for getting access to the virtual machine admin console. Have a look at details here. Create SSH key. Set up user with public ssh key on the virtual machine. Use for connection via ssh: ssh <username>@<virtual-machine-public-ip-address> Prepare microK8s cluster Update operation system: sudo apt-get update sudo…
Read more

MT5 client GRPC example for JAVA app

Methods browser MT5 proto file Install before running 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 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