Skip to content

StephanAkkerman/super-guppy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Guppy Indicator

Supported versions License Code style: black


This is a simple Python script for calculating the Super Guppy technical indicator. The code was inspired by the TradingView indicator of JustUncleL.

Setup

You only need one thing to use this function, which is a pandas DataFrame consisting of 70 rows filled with close data of your favorite stock / cryptocurrency. It will return the DataFrame filled with the EMAs + Guppy signal, where 1 = Buy, 0 = Hold, -1 = Sell. You can find this information in the "guppy" column of the returned DataFrame. This can be used for making strategies using the super guppy indicator. You can also use the EMAs values and colFinal columns to make your own strategy based on the values in those columns.

Dependencies

The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block:

$ pip install -r requirements.txt 

Alternatively, you can install the required packages manually like this:

$ pip install <package>

How to run

  • Clone the repository.
  • Get a dataframe consisting of at least 70 rows of close prices.
  • Call the super_guppy function located in main.py using this dataframe as parameter.
  • See results.