ibf/mt4-sdk-php
最新稳定版本:v1.0.1
Composer 安装命令:
composer require ibf/mt4-sdk-php
包简介
SDK for using the Metatrader4 API in PHP
README 文档
README
Here are a few examples:
$manager = new \D4T\MT4Sdk\Manager('<api-key>', '<mt4-api-endpoint>') // creating a account $account = $manager->createAccount([ 'email' => '1@1.com', 'name' => 'My new campaign' ]);
// listing all logins $logins = $manager->accounts(); foreach($logins as $login) { echo $login; }
Installation
You can install the package via composer:
composer require dev4traders/mt4-sdk-php
You must also install Guzzle
composer require guzzlehttp/guzzle
Usage
To get started, you must first new up an instance of D4T\MT4Sdk\Manager
use D4T\MT4Sdk\Manager; $manager = new \D4T\MT4Sdk\Manager('<api-key>', '<mt4-api-endpoint>')
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-17