Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Defunct symbols - only "Something went wrong"

Common error, unexpected here:

def initialize(context):  
    context.stocks = symbols('VSCI')

def handle_data(context, data):  
    return  

Edit: Changed the post title because the original problem / error message (in the screenshot) is solved.

4 responses

@ garyha

So the issue is related the symbol VSCI. It looks like Cogentix recently underwent some corporate restructuring and a merger, so there is a chance the symbol got retired. Replace VSCI with another symbol and the coder doesn't error out.

EDIT: So Uroplasty and Vision-Sciences merged in late March, it look like the new company Cogentix is trading with the symbol CGNT. Check out this link.

def initialize(context):  
    context.stocks = symbols('BA')

def handle_data(context, data):  
    return  
Disclaimer

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 Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian 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.

A recent change broke the situation, there is a flaw on the server trying to combine a float and string.
Should advise the user that there is a problem with the symbol, citing the specific symbol (could be a large list).

Hey that's good, the float + string message is gone.
Although, now only says "Something went wrong".
Previously there was a message mentioning the problem symbol.
Here are a few that have gone sour recently in one way or another, for testing: VSCI NHTB IDG PTBI MET_PRB
Ideally maybe all syms checked on start and then a list shown to the user of any that won't do.
Thanks

I'll play around with those symbols. In the mean time if you are hard coding those symbols in it may be prudent to find the SIDs of those securities and hard code the SIDs in instead, the platform handles SIDs better than symbols, which as you see have nontrivial drawbacks.