added some constants to utils

This commit is contained in:
Kevin Johnson
2019-05-24 11:09:09 -07:00
parent 198521ebae
commit 6349df39a6
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -130,6 +130,7 @@ driver.py
doc.py
bt.ipynb
ta_extension.ipynb
kerasmodeller.ipynb
Charts.ipynb
pandas_pips
reqs.txt
+3 -1
View File
@@ -7,7 +7,9 @@ from functools import reduce
from operator import mul
from sys import float_info as sflt
TRADING_DAYS_IN_YEAR = 250
TRADING_HOURS_IN_DAY = 6.5
MINUTES_IN_HOUR = 60
def combination(**kwargs):
"""https://stackoverflow.com/questions/4941753/is-there-a-math-ncr-function-in-python"""