What does that cryptic message mean? It points me to Q2 migration page that has no mention of "current_securities" function or "security_lists" at all. What is "DT" mentioned at the error?
Context: In the past I could check that security is not in leveraged list by the following simple if, this is what triggered the error:
if asset not in security_lists.leveraged_etf_list:
What is the correct form from now on?