Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Day and Night

A simple implementation of this post. I found buying in the morning and selling at night is better than claimed in the paper. Any insights?

5 responses

Hello Taibo,

Very volatile...any way to tame the ups and downs?

Grant

The other problem here is that it borrows money without a real limit. I added a "record" line to graph the amount of cash - you can see it borrows millions to get this result. The original has limits on individual positions, but no real limit on the number of positions.

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.

You know, having charts of risk metrics would be pretty cool, and easy if I understand how it works.

capital committed, cash balance, leverage ratio, rolling mean/stddev/beta/information coefficient etc

It might be a nice visual indicator of the strategy's adaptation to various regimes.

Simon, have you started a paper trading algo yet? We have graphs of risk metrics there. We've talked about retrofitting them to backtests. Are they the kind of graphs you're looking for?

I'll have to take a look, last I heard was that the paper trading required minute-capable systems which ruled out anything that used fetcher to get VIX index prices. Has that been fixed?