Download the PHP package geoffroy-pradier/php-trader without Composer
On this page you can find all versions of the php package geoffroy-pradier/php-trader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download geoffroy-pradier/php-trader
More information about geoffroy-pradier/php-trader
Files in geoffroy-pradier/php-trader
Download geoffroy-pradier/php-trader
More information about geoffroy-pradier/php-trader
Files in geoffroy-pradier/php-trader
Vendor geoffroy-pradier
Package php-trader
Short Description PHP implementation of technical indicators for trading. Alternative to the Trader extension.
License MIT
Package php-trader
Short Description PHP implementation of technical indicators for trading. Alternative to the Trader extension.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-trader
Trader
A pure PHP implementation of technical indicators for trading, including the Relative Strength Index (RSI) and Stochastic Oscillator. No native extensions (e.g., Trader PECL) are required, making it portable across PHP environments.
Installation
Install the package via Composer:
Requirements
- PHP >= 8.2
Usage
Relative Strength Index (RSI)
Calculate the RSI for a series of closing prices:
Stochastic Oscillator (%K and %D)
Calculate the %K and %D lines for high, low, and closing prices:
Testing
Run the PHPUnit tests to verify functionality:
Development
To contribute:
- Fork the repository on GitHub.
- Add your changes and include corresponding PHPUnit tests.
- Submit a pull request.
License
MIT
All versions of php-trader with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package geoffroy-pradier/php-trader contains the following files
Loading the files please wait ...