Skip to content

Commit ad1ac11

Browse files
committed
Merge branch 'master' into develop
2 parents f87285e + f3222af commit ad1ac11

371 files changed

Lines changed: 100473 additions & 3102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Change Log
22

3+
## 2.1.1
4+
* Figured out how to use .gitattributes to exclude files from the composer package.
5+
* Now I can add the TA-Lib C source files to the repository and not have them show up in the composer package. 🎉
6+
## 2.1.0
7+
* Added new functions from TA-Lib v0.6.0.
8+
* [ACCBANDS](https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_ACCBANDS.c)
9+
* [AVGDEV](https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_AVGDEV.c)
10+
* [IMI](https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_IMI.c)
11+
## 2.0.1
12+
* Fixed [Issue #16](https://github.com/LupeCode/phpTraderNative/issues/16)
13+
* Removed version from composer.json as per their spec.
14+
## 2.0.0
15+
* Cleaned up git repository.
16+
* Drop support for PHP 7.X and 8.0.
17+
* Updated dependencies.
18+
* Cleaned up the code and use PSR-12 formatting.
19+
* Changed the LICENSE to MIT.
20+
* Updated PHPUnit.
21+
* Added better testing data.
22+
## 1.2.3
23+
* Small updates and bug fixes.
24+
* Added .deepsource.toml for DeepSource.io.
25+
## 1.2.2
26+
* GitLab CI and TravisCI no longer build this package
27+
## 1.2.1
28+
* Added PHP 7.0.x to the CI tests.
29+
* Also various things to get this to work in the CI runners.
330
## 1.2.0
431
* Added the static variable to the test. Use this instead of a string just in case the string for the errors change.
532
* Test all of the MA types that stochrsi supports.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This library is intended to be a drop-in replacement for the Trader extension, i
3232

3333
Another option that this package provides is to use functions that have an easier to understand name.
3434

35-
If you do not to use `adosc` because it is not descriptive enough, you can instead use `chaikinAccumulationDistributionOscillator` like this:
35+
If you do not want to use `adosc` because it is not descriptive enough, you can instead use `chaikinAccumulationDistributionOscillator` like this:
3636
`TraderFriendly::chaikinAccumulationDistributionOscillator($high, $low, $close, $volume, $fastPeriod, $slowPeriod)`
3737

3838
## Note about default values
@@ -70,6 +70,13 @@ cd phpTraderNative
7070
composer install --dev
7171
~~~
7272

73+
### Directory Structure
74+
75+
* `source` - The source code for the library.
76+
* `tests` - The PHPUnit tests for the library.
77+
* `pecl` - The PECL Trader extension source code.
78+
* `talib` - The TA-LIB source code that the PECL Trader extension uses.
79+
7380
### Testing
7481

7582
Two PHPUnit XML files are included, one for testing and the other for coverage. This is due to the fact that when some tests are run with coverage, PHP hangs and never finishes.

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "lupecode/php-trader-native",
33
"description": "An native version of the PHP Trader extension.",
4-
"version": "2.0.0",
54
"type": "library",
65
"license": "GPL-3.0-or-later",
76
"authors":[

0 commit comments

Comments
 (0)