GNU General Public License v3.0

项目介绍

joosthoeks/jhTAlib 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 154 个 Star、43 次 Fork。

仓库全名
joosthoeks/jhTAlib
开源许可证
GNU General Public License v3.0
Star 数
154
Fork 数
43
未关闭 Issue
2

README 摘要

title: jhTAlib author: Joost Hoeks date: 2026-07-11 jhTAlib Technical Analysis Library Time-Series You can use and import it for your: Technical Analysis Software Charting Software Backtest Software Trading Robot Software Trading Software in general Work in progress... Depends only on The Python Standard Library Install From source - source mirror 1 - source mirror 2: Update From source - source mirror 1 - source…

完整内容见 GitHub 原始 README 或本页 。

常见问题

jhTAlib 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 154 个 Star。

jhTAlib 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 jhTAlib 的源码?

可以直接克隆仓库:git clone https://github.com/joosthoeks/jhTAlib.git,默认分支为 master;安装与运行步骤见仓库 README。

jhTAlib 最近还在维护吗?

仓库最近一次更新为 7月11日,当前有 2 个未关闭 Issue;Star 数为 154,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Technical Analysis Library Time-Series

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Dockerfile
Jupyter Notebook
Python

README


title: jhTAlib author: Joost Hoeks date: 2026-07-11

jhTAlib

Technical Analysis Library Time-Series

You can use and import it for your:

  • Technical Analysis Software

  • Charting Software

  • Backtest Software

  • Trading Robot Software

  • Trading Software in general

Work in progress…


Depends only on


Install

From source - source mirror 1 - source mirror 2:

$ git clone https://github.com/joosthoeks/jhTAlib.git
$ cd jhTAlib
$ [sudo] pip3 install -e .

Update

From source - source mirror 1 - source mirror 2:

$ cd jhTAlib
$ git pull [upstream master]

In Docker

From DockerHub:

$ docker pull joosthoeks/jhtalib
$ docker run -it joosthoeks/jhtalib /bin/bash
/usr/src/app# python3
>>> import jhtalib as jhta

From source - source mirror 1 - source mirror 2:

$ git clone https://github.com/joosthoeks/jhTAlib.git
$ cd jhTAlib
$ docker build -f Dockerfile -t jhtalib .
$ docker run -it jhtalib /bin/bash
/usr/src/app# python3
>>> import jhtalib as jhta

In Jupyter

From source - source mirror 1 - source mirror 2:

!git clone [-b branch-name] https://github.com/joosthoeks/jhTAlib.git
%cd 'jhTAlib/'
import jhtalib as jhta
%cd '../'
!rm -rf ./jhTAlib/

Basic Usage

""""""
# Import Built-Ins:
from pprint import pprint as pp

# Import Third-Party:

# Import Homebrew:
import jhtalib as jhta


# df is DataFeed:
df = {
    'datetime': ('20151217', '20151218', '20151221', '20151222', '20151223', '20151224', '20151228', '20151229', '20151230', '20151231'),
    'Open': (235.8, 232.3, 234.1, 232.2, 232.7, 235.4, 236.9, 234.85, 236.45, 235.0),
    'High': (238.05, 236.9, 237.3, 232.4, 235.2, 236.15, 236.9, 237.6, 238.3, 237.25),
    'Low': (234.55, 230.6, 230.2, 226.8, 231.5, 233.85, 233.05, 234.6, 234.55, 234.4),
    'Close': (234.6, 233.6, 230.2, 230.05, 234.15, 236.15, 233.25, 237.6, 235.75, 234.4),
    'Volume': (448294, 629039, 292528, 214170, 215545, 23548, 97574, 192908, 176839, 69347)
     }

# basic usage:
#pp (df)
pp (jhta.SMA(df, 10))
#pp (jhta.BBANDS(df, 10))

Help

$ python3
>>> import jhtalib as jhta
>>> dir(jhta)
>>> help(jhta)
>>> help(jhta.behavioral_techniques)
>>> help(jhta.candlestick)
>>> help(jhta.cycle_indicators)
>>> help(jhta.data)
>>> help(jhta.derivatives)
>>> help(jhta.event_driven)
>>> help(jhta.experimental)
>>> help(jhta.general)
>>> help(jhta.information)
>>> help(jhta.math_functions)
>>> help(jhta.momentum_indicators)
>>> help(jhta.money_management)
>>> help(jhta.overlap_studies)
>>> help(jhta.pattern_recognition)
>>> help(jhta.price_transform)
>>> help(jhta.statistic_functions)
>>> help(jhta.uncategorised)
>>> help(jhta.volatility_indicators)
>>> help(jhta.volume_indicators)
>>> quit()

Check Installation

$ python3
>>> import jhtalib as jhta
>>> jhta.example()

If not errors then installation is correct.

>>> quit()

Examples


Notebooks


References

Books

  • An Introduction to Algorithmic Trading

  • Computer Analysis of the Futures Markets

  • New Concepts in Technical Trading Systems

  • The New Technical Trader

  • Trading Systems and Methods

Urls


Donation and Funding


评论

暂无评论