romulodl/ssl
Composer 安装命令:
composer require romulodl/ssl
包简介
calculate the Ssl channel without the PECL trader extension
README 文档
README
Calculate the SSL Channel
Instalation
composer require romulodl/ssl
or add romulodl/ssl to your composer.json. Please check the latest version in releases.
Usage
$ssl = new Romulodl\Ssl(); $ssl->calculate(array $hlc_values); // [high, low, close] //returns integer (1 for positive channel or -1 for negative channel)
Example of use:
$ssl = new Romulodl\Ssl(); $ssl->calculate([ [9950.00,9250.66,9786.80], [9843.50,9100.00,9310.73], [9585.00,9210.03,9374.99], [9880.00,9317.16,9678.57], [9958.67,9450.00,9731.10], [9900.00,9462.00,9773.64], [9838.00,9281.42,9508.11], [9573.00,8812.20,9060.00], [9259.38,8920.00,9166.40], [9300.00,9076.90,9176.41], [9294.44,8674.00,8711.37], [8977.00,8623.38,8895.65], [9011.82,8693.18,8837.05], [9230.00,8811.00,9197.32], ]);
Why did you do this?
The PECL Trading extension is crap and not everyone wants to install it. I am building a trading bot which will need the SSL value as part of the calculation.
romulodl/ssl 适用场景与选型建议
romulodl/ssl 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 17 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 06 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 romulodl/ssl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 romulodl/ssl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-06-26