mirror of
https://github.com/andrewkdinh/fund-indicators.git
synced 2024-11-21 14:54:17 -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)
|
||||
marketCap = marketCap / 1000000
|
||||
print(
|
||||
'Dividing marketCap by 1 million (to work with linear regression module):', marketCap)
|
||||
'Dividing marketCap by 1 million:', marketCap)
|
||||
return marketCap
|
||||
|
||||
elif Stock.indicator == 'Turnover':
|
||||
@ -1622,6 +1622,8 @@ def plotIndicatorRegression():
|
||||
Stock.plotIndicatorRegression = False
|
||||
|
||||
# Ask for how long
|
||||
Stock.timePlotIndicatorRegression = 60
|
||||
'''
|
||||
if Stock.plotIndicatorRegression is True:
|
||||
timeFound = False
|
||||
print('')
|
||||
@ -1635,6 +1637,7 @@ def plotIndicatorRegression():
|
||||
print('Please choose a number greater than zero')
|
||||
else:
|
||||
print('Please choose an integer')
|
||||
'''
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user