Deep-Stonks-Group / Forecasting-Team-3

Other
0 stars 2 forks source link

Added Fibonacci retracement function #16

Closed JMerkel3100 closed 3 years ago

JMerkel3100 commented 3 years ago

First draft of Fibonacci retracement function added to Algorithms folder

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

calebheinzman commented 3 years ago

Try writing test code:

Look into PyTest: https://pythontesting.net/framework/pytest/pytest-introduction/

  1. Create test data in Excel that has the input and output values expected for the function.
  2. Basically you create a test program FR_test.py that will load the data and test the function.
  3. You run pytest to run the test program and then it will either pass/fail if the values are correct.

Example: https://github.com/Deep-Stonks-Group/Forecasting-Team-1/tree/RelativeNorm/tests