Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Interactive Brokers Live Paper Trading: IB reports there is no current position in sid XXXX; removing from Quantopian blotter

Hello,
I've been backtesting an algo for about 6 months and it runs smoothly without issue at various intervals in the past 4 years. I set up the algo to my IB paper account last night to watch it live paper trade. This morning I noticed it won't even trade the first trade.

In the "Orders and Fills" box I have:
Today's date with the Security XXXX with a market type order with XXXX Shares and the status is "Open". When I click on the "Open" it says: "Fill: XXXX shares at $0.00 on 2016-09-20 with the time it was suppose to order at.
In the logs it says: "(IB) IB reports there is no current position in sid XXXX; removing from Quantopian blotter" and for every minute since it says: "has open orders" (I programmed it to say this when there are open orders).

Could someone please enlighten me as to what is taking place and suggest how to resolve this.

2 responses

Hi Darth,

Did you happen to make a manual trade with IB? If not, could you send an email to [email protected]? In order to help solve the problem, we will likely need some more info.

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.

paper trading is trading only on paper. live trading with IB is using real money, so there is no such thing as live paper trading with IB

looks like a bug if some sort in the integration with IB. your order is probably not being filled but for some reason quantopian thinks it is, then gets confused because there is a discrepancy between what it thinks you have and what IB is saying you have. maybe the order is being rejected? I'm imagining some response from IB where the order is rejected and the fill price is filled in with $0