SpiralDevelopment / Candlestick Patterns
Licence: mit
Candlestick patterns detector
Stars: ✭ 132
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Candlestick Patterns
Ta Lib
Python wrapper for TA-Lib (http://ta-lib.org/).
Stars: ✭ 6,034 (+4471.21%)
Mutual labels: technical-analysis
Ta Lib Rt
TA-Lib RT is a fork of TA-Lib that provides additional API for incremental calculation of indicators without reprocessing whole data.
Stars: ✭ 39 (-70.45%)
Mutual labels: technical-analysis
Trendyways
Simple javascript library containing methods for financial technical analysis
Stars: ✭ 121 (-8.33%)
Mutual labels: technical-analysis
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+6115.91%)
Mutual labels: technical-analysis
Tradestation
EasyLanguage indicators and systems for TradeStation
Stars: ✭ 65 (-50.76%)
Mutual labels: technical-analysis
Pyti
Python library of various financial technical indicators
Stars: ✭ 503 (+281.06%)
Mutual labels: technical-analysis
Jhtalib
Technical Analysis Library Time-Series
Stars: ✭ 131 (-0.76%)
Mutual labels: technical-analysis
Pandas Ta
Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
Stars: ✭ 962 (+628.79%)
Mutual labels: technical-analysis
Trading Signals
Technical indicators to run technical analysis with JavaScript / TypeScript. 📈
Stars: ✭ 118 (-10.61%)
Mutual labels: technical-analysis
Finta
Common financial technical indicators implemented in Pandas.
Stars: ✭ 901 (+582.58%)
Mutual labels: technical-analysis
Bitvision
Terminal dashboard for trading Bitcoin, predicting price movements, and losing all your money
Stars: ✭ 957 (+625%)
Mutual labels: technical-analysis
Technicalindicators
A javascript technical indicators written in typescript with pattern recognition right in the browser
Stars: ✭ 1,328 (+906.06%)
Mutual labels: technical-analysis
Octobot
Cryptocurrency trading bot: high frequency, daily trading, social trading, ...
Stars: ✭ 706 (+434.85%)
Mutual labels: technical-analysis
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-4.55%)
Mutual labels: technical-analysis
Stock analysis for quant
Different Types of Stock Analysis in Python, R, Matlab, Excel, Power BI
Stars: ✭ 525 (+297.73%)
Mutual labels: technical-analysis
Gekko Strategies
Strategies to Gekko trading bot with backtests results and some useful tools.
Stars: ✭ 1,022 (+674.24%)
Mutual labels: technical-analysis
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (+0%)
Mutual labels: technical-analysis
Indicators.jl
Financial market technical analysis & indicators in Julia
Stars: ✭ 130 (-1.52%)
Mutual labels: technical-analysis
candlestick-patterns
Candlestick patterns detector
Available patterns
- Inverted Hammer
- Hammer
- Hanging man
- Bearish/Bullish Harami
- Dark cloud cover
- Doji
- Doji Star
- Dragonfly doji
- Gravestone doji
- Bearish engulfing
- Bullish engulfing
- Morning star
- Morning star doji
- Piercing pattern
- Rain drop
- Rain drop doji
- Star
- Shooting star
How to use
Dataframe requirements
- Dataframe must contain open, high, low and close prices
- Open, high, low and close prices must be in numeric type.
Dataframe Example:
time | open | high | low | close |
---|---|---|---|---|
2019-12-24 00:00:00 | 7317.3 | 7436.68 | 7157.04 | 7255.77 |
2019-12-25 00:00:00 | 7255.77 | 7271.77 | 7128.86 | 7204.63 |
2019-12-26 00:00:00 | 7205.01 | 7435 | 7157.12 | 7202 |
2019-12-27 00:00:00 | 7202 | 7275.86 | 7076.42 | 7254.74 |
2019-12-28 00:00:00 | 7254.77 | 7365.01 | 7238.67 | 7316.14 |
2019-12-29 00:00:00 | 7315.36 | 7528.45 | 7288 | 7388.24 |
Code
from candlestick import candlestick
df = candlestick.inverted_hammer(df, target='result')
Result
T | result | open | high | low | close |
---|---|---|---|---|---|
2019-12-24 00:00:00 | False | 7317.3 | 7436.68 | 7157.04 | 7255.77 |
2019-12-25 00:00:00 | False | 7255.77 | 7271.77 | 7128.86 | 7204.63 |
2019-12-26 00:00:00 | True | 7205.01 | 7435 | 7157.12 | 7202 |
2019-12-27 00:00:00 | False | 7202 | 7275.86 | 7076.42 | 7254.74 |
2019-12-28 00:00:00 | False | 7254.77 | 7365.01 | 7238.67 | 7316.14 |
2019-12-29 00:00:00 | False | 7315.36 | 7528.45 | 7288 | 7388.24 |
"True" indicates that pattern is detected at that candle
Parametrs
All pattern detection methods receive 3 parametrs:
- target (String) - Indicates the column to which the result of detection is saved as boolean.
- is_reversed (Bool) - Pass True if rows in dataframe are in time descending order, otherwise False. Deafult is False.
- ohlc (List) - Pass list of strings which indicates the column names of open/high/low/close prices in dataframe. Default: ["open", "high", "low", "close"].
Support
If this project helped you in any way and you feel like buying a cup of coffee ☕️:
-
BTC: 1PUGs6mxcW2W3SJi95aG8GvRQRJsoFHWWQ
-
ETH: 0x66615e09f7f46429e7620ffbf78479879bbab41d
-
LTC: LRxYMgEXMumwxYdimZo9EJ5CfBcipD5c3n
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].