https://github.com/paulseperformance/binance-stochasticrsi
Binance StochasticRSI Indicator
https://github.com/paulseperformance/binance-stochasticrsi
Last synced: about 1 year ago
JSON representation
Binance StochasticRSI Indicator
- Host: GitHub
- URL: https://github.com/paulseperformance/binance-stochasticrsi
- Owner: pAulseperformance
- Created: 2018-07-23T22:51:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-04T23:08:50.000Z (over 6 years ago)
- Last Synced: 2025-03-28T01:50:21.431Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 21
- Watchers: 2
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Readme
## Binance Stochastic RSI Indicator
This indicator was designed in python and operates as a standalone program, but can be integrated with an automated trading bot.
Currently it runs on python3 and prints to a log file every 30 seconds with calculated stochasticRSI metrics.
Normally, we would use ta-lib for these calculations, but Currently ta-libs stochrsi module is broken. I have created this as a quick fix until talib can be fixed.
Here is a sample of the data you will be getting.
```
Date Close RSI %K %D
2018-07-23 19:10:00 7720.00000000 44.6055683804 87.0010810319 77.6242317013
2018-07-23 19:10:30 7718.48000000 43.8540068273 93.6948972209 89.9921998682
2018-07-23 19:11:30 7720.08000000 44.8116114143 95.3253094663 92.9951105623
2018-07-23 19:12:00 7715.18000000 42.4036800701 91.7935898116 91.8178706774
2018-07-23 19:12:30 7715.65000000 42.7216095543 89.0303821186 92.494304373
2018-07-23 19:13:00 7715.49000000 42.6137730338 88.8722179915 92.4415829973
2018-07-23 19:13:30 7723.98000000 48.1879207454 89.290031781 89.9852798614
2018-07-23 19:14:30 7724.56000000 48.5299171793 94.79908786 90.9871125442
2018-07-23 19:15:00 7724.66000000 48.5928381288 94.79908786 90.9871125442
2018-07-23 19:15:30 7729.26000000 51.5282663749 100.0 94.6963732137
2018-07-23 19:16:00 7727.91000000 50.702129635 100.0 94.6963732137
2018-07-23 19:16:30 7718.41000000 44.9024034346 92.9104977232 95.9031951944
2018-07-23 19:17:00 7719.68000000 45.5997095633 93.7628747521 96.1873208707
2018-07-23 19:17:30 7712.61000000 41.7159166743 82.7782566781 92.1803771434
2018-07-23 19:18:00 7719.86000000 45.7283508517 81.6031227947 87.6829987734
2018-07-23 19:18:30 7725.86000000 49.9748495441 86.7939820022 89.4132851759
2018-07-23 19:19:00 7730.00000000 52.5373225588 87.6829987734 89.7096240996
```
# Download
1. Clone the repo
2. Download the requirements by running:``` pip install -r requirements.txt ```
3. Run ``` python3 main.py ```
If you want to learn more about interacting with Binance, you can visit
https://github.com/sammchardy/python-binance