Skip to content

Instantly share code, notes, and snippets.

@fitzk
Created February 2, 2017 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitzk/5536b4d725605856b8b0265ee58e2747 to your computer and use it in GitHub Desktop.
Save fitzk/5536b4d725605856b8b0265ee58e2747 to your computer and use it in GitHub Desktop.
Data Processing: Given an array of integers with fixed positions (ie, stocks), this script calculates trends based on positive, negative, or plateaued growth. This function excludes information about the relationship between trends, though some relationships can be easily inferred.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment