Will the uni course be using pysystemtrade? Perhaps you could set them some course work to add some machine learning forecast functions to plug-in
Hi guys, based on my limited understanding, price stitching of futures seem to involve a lot of factors that is not easily coded into rules. Do we have to eyeball each individual instrument and look at volume, seasonality etc to decide on roll dates? How do you do it? How does quantopian / quantconnect / quandl do it (if they do it) ?
@traider the simplest form of stitching is the so-called Panama stitching method. @globalarbtrader wrote an extensive post on his blog about how to use this. It is here: https://qoppac.blogspot.com/2015/05/systems-building-futures-rolling.html
If you don't want to do your own stitching, you should have a look at quandl's db which offers a stitched database of the main futures contracts based on simple algos such as OI crossover.
Let's say you use the Panama method, you still have to decide when to a contract ends and when the next starts right? Will everyone will pick the same dates?
I made a program that I check every day. It gathers prices for all my instruments, cycling through one at a time. It keeps track of the standard roll schedule of each contract, and when one of those dates approaches, it shows me details of the contract I'm holding versus the next contract. Once the volume and bid/ask spread of the next contract is close to the one I'm holding, I decide to roll, and I manually execute the trade or trades.
I will like to do something similar, can you give me some pointers or leads ? Perhaps a sample program online that does a similar thing which I can adapt?
I don’t know what everyone does. I myself select a next contract when the current contract approaches its expiry date, or first notice date in case of contracts which have physical delivery. Deciding which contract to use is something which I have not automated.
You can equalise the Sharpe Ratios in your optimisation so that correlation is the only factor that isn't considered. I generally do this myself (for pre-costs). GAT