Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
48 lines (37 loc) · 1.8 KB

File metadata and controls

48 lines (37 loc) · 1.8 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
To get started developing on talib, clone the latest code from git and
install:
```
$ git clone git://github.com/ta-lib/ta-lib-python.git
$ cd ta-lib-python
# you can run "git pull" here (no quotes) to update the sources in the future
$ make build
$ [sudo] make install
```
Here's the full list of make commands (see the Makefile file):
make build # builds and places libs in the project directory; required for testing
make clean # cleans the local build files
make install # installs talib system-wide
make generate: # generates a fresh _func.pxi, _stream.pxi file. Requires talib and TA-Lib to both be installed
make perf # run performance profiling
make test # run tests
The source code is comprised of one python package, located in the talib
directory, which itself has one Cython module (_ta_lib) which consists of
four parts: _common, _func, _abstract and _stream.
talib/_common.pxi
An internal-use file for functionality shared between func and abstract.
talib/_func.pxi
This file is generated automatically by tools/generate_func.py and any changes made
to it directly will get overwritten!
talib/_abstract.pxi
This file contains the code for interfacing with the TA-Lib abstract interface
and wrapping it into a pythonic Function class.
talib/_ta_lib.pyx
This "Cython header file" defines the C-level functions, variables and types we
need to use in the above pyx files.
talib/_stream.pxi
This file contains code for interfacing a "streaming" interface to TA-Lib.
tools/generate_func.py,generate_stream.py
Scripts that generate and print _func.pxi or _stream.pxi to stdout. Gets information
about all functions from the C headers of the installed TA-Lib.
If you are interested in developing new indicator functions or whatnot on
the underlying TA-Lib, you must install TA-Lib from git.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.