mirror of
https://github.com/andrewkdinh/fund-indicators.git
synced 2024-11-21 14:24:19 -08:00
Bug fixes
Fixed unexpected EOL Changed default time for displaying graphs to 60 seconds
This commit is contained in:
parent
a825116b58
commit
54817460cc
5
main.py
5
main.py
@ -741,7 +741,7 @@ class Stock:
|
|||||||
print(' =', marketCap)
|
print(' =', marketCap)
|
||||||
marketCap = marketCap / 1000000
|
marketCap = marketCap / 1000000
|
||||||
print(
|
print(
|
||||||
'Dividing marketCap by 1 million (to work with linear regression module):', marketCap)
|
'Dividing marketCap by 1 million:', marketCap)
|
||||||
return marketCap
|
return marketCap
|
||||||
|
|
||||||
elif Stock.indicator == 'Turnover':
|
elif Stock.indicator == 'Turnover':
|
||||||
@ -1622,6 +1622,8 @@ def plotIndicatorRegression():
|
|||||||
Stock.plotIndicatorRegression = False
|
Stock.plotIndicatorRegression = False
|
||||||
|
|
||||||
# Ask for how long
|
# Ask for how long
|
||||||
|
Stock.timePlotIndicatorRegression = 60
|
||||||
|
'''
|
||||||
if Stock.plotIndicatorRegression is True:
|
if Stock.plotIndicatorRegression is True:
|
||||||
timeFound = False
|
timeFound = False
|
||||||
print('')
|
print('')
|
||||||
@ -1635,6 +1637,7 @@ def plotIndicatorRegression():
|
|||||||
print('Please choose a number greater than zero')
|
print('Please choose a number greater than zero')
|
||||||
else:
|
else:
|
||||||
print('Please choose an integer')
|
print('Please choose an integer')
|
||||||
|
'''
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user