Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Question on the History Function in debugger mode

if you use the debugger to stop code on line 21 and look at the high_daily data object the stock series all show up, but the data in each series is not correct - it is almost identical (though not quite. Is this a debugger issue??
the series in the peak looks like it is probably correct.
Any thoughts

3 responses

Believe this is a known bug. I notice the same thing. If you examine each row in the dataframe instead (history[sec]) you will see the correct numbers.

Yes, this is a bug in the debugger (heh) where the history data isn't being displayed properly. It's on our radar to fix, and in the meantime Matt suggested a good workaround.

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.

Current result, could be ok now, not certain.

> high_daily  
DataFrame:  
                           Security(19654 [XLB])  Security(19655 [XLE])  \  
2013-01-07 21:00:00+00:00                38.6300                73.4500  
2013-01-08 21:00:00+00:00                38.7400                73.0400  
2013-01-09 21:00:00+00:00                38.9400                73.2800  
2013-01-10 21:00:00+00:00                39.1800                73.6500  
2013-01-11 21:00:00+00:00                39.0600                73.7200  
2013-01-14 21:00:00+00:00                39.1500                73.8300  
2013-01-15 21:00:00+00:00                39.1100                74.0100  
2013-01-16 21:00:00+00:00                38.9400                74.2950  
2013-01-17 21:00:00+00:00                39.2298                75.2250  
2013-01-18 21:00:00+00:00                39.3500                75.4700  
2013-01-22 21:00:00+00:00                39.7500                76.3071  
2013-01-23 21:00:00+00:00                39.6500                76.1600  
2013-01-24 21:00:00+00:00                39.8400 <results truncated>