Error Q20 output missing when submitting
-
@theflyingdutchman Hi, it looks like you are getting some corner case. Can you send some more detail?
-
@support The number of the strategy submit attempt that is filterde out is # 14149002. What additional info should I send?
-
@theflyingdutchman ok, thanks, we are checking the logs. It looks ok when run in a standard notebook container. Maybe it meets some corner case we did not think about when implementing submission filter. As soon as we find the reason, we will let you know. Sorry for the problem.
-
@support ok, thanks. Unfortunately I run into an error in the submitting process with another strategy as well. Could you please look into submit Number # 14265154? The precheck and backtest show no errors, but after submit the strategy shows inverted SR and weights. I am not sure whether this is related to the otter submit issue. Thanks for investigating these issues.
-
Hello. try to execute in a separate cell the code which saves weights. This should help.
As far as I understand, this can happen when there is no data for the first day.
The cell where the error occurs will be ignored and the next one will be executed.qnout.check(weights, data, "stocks_nasdaq100") qnout.write(weights)
-
@theflyingdutchman hi, did you check for potential forward looking? For example using global means of indicators which are looking into the future?
Note that trades are taken at the OPEN, and you cannot use for example the CLOSE price of the same day.
In this case, you could see a result in the notebook but another one after submission, as the backtester used after submission will remove by brute force future data and produce a result which does not look into the future.
-
@vyacheslav_b The proposed solution worked, I was able to submit the strategy. Thanks for your help.
@support The strategy was still declined since there is no fundamental data before 1-1-2013. This strategy worked with fundamental data. Number is # 14333092. Wouldn't it be fair to shorten the required trade period for strategies based on fundamental data for Q20? Otherwise I won't be able to submit.
-
@theflyingdutchman ok, thanks for the hint. It is the first contest using fundamental data, sorry for the issue.
We will see, but probably it is too late for changing the rules.
One pragmatic solution would be to use a "base" strategy until 2013, without fundamental data, until 2013, in a way that the Sharpe ratio is still larger than 1. Is it doable?
-
it can help you. See topic 3) Not enough bid information.
https://github.com/quantiacs/strategy-q20-nasdaq100-quick-start/blob/master/strategy.ipynb
def get_enough_bid_for(data_, weights_): time_traded = weights_.time[abs(weights_).fillna(0).sum('asset') > 0] is_strategy_traded = len(time_traded) if is_strategy_traded: return xr.where(weights_.time < time_traded.min(), data_.sel(field="is_liquid"), weights_) return weights_ weights_new = get_enough_bid_for(data, weights) weights_new = weights_new.sel(time=slice("2006-01-01",None))
-
This post is deleted!