Closed short and opened long @ 7261.5. Stop is @ 7211.
The model switched to long today but the signal is close to remaining short and the intraday indicators are signalled short for the first part of the day. So, I kept the short position until now almost 7 hours into the trading day from 6pm New York time (8am Eastern Australian time). I put on a ten point trailing stop for two contracts, so it closed the short and opened a long simultaneously. Gained about 25 points on the short side compared to the market open.
Profit from the closed short was USD 3,000.90. The model gained 1.73% for the trade starting on 25 July and ending 1 August.
Monthly report coming soon.
Thursday, August 02, 2018
Saturday, July 28, 2018
Friday 27th July Trading
Finally we had some good downside on Friday with the NQ futures falling 126 points to 7299.75 – each point is $20 per contract. I had a strategic short from 7411.75 and a tactical short put on in the morning at 7429.5. My only regret is that I closed the tactical short at 7380 for only a $986 profit rather than setting a wider stop and letting it ride down for another $1600 in profit :) The strategic short is of course still in place as the model remains short. I am now up $885 for the month. Hopefully, I will stay up for the last couple of days of the month. I expect the market will go down further, both the model signals and looking at previous declines this year suggest that there is a lot further to go down before bottoming. All the previous declines went below the 34 day moving average and two went to the lower 34 day Bollinger Band:
If the latter happens, we would be at 6950 or so, $7,000 a contract from where we are now. Of course, given the strong trend it is more likely to be like the declines in April and June, which didn't reach the lower Bollinger Band.
Indications at the moment are that we don't want to do a tactical short during the US overnight on Sunday-Monday. A short near the US market open looks more likely to pay off.
If the latter happens, we would be at 6950 or so, $7,000 a contract from where we are now. Of course, given the strong trend it is more likely to be like the declines in April and June, which didn't reach the lower Bollinger Band.
Indications at the moment are that we don't want to do a tactical short during the US overnight on Sunday-Monday. A short near the US market open looks more likely to pay off.
Friday, July 27, 2018
Trading in 2018 is Objectively Better
I computed my average gain per NQ contract traded in 2006-2008 compared to in 2018. In 2006-08, on average I gained 0.46 points per contract traded or $9.31. Commissions on a roundtrip were $4.80 then. In 2018 so far, I made 3.69 points per contract or $73.74. Commissions are now $4.10 on a roundtrip. So, my trading now is almost an order of magnitude better. The average is brought down by lots of small daytrades I've done. As I plan to do fewer of those, the average should improve, I hope. On the other hand, the level of the index is now nearly 4 times higher than it was in 2006-8 and so a given percentage price move translates to more points.
This graph shows the equity curve on NQ trades - the actual number of trades is half this as there is one data point for each opening or closing of a position. Initially in 2006-7 I had a reasonably good increase in profits, peaking around $10k cumulative profit. Then there was a long slow decline into 2008 of a series of small wins, punctuated with larger losses. The big jump is the start of trading in 2018, when I had a series of big wins. Since then, things have gone sideways, with losses equal to gains.
This graph shows the equity curve on NQ trades - the actual number of trades is half this as there is one data point for each opening or closing of a position. Initially in 2006-7 I had a reasonably good increase in profits, peaking around $10k cumulative profit. Then there was a long slow decline into 2008 of a series of small wins, punctuated with larger losses. The big jump is the start of trading in 2018, when I had a series of big wins. Since then, things have gone sideways, with losses equal to gains.
Tuesday, July 24, 2018
Tactical and Strategic Trading
After seeing a big profit disappear again a few times, I think I am going to adopt a combination of strategic and tactical trades now that I am trying to trade two contracts. One contract is always held in the direction of the model for as long as the model is long or short. This is the strategic trade. The other contract is in the same direction but can be closed out for the day when there is a big profit already. That is the tactical trade. Yes, day trading but the kind of daytrading where you put a trade on at the beginning of the overnight futures session and close it at the market open or vice versa. I had planned to do this but deferred it to stage 4 or 5 of the experiment. But I think I need the psychological boost now. I will make trading decisions using a chart with 2 to 3 hour candles. On a chart at that frequency most days break down into a rising and a falling period or a weak (when the market goes sideways) and strong period. I will close the tactical trade if it has made a profit and the next half of the day looks like being weak or going in the opposite direction to the model. Anyway, let's see if this works.
It probably was necessary to suffer through the pain of seeing a big profit on two contracts disappear a couple of times to be willing to have two contracts on overnight Australian time.... I tried adding one contract tactically before but was too nervous about it to set a wide enough stop.
Today the strong period was during the overnight (the market went down, in the model direction) and the weak period was during the US daytime when the market went up in the opposite direction to the model.
P.S.
I was just stopped out by the Google earnings report... Even more wishing I had closed one contract at the market open... This was a "tactical" rather than model stop. So, I got short again (tactically and strategically) at 7425.5 with the stop at 7441. This is very close, but was the second pivot resistance level when the model originally went short and so with the current model stop rules, that's where the stop stays.
Actually, the model is bit ambiguous today, but following the rules for these situations, we should still be short...
P.P.S.
I was just stopped out at the model stop. That means I'm out for today. Tomorrow morning I will re-evaluate the model direction. This is definitely looking like a losing month, similar to April, which was the initial model development month.
This model trade that was initiated on Friday lost 0.86%.
I researched the previous cases of similar ambiguous model signals so far this year. There were only two previous cases, which were where the signal said to switch to short but was ignored because the turning point was from a value of the indicator that was close to zero. Both those times, staying long was the right thing to do. Maybe, in the absence of getting stopped out, staying short will turn out to be the right thing to do today. We will see. Either way, it is a very small sample to base any conclusions on.
It probably was necessary to suffer through the pain of seeing a big profit on two contracts disappear a couple of times to be willing to have two contracts on overnight Australian time.... I tried adding one contract tactically before but was too nervous about it to set a wide enough stop.
Today the strong period was during the overnight (the market went down, in the model direction) and the weak period was during the US daytime when the market went up in the opposite direction to the model.
P.S.
I was just stopped out by the Google earnings report... Even more wishing I had closed one contract at the market open... This was a "tactical" rather than model stop. So, I got short again (tactically and strategically) at 7425.5 with the stop at 7441. This is very close, but was the second pivot resistance level when the model originally went short and so with the current model stop rules, that's where the stop stays.
Actually, the model is bit ambiguous today, but following the rules for these situations, we should still be short...
P.P.S.
I was just stopped out at the model stop. That means I'm out for today. Tomorrow morning I will re-evaluate the model direction. This is definitely looking like a losing month, similar to April, which was the initial model development month.
This model trade that was initiated on Friday lost 0.86%.
I researched the previous cases of similar ambiguous model signals so far this year. There were only two previous cases, which were where the signal said to switch to short but was ignored because the turning point was from a value of the indicator that was close to zero. Both those times, staying long was the right thing to do. Maybe, in the absence of getting stopped out, staying short will turn out to be the right thing to do today. We will see. Either way, it is a very small sample to base any conclusions on.
Monday, July 23, 2018
The Kelly Criterion
There is a lot of incorrect information on the web about applying the Kelly criterion in the stockmarket. It is very different to applying it in a card game where you either win or lose a fixed amount. In that context the Kelly criterion tells you how much to bet on each gamble. But whether you are doing short-term trading or long-term investing that is not the case in the financial markets where there are continuous payoffs. In this paper, Ed Thorp lays out the Kelly criterion for investing in financial markets. It results in a rule of how much leverage to use when investing in a portfolio. That portfolio could be a buy and hold portfolio of stocks, or it could be a high turnover futures trading account. To determine how much of total net worth to allocate to a particular asset class or strategy is a different calculation. I think you should maximize the Sharpe ratio for your total portfolio. Where to set the stop loss in trading is a similar calculation - you want to use stop loss rules that maximize the Sharpe ratio for the strategy. I don't think Kelly tells you how much to risk on each trade in the way it can tell you how much to bet on each gamble.
The Kelly criterion isn't a practical rule in the real world as it requires you to continuously change the size of your position as you win or lose money. The suggested leverage for my trading model – this may be exaggerated because of too short a sample of returns and volatility – is greater than that allowed by the futures exchange. This amount of leverage would immediately blow up in the real world and result in huge amounts of commission and bid-ask spread payments...
The Kelly criterion isn't a practical rule in the real world as it requires you to continuously change the size of your position as you win or lose money. The suggested leverage for my trading model – this may be exaggerated because of too short a sample of returns and volatility – is greater than that allowed by the futures exchange. This amount of leverage would immediately blow up in the real world and result in huge amounts of commission and bid-ask spread payments...
Very Good Service from Interactive Brokers
We phoned Interactive Brokers about the login problem. They have a system issue. They set up the account so it can accept a temporary security code which they gave to us. We'll use this until they resolve the issue. The questions they asked to confirm our identity apart from a couple of the typical secret questions were what the net asset value in the account was, what position was in the account (short NASDAQ 100 futures), and what bank we use to transfer money to the account. If we had stolen a password we would have know two of those at least, because you can login into the account on a read-only basis with the password.
I managed to use the temporary security code to set up the mobile app which can produce codes even if it can't receive texts.
I managed to use the temporary security code to set up the mobile app which can produce codes even if it can't receive texts.
Sunday, July 22, 2018
Can't Log Into Account
As of Saturday morning I am not receiving the test messages from Interactive Brokers that I need to log into the account. I sent a text to myself using Skype, so it is not the same problem that I had in Japan where I just can't receive texts. If this is still the case on Monday morning we will need to phone the broker to resolve this. They do have a mobile app that can generate the required login numbers even if you don't have phone service, but to set this up you need to get a text from the broker... At the moment this isn't a problem as the model is short for Monday still. In the worst case scenario, I can trade in the opposite direction using my own trading account until the stop is hit at NQ=7441. As my account is much older I have a physical security device - actually a bunch of codes on a card. But I will need to sell stocks/and or transfer money into my account to have enough margin to trade with. And this isn't ideal as profits are taxed higher in my account.
Friday, July 20, 2018
Switching to Short
The model has switched to short as at the open of today's Globex session (8am Eastern Australian Time, 6pm New York Time). I went short 2 contracts in an attempt to move to Stage 3 of the experiment.... The stop is at NQ=7441 and am short from 7383, so risk is relatively low (compared to what it might be), though the nearer the stop the greater the chance of hitting it...
Thursday, July 19, 2018
Selling Everything
Well, in my mother's former account. Apparently the main (international) bank doesn't care that we the estate hasn't yet completed probate. Another local bank is, by contrast, very concerned about that. If we sell and go to cash, apparently we avoid paying this investment bank's very high fees. The account has returned practically nothing after fees in the last three years. August and September are historically bad months for equities (though only about 20% of the account is in equities). As we want to sell in the end anyway, it makes sense then to sell now. The plan is to hold everything in US Dollars in the interim.
Tuesday, July 17, 2018
Stopped Out Again
So, I put on my second trade of the month - long NQ - and was stopped out again, losing $1100 this time. The stop actually saved about $300 this time. But the model is still long for 17 July and so I put on a new long trade at 8:00am Australian time at 7320, which is up $190 at the moment. Stop is 7253 on this trade, currently at 7329.75. Down about $1700 for the month so far. NASDAQ 100 model is up 3.6% and NASDAQ 100 index 4.5% but I'm down 4.5% (due to two bad trades only and leverage). I'm determined to stick to the model now... let's see how I do.
Monday, July 16, 2018
Model Decisions for the Year So Far
The chart shows each short and long decision the model has made in the NASDAQ 100 index since the beginning of the year. The letter S or L is placed on the first day the model was long or short in each trade. So in theory you should get long or short at the previous close. Most trades were winners, though in late February, for example, the model got short on a big up day and then switched back to long the next day, which turned out to be the top. That long trade was also a loser. There were also stop outs along the way, which aren't marked here as new trades. Some times the model picks the exact top or bottom, at other times it misses it by a couple of days.
So, all I need to do is trade exactly like the model :) I put a new long trade on this morning.
New Investment: BlueSky Alternatives Fund
I had read back in April about BlueSky's battle with activist hedge fund Glaucus. As a result, the share price of the management company (BLA.AX) collapsed and they undertook a thorough review and independent valuation of all their investments. Listed investment company (closed-end fund) BAF.AX, is a fund of funds, investing in BLA managed investments in real estate, private equity, agriculture, and water rights. The price of this fund also fell, though not as dramatically. The valuation of all but one of its investments is now complete and the net asset value is AUD 1.13 per share. On Friday the stock was trading around AUD 0.80. The company is buying back a lot of stock which is supporting the price. I made an initial investment today and could add more if my thesis that it should rise, plays out.
Sunday, July 15, 2018
Position Size
One of the main ideas in traditional momentum trading wisdom is that as volatility increases your position size should decrease. This is one of the key ideas in the Turtle Trading System, for example. If you have no idea what will happen, then higher volatility likely will result in higher losses as well as higher gains.
But if you do have some ability to predict the future, that trading signal might be stronger when volatility is higher and weaker when volatility is lower. Then you will have more losing trades when volatility is low and a higher proportion of winning trades when volatility is high. This seems to be the case with my system. Higher volatility means higher risk but also a higher probability of being right. In this case, position size maybe should be constant regardless of volatility.
P.S. 22 July
I calculated the Sharpe ratio for constant position size and for strategies that reduce position size as volatility increases and and increase position size as volatility increases. The constant position size strategy has the highest Sharpe ratio confirming my intuition. The strategy with a negative correlation between position size and volatility has the lowest Sharpe ratio. The strategy with a positive correlation is in between. So, for the moment I will stick with constant position sizing.
But if you do have some ability to predict the future, that trading signal might be stronger when volatility is higher and weaker when volatility is lower. Then you will have more losing trades when volatility is low and a higher proportion of winning trades when volatility is high. This seems to be the case with my system. Higher volatility means higher risk but also a higher probability of being right. In this case, position size maybe should be constant regardless of volatility.
P.S. 22 July
I calculated the Sharpe ratio for constant position size and for strategies that reduce position size as volatility increases and and increase position size as volatility increases. The constant position size strategy has the highest Sharpe ratio confirming my intuition. The strategy with a negative correlation between position size and volatility has the lowest Sharpe ratio. The strategy with a positive correlation is in between. So, for the moment I will stick with constant position sizing.
Turtle Trading
I have been reading the Complete Turtle Trader, trying to get some inspiration. Back in the early 1980s, futures trader Richard Dennis hired a bunch of relative novices (some actually had trading experience) and taught them a trend-following method of trading. He then got them to trade some of his assets using the methods. The idea was to see if trading could be taught. During the next few years, many of them generated extraordinary returns, as documented in the book. Then the experiment ended after Dennis suffered major losses and shut his fund.
Some of the "turtles" went on to run their own investment firms. The star pupil seems to be Jerry Parker who founded Chesapeake Capital. However, subsequent performance has not really been that good.* The fund has underperformed the S&P 500 and has had about twice as much volatility. Taxes would be much higher on Chesapeake's strategy than on buying and holding the index. Why does voltatility matter? Because I could have used leverage to invest in the S&P 500, increasing volatility to the level of the Chesapeake Capital fund, but increasing returns far beyond its returns.
This doesn't encourage me to adopt a long-term trend following strategy. The assumption of this kind of model is that the future is entirely unpredictable... Eckhardt is cited in the book as saying that random entry into a trade is just as good as long as you follow exit rules. That's true about most momentum trading strategies I think.
It's notable that none of these turtle related firms are very big in terms of assets under management.
* The "LV" fund performed better but still underperformed the S&P 500 on a risk adjusted basis. Salem Abraham's – described as a "second-generation turtle" in the book – fund has gone nowhere in the last ten years.
Saturday, July 14, 2018
The Index Gives Better Trading Signals than Futures Prices Do
It turns out that the NASDAQ 100 Index gives better trading signals than the NQ futures prices themselves do. I think the reason for this is that most trading takes place when the stock market is open and that is usually when big moves happen. The "out of hours" trading is mostly noise then reflecting what is happening in other stock markets and after hours earnings reports etc. The futures prices still provide signals that "beat the market" but not as well.
I did find again, that stops mostly detract from performance and I am introducing a new stops policy. When we change direction we set the stop loss at the the second pivot support for a long or the second pivot resistance for a short. We then keep that stop until either the direction of trade changes or we are stopped out. This results in far fewer stop outs.
It's likely that in commodity markets such as oil or gold the futures prices do provide good trading signals. Well, there isn't anything else to use anyway.
I did find again, that stops mostly detract from performance and I am introducing a new stops policy. When we change direction we set the stop loss at the the second pivot support for a long or the second pivot resistance for a short. We then keep that stop until either the direction of trade changes or we are stopped out. This results in far fewer stop outs.
It's likely that in commodity markets such as oil or gold the futures prices do provide good trading signals. Well, there isn't anything else to use anyway.
Wednesday, July 11, 2018
Futures Prices vs. Index Values
I didn't trade while I was in Japan because my mobile phone wasn't receiving the text messages I needed to log in to my trading account. When I got back to Australia I dithered about getting back in for a couple of days, missing a nice rally. Then this morning I decided to make the plunge (on the long side) and 2 hours later I was stopped out. Apparently there is negative news on US tariffs on trade with China.
After the cash market closes at 4pm New York time, the stock index futures trade for another hour before closing for one hour. The futures closing price can, therefore, be quite different to the index closing price. This was the case today where the futures plunged around 30 points in the last ten minutes of the futures trading session. Using the index data for the 4pm close, my model said to stay long. However, if we had knocked 30 NASDAQ points off to reflect the futures closing price, it would have switched to short. So, I think I need to get historical futures data and re-estimate my model with these. I should be able to get these from Quandl. An additional advantage of using futures prices is that I can do the analysis one hour later - currently from 7am Australian Eastern time rather than 6am Australian Eastern time. The futures market then shuts for an hour and reopens at 6pm New York time or 8am Australian time.
However, on Saturday morning the futures market closes at Friday 5pm New York time and then doesn't reopen till Monday morning at 8am in Australia. So, I will need to do the analysis with index closing data before 7am on Saturdays unless I want to get stuck in possibly the wrong direction over the weekend.
After the cash market closes at 4pm New York time, the stock index futures trade for another hour before closing for one hour. The futures closing price can, therefore, be quite different to the index closing price. This was the case today where the futures plunged around 30 points in the last ten minutes of the futures trading session. Using the index data for the 4pm close, my model said to stay long. However, if we had knocked 30 NASDAQ points off to reflect the futures closing price, it would have switched to short. So, I think I need to get historical futures data and re-estimate my model with these. I should be able to get these from Quandl. An additional advantage of using futures prices is that I can do the analysis one hour later - currently from 7am Australian Eastern time rather than 6am Australian Eastern time. The futures market then shuts for an hour and reopens at 6pm New York time or 8am Australian time.
However, on Saturday morning the futures market closes at Friday 5pm New York time and then doesn't reopen till Monday morning at 8am in Australia. So, I will need to do the analysis with index closing data before 7am on Saturdays unless I want to get stuck in possibly the wrong direction over the weekend.
Subscribe to:
Posts (Atom)