Back

Backtest Handled Error

hi, I'm new to this platform and have some problems implementing the simplest things...

why do i get the following errors:

Backtest Handled Error:
TXN R735QTJ8XC9X not found in portfolio. Request this data when initializing the algorithm.

Backtest Handled Error:
The security with symbol 'DH R735QTJ8XC9X' is marked as non-tradable.

many thanks.

Update Backtest








To schedule the event to fire on a specific minute, you need to subscribe the minute data for "SPY" and the symbols returned by CoarseSelectionFunction otherwise there is no minute price data for stocks to be traded.

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


many thanks, Jing.

I've changed the resolution of the univers to minutes and it solved most of the problems.

when changing the resolution of SPY to minutes, I'm getting:

Runtime Error: In Scheduled Event 'SPY: EveryDay: SPY: 30 min after MarketOpen', TypeError : 'NoneType' object is not iterable TypeError : 'NoneType' object is not iterable

when universe resolution is minutes and SPY resolution is days, I'm getting:

Backtest Handled Error: AAPL R735QTJ8XC9X not found in portfolio. Request this data when initializing the algorithm.

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed