alangustavo/trader-supertrend
最新稳定版本:1.0.1
Composer 安装命令:
composer require alangustavo/trader-supertrend
包简介
Get supertrend indicators from php and php-trader library
README 文档
README
This is a library that implements the supertrend indicator.
Requirements
- PHP >= 7.0.0
- Extension php_trader
Installation
This library is intended to be installed with composer.
composer require alangustavo/trader-supertrend
Usage
TraderSupertrend::get(array $high, array $low, array $close, $timePeriod, $multiplier);
it returns an array with:
[
[
'close' => 13.58332345,
'type' => '-1'
],
[
'close' => $12.5468844,
'type' => 1
]
]
where -1 = sell and 1 = buy.
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-03