Feels like time for a bit of an update.
Hit a HWM again on Monday, but I guess now like most people I'm a little off that, down about 0.9%. YTD will be somewhere between 33% and 38% depending on whether you use non compounded or compounded returns (I prefer the former, but for comparision the latter makes me look better). For the financial year I'm probably up like 6%.
The teaching year has finished, and most of my time recently has been spent book writing. I'm 99% of the way into finishing my first draft. Right now I'm waiting on my industry experts to review what I've written so far. I also have to write the technical appendix, which for some reason I've got a bit of a writers block on, even though it's only a couple of pages. I probably ought to be proofreading, but I have also reached the point of basically being sick of looking at the bloody document every day (it's nearly 500 pages - about the same length as 'Smart Portfolios', and I know every page by heart). So I'm taking a bit of a break from writing whilst waiting for my expert feedback to come in.
With my break I'm catching up on some longstanding DIY jobs, refurbishing an old bike I've picked up from somewhere, trying to get a bit more exercise, baiting crypto people on twitter, and working my way through the list of issues and enhancements on pysystemtrade. Pysystemtrade will of course never be finished, there will always be code that needs refactoring, documentation that needs doing, the ocassional bug to deal with... so it's a project I can keep going back to.
When the feedback comes back I'll incorporate that and finally attack the appendix. I then will have the official first draft, hopefully before the deadline which is mid July. Once I've handed it in I will effectively take the next 6 weeks off. Then in September it will be a case of writing up code and spreadsheets to accompany the book, and doing several rounds of proofreading ping pong with my editor.
At the beginning of the year I said "In Q3 I also want to implement the new strategies I will have developed for the book."
Related to this, on the wall behind my desk I have a piece of paper with 'Stage 6' on it. Many moons ago, I put together a six stage plan to get pysystemtrade into production and then do various other things with it. This is the earliest reference I can find: https://www.elitetrader.com/et/threads/fully-automated-futures-trading.289589/page-216#post-5125364 from almost exactly 2 years ago:
"I'm now making good process on stage 2, the goal of which is to be able to do basic auto trading.
....
Stage 3 will get me to the same functionality that the old system had, whilst stage 4 will be a full bells and whistles version (at this point I'll crown it with version 1.0 and do the documentation that's really fallen behind). Stages 5 and 6 will expand the system so I can use it to test my new trading strategies (TBC)."
[Stage 5 was dynamic optimisation by the way]
On the list for stage 6 were things like
- intra and inter market spreads
- intraday mean reversion
- order netting (required for multiple strategies)
- conditional orders (required for intraday mean reversion)
- fast daily momentum
You can see here the overlap between 'new strategies from the book' and stage 6. Anyway, the list now looks like this:
- intraday mean reversion
- conditional orders (required for intraday mean reversion)
WTF? I hear you gasp. Well basically one upshot of the book is that I've realised that:
- I couldn't get fast daily momentum to work - it's not even in the book.
- spread trading is too risky and capital intensive; I will get a better SR leaving the money in dynamic optimisation
- intraday mean reversion works, brilliantly, but I am better running it on seperate instruments without the need for the considerable complexity of order netting.
So I'm basically left with only implementing a directional intraday mean reversion system (in practice the holding period will average a few days, but it's backtested on hourly data and will run in live continously). This will run on a subset of instruments, which I will then mark as don't trade in the dynamic optimisation setup. This will hopefully be quite an easy win to more SR, but I will be doing it gradually, one instrument at a time. I'm not sure what the final balance of instrument and capital allocation looks like between the two strategies I will be running; but ideally I'd like to run at least one instrument in each asset class if I can with mean reversion.
In minor news, I'll probably return to my 'adding new markets' project, since I want to get the most value out of my barchart subscription before it runs out at the end of 2023.
That should keep me pretty busy for the rest of the year and perhaps a bit longer. Then I'll probably get itchy writing fingers again. I keep adding, but not deleting, to my list of ideas for books...
Rob
Hit a HWM again on Monday, but I guess now like most people I'm a little off that, down about 0.9%. YTD will be somewhere between 33% and 38% depending on whether you use non compounded or compounded returns (I prefer the former, but for comparision the latter makes me look better). For the financial year I'm probably up like 6%.
The teaching year has finished, and most of my time recently has been spent book writing. I'm 99% of the way into finishing my first draft. Right now I'm waiting on my industry experts to review what I've written so far. I also have to write the technical appendix, which for some reason I've got a bit of a writers block on, even though it's only a couple of pages. I probably ought to be proofreading, but I have also reached the point of basically being sick of looking at the bloody document every day (it's nearly 500 pages - about the same length as 'Smart Portfolios', and I know every page by heart). So I'm taking a bit of a break from writing whilst waiting for my expert feedback to come in.
With my break I'm catching up on some longstanding DIY jobs, refurbishing an old bike I've picked up from somewhere, trying to get a bit more exercise, baiting crypto people on twitter, and working my way through the list of issues and enhancements on pysystemtrade. Pysystemtrade will of course never be finished, there will always be code that needs refactoring, documentation that needs doing, the ocassional bug to deal with... so it's a project I can keep going back to.
When the feedback comes back I'll incorporate that and finally attack the appendix. I then will have the official first draft, hopefully before the deadline which is mid July. Once I've handed it in I will effectively take the next 6 weeks off. Then in September it will be a case of writing up code and spreadsheets to accompany the book, and doing several rounds of proofreading ping pong with my editor.
At the beginning of the year I said "In Q3 I also want to implement the new strategies I will have developed for the book."
Related to this, on the wall behind my desk I have a piece of paper with 'Stage 6' on it. Many moons ago, I put together a six stage plan to get pysystemtrade into production and then do various other things with it. This is the earliest reference I can find: https://www.elitetrader.com/et/threads/fully-automated-futures-trading.289589/page-216#post-5125364 from almost exactly 2 years ago:
"I'm now making good process on stage 2, the goal of which is to be able to do basic auto trading.
....
Stage 3 will get me to the same functionality that the old system had, whilst stage 4 will be a full bells and whistles version (at this point I'll crown it with version 1.0 and do the documentation that's really fallen behind). Stages 5 and 6 will expand the system so I can use it to test my new trading strategies (TBC)."
[Stage 5 was dynamic optimisation by the way]
On the list for stage 6 were things like
- intra and inter market spreads
- intraday mean reversion
- order netting (required for multiple strategies)
- conditional orders (required for intraday mean reversion)
- fast daily momentum
You can see here the overlap between 'new strategies from the book' and stage 6. Anyway, the list now looks like this:
- intraday mean reversion
- conditional orders (required for intraday mean reversion)
WTF? I hear you gasp. Well basically one upshot of the book is that I've realised that:
- I couldn't get fast daily momentum to work - it's not even in the book.
- spread trading is too risky and capital intensive; I will get a better SR leaving the money in dynamic optimisation
- intraday mean reversion works, brilliantly, but I am better running it on seperate instruments without the need for the considerable complexity of order netting.
So I'm basically left with only implementing a directional intraday mean reversion system (in practice the holding period will average a few days, but it's backtested on hourly data and will run in live continously). This will run on a subset of instruments, which I will then mark as don't trade in the dynamic optimisation setup. This will hopefully be quite an easy win to more SR, but I will be doing it gradually, one instrument at a time. I'm not sure what the final balance of instrument and capital allocation looks like between the two strategies I will be running; but ideally I'd like to run at least one instrument in each asset class if I can with mean reversion.
In minor news, I'll probably return to my 'adding new markets' project, since I want to get the most value out of my barchart subscription before it runs out at the end of 2023.
That should keep me pretty busy for the rest of the year and perhaps a bit longer. Then I'll probably get itchy writing fingers again. I keep adding, but not deleting, to my list of ideas for books...
Rob
Last edited:
), I guess will read about the details in the book, can't wait