yehtoo/metatrader5

Metatrader 5 Web API Wrapper for Laravel

dev-main 2022-05-11 02:17 UTC

This package is auto-updated.

Last update: 2024-10-11 07:45:08 UTC


README

This is Laravel 6.x package wrapper library for Metatrader 5 Web API

This package require composer 2.0

Documentation

Installing

To install the package, in terminal:

composer require yehtoo/metatrader5

Configure

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Yehtoo\MetaTrader5\MetaTraderProvider::class,

Copy the package config to your local config with the publish command:

php artisan vendor:publish --provider="Yehtoo\MetaTrader5\MetaTraderProvider"

and then you can configure connection information to MT5 with this .env value

MT5_SERVER_IP=
MT5_SERVER_PORT=
MT5_SERVER_WEB_LOGIN=
MT5_SERVER_WEB_PASSWORD=