On 14/02/17 10:11, Alan Gauld via Tutor wrote:
ts.adfuller(goog['Adj Close'], 1
>
> there seems to be a missing closing paren here?
> Also where does 'ts' come from, its not defined above?
Ah! I see from Peters post that I missed the first line of code.
But I still see a missing ')'...
--
Allan Tanaka via Tutor wrote:
> Hi. Not sure why this code produces the error like this. This error
> appears when i run the code of print "Hurst(GBM): %s" % hurst(gbm):
> Traceback (most recent call last): File "", line 1, in
> print "Hurst(GBM): %s" % hurst(gbm)NameError: name 'hurst'
>
On 14/02/17 01:55, Allan Tanaka via Tutor wrote:
> Hi. Not sure why this code produces the error like this. This error appears
> when i run the code of print "Hurst(GBM): %s" % hurst(gbm):
> Traceback (most recent call last): File "", line 1, in
> print "Hurst(GBM): %s" % hurst(gbm)Name
Hi. Not sure why this code produces the error like this. This error appears
when i run the code of print "Hurst(GBM): %s" % hurst(gbm):
Traceback (most recent call last): File "", line 1, in
print "Hurst(GBM): %s" % hurst(gbm)NameError: name 'hurst' is not defined
Here is the full code