Download the PHP package timirey/trader-php without Composer

On this page you can find all versions of the php package timirey/trader-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package trader-php

Trader PHP

Tests Latest Stable Version Total Downloads License

Trader PHP

Trader PHP is a PHP library that serves as a user-friendly wrapper for the Trader Extension. It provides developers with easy access to a wide range of technical analysis indicators and functions, enabling seamless integration of financial analytics into trading and finance applications.

With support for commonly used indicators like Moving Averages (SMA, EMA), Relative Strength Index (RSI), MACD, and more, this library simplifies the process of building financial tools, algorithmic trading systems, and real-time data analysis platforms.

Table of Contents

Features

Installation

You can easily install the library using Composer:

Make sure that the PHP Trader Extension is installed and enabled on your PHP setup.

Basic Usage

Once installed, you can quickly start using the indicators in your PHP application.

Example 1: Simple Moving Average (SMA)

Example 2: Relative Strength Index (RSI)

Available Indicators

The library provides access to a wide variety of technical analysis functions supported by the PHP Trader extension. Some of the most commonly used indicators include:

For a full list of available functions, refer to the official PHP Trader documentation.

Error Handling

To handle errors, you can catch BadFunctionCallException exceptions that occur when invalid data is passed to any indicator.

License

This library is licensed under the MIT License. See the LICENSE file for more information.

Reference

For more detailed documentation, please refer to official PHP Trader documentation.


All versions of trader-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-trader Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package timirey/trader-php contains the following files

Loading the files please wait ....