Skip to content

Commit b908302

Browse files
committed
Changed the compatibility to be public
The Trader PECL library has no way to change this setting, but it is available in the TALib library. This setting changes the way that the EMA is calculated so that it is using the standard EMA formula instead of a sliding window.
1 parent 5d0140e commit b908302

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lupecode/php-trader-native",
33
"description": "An native version of the PHP Trader extension.",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"type": "library",
66
"license": "GPL-3.0-or-later",
77
"authors":[

source/TALib/Core/Core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Core
6464
/** @var CandleSetting[] */
6565
protected static $candleSettings;
6666
/** @var int */
67-
protected static $compatibility;
67+
public static $compatibility;
6868

6969
/**
7070
* Core constructor.

0 commit comments

Comments
 (0)