Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SpiralDevelopment/RSI-divergence-detector

RSI divergence detector finds regular and hidden bullish and bearish divergences
https://github.com/SpiralDevelopment/RSI-divergence-detector

algorithmic-trading crypto-trading relative-strength-index rsi stock-trading technical-analysis trading

Last synced: 5 days ago
JSON representation

RSI divergence detector finds regular and hidden bullish and bearish divergences

Awesome Lists containing this project

README

        

# RSI-divergence-detector
> Relative Strength Index Divergence Detector

**RSI divergence detector finds regular and hidden bullish and bearish divergences**

## Usage

This project uses [TaLib](https://github.com/mrjbq7/ta-lib) library for some calculations, so [install](https://github.com/mrjbq7/ta-lib#installation) the TaLib library first.
Then, clone the project and install other requirements.

```bash
$ git clone [email protected]:SpiralDevelopment/crypto-hft-data.git
$ cd crypto-hft-data
$ pip3 install virtualenv
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
```

### Samples

- sample_tg_poster.py - Gets the ohlc data from local database and checks if the last candle has RSI divergence
- sample_binance.py - Gets the data from Binance API and plots ALL detected RSI divergences during that period

## Result

Here is the result of detected RSI divergences for BTCUSDT pair during 22.11.2020 - 22.03.2022 period in daily timeframe

- Blue lines - Regular and hidden Bullish divergences
- Red lines - Regular and hidden Bearish divergences

## License
[MIT License](https://github.com/SpiralDevelopment/RSI-divergence-detector/blob/main/LICENSE)