Closed snowuyl closed 7 years ago
Dear Toomore,
My startup.py is as follows.
from grs import Stock stock = Stock('6278') print stock.moving_average(5) print stock.moving_average_value(5) print stock.moving_average_bias_ratio(5, 10)
I run startup.py as follows.
python startup.py
But the following error occurred
Traceback (most recent call last): File "startup.py", line 3, in from grs import Stock ImportError: cannot import name Stock
Do you have any suggestion?
Thanks in advance!
snowuyl
Dear Toomore,
from grs import Stock stock = Stock('6278')
print stock.moving_average(5)
print stock.moving_average_value(5)
print stock.moving_average_bias_ratio(5, 10)
python startup.py
Traceback (most recent call last): File "startup.py", line 3, in
from grs import Stock
ImportError: cannot import name Stock
Do you have any suggestion?
Thanks in advance!
snowuyl