PyTrendFollow icon indicating copy to clipboard operation
PyTrendFollow copied to clipboard

Exception: No price data for symbol: eurostoxx (spot)

Open cwengc opened this issue 7 years ago • 3 comments

On scheduling and after downloading data, File "C:/Code/PyTrendFollow-master\trading\rules.py", line 54, in carry_spot f = inst.spot() - inst.market_price().reset_index('contract', drop=True) File "C:/Code/PyTrendFollow-master\core\spot.py", line 36, in get raise Exception("No price data for symbol: %s" % self) Exception: No price data for symbol: eurostoxx (spot)

cwengc avatar Mar 12 '18 20:03 cwengc

Eurostoxx has an underlying spot price that is used for computing the carry_spot trading rule. Apparently the data for this spot price has not been downloaded. If you're using Interactive Brokers as the data source, you probably should check if you have the data subscription for eurostoxx spot index.

Please inform us if you're sure you have the price data and the error still occurs.

ka-petrov avatar Mar 13 '18 00:03 ka-petrov

We've disabled symbols that require Interactive Brokers and don't have Quandl alternative, so this issue should no longer occur if you use Quandl.

ka-petrov avatar Mar 15 '18 23:03 ka-petrov

@cwengc can you confirm this works for you now so I can close the issue?

chrism2671 avatar Mar 18 '18 17:03 chrism2671