Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
hScalp, a tear sheet.

Hi,

Here's a tearsheet of my latest algo. The default fees are used. It uses limit orders so there is no slippage. It doesn't meet the contest criteria, but I would be interested to hear what the Quantopian team has to say about it. It doesn't reinvest profits so you should ignore the annual return. Intraday leverage is under one for the vast majority of the test. Although it's only a two year backtest this algo has a 496.1% daily turnover and trades about ten securities at a time, so there are lots of trades being put through, which makes shorter backtests more reliable. Starting cash is $1,000,000.

Start date 2016-11-02
End date 2018-11-01
Total months 24

Cumulative returns 542.3%
Annual volatility 34.3%
Sharpe ratio 2.88
Calmar ratio 6.33
Stability 0.94
Max drawdown -24.2%
Omega ratio 2.05
Sortino ratio 5.92
Skew 5.89
Kurtosis 94.90
Tail ratio 1.27
Daily value at risk -3.9%
Gross leverage 0.21
Daily turnover 496.1%
Alpha 0.99
Beta -0.04

Regards,
Warren Harding

7 responses

As requested, here is a tear sheet with round_trips = True.

You're using limit orders on low dollar volume stocks. In reality you won't get filled at those prices. Part of the issue is a bug in Quantopian's default slippage model, and part of the issue is that HFT firms will front-run your orders, place orders $0.01 better than yours, etc. Don't expect to get filled on low dollar volume stocks until the spread has crossed your limit price. Stocks on the move can have very wide spreads. In addition, many of these stocks many not actually be available to short, or the fees would be so high that the strategy would not be profitable.

For comparison, here's a long strategy of mine with similar stats. It only lost money in real trading.

@Viridian. Thanks for the info. There does appear to be some alpha there despite the potential pitfalls, so I'm going to keep on investigating the types of problems you've mentioned to see if there are any solutions. Never surrender.

I would also like to add that from my own observations, it's not very difficult to make a seemingly profitable short algo, even using market orders, that trades low dollar volume stocks. However in real trading, the spreads will be larger, and the borrow fees will be expensive -- that's if the stock is even available to short.

Just don't get too wrapped up in simulations. Nothing beats a good reality check -- trading with real money.

I can make over 50% profit a day on a simulator, but trading real money is 100000 times harder. Limit orders in the backtest are not realistic because you are the first in queue to excute the trade. In the real world, you are either behind several orders or you get partially filled. The market reacts to your limit orders so simulating on Quantopian is not realistic for intraday trading. The only way to test for sure is trade with real money in real time. My experience is the bigger the alpha you find the faster alpha disappears.