Add training workflow, datasets, and runbook
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
47
|
||||
Linking ContraCts for Long-term Chart anaLysis
|
||||
December coffee falls 5 cents/lb to 133.50—a 3.6 percent drop. A nearest futures price series will
|
||||
show the following closing levels on these two successive days: 132.50 cents, 133.50 cents. In other
|
||||
words, the nearest futures contract would show a one-cent (0.75 percent) gain on a day on which longs
|
||||
would actually have experienced a huge loss. This example is by no means artificial. Such distortions—
|
||||
and indeed more extreme ones—are quite common at contract rollovers in nearest futures charts.
|
||||
The vulnerability of nearest futures charts to distortions at contract rollover points makes it desir-
|
||||
able to derive alternative methods of constructing linked-contract price charts. One such approach
|
||||
is detailed in the next section.
|
||||
Continuous (Spread-adjusted) price Series
|
||||
The spread-adjusted price series known as “continuous futures” is constructed by adding the cumulative dif-
|
||||
ference between the old and new contracts at rollover points to the new contract series.
|
||||
1 An example should
|
||||
help clarify this method. Assume we are constructing a spread-adjusted continuous price series for gold
|
||||
using the June and December contracts.
|
||||
2 If the price series begins at the start of the calendar year, initially the
|
||||
values in the series will be identical to the prices of the June contract expiring in that year. Assume that on the
|
||||
rollover date (which need not necessarily be the last trading day) June gold closes at $1,200 and December
|
||||
gold closes at $1,205. In this case, all subsequent prices based on the December contract would be adjusted
|
||||
downward by $5—the difference between the December and June contracts on the rollover date.
|
||||
Assume that at the next rollover date December gold is trading at $1,350 and the subsequent June
|
||||
contract is trading at $1,354. The December contract price of $1,350 implies that the spread-adjusted
|
||||
continuous price is $1,345. Thus, on this second rollover date, the June contract is trading $9 above the
|
||||
adjusted series. Consequently, all subsequent prices based on the second June contract would be adjusted
|
||||
downward by $9. This procedure would continue, with the adjustment for each contract dependent on the
|
||||
cumulative total of the present and prior transition point price differences. The resulting price series would
|
||||
be free of the distortions due to spread differences that exist at the rollover points between contracts.
|
||||
The construction of a continuous futures series can be thought of as the mathematical equivalent
|
||||
of taking a nearest futures chart, cutting out each individual contract series contained in the chart,
|
||||
and pasting the ends together (assuming a continuous series employing all contracts and using the
|
||||
same rollover dates as the nearest futures chart). Typically, as a last step, it is convenient to shift the
|
||||
scale of the entire series by the cumulative adjustment factor, a step that will set the current price
|
||||
of the series equal to the price of the current contract without changing the shape of the series. The
|
||||
construction of a continuous futures chart is discussed in greater detail in Chapter 18.
|
||||
1 T o avoid confusion, readers should note that some data services use the term continuous futures to refer to linking
|
||||
together contracts of the same month (e.g., linking from March 2015 corn when it expires to March 2016 corn,
|
||||
and so on). Such charts are really only a variation of nearest futures charts—one in which only a single contract
|
||||
month is used—and will be as prone to wide price gaps at rollovers as nearest futures charts, if not more so.
|
||||
These types of charts have absolutely nothing in common with the spread-adjusted continuous futures series
|
||||
described in this section—that is, nothing but the name. It is unfortunate that some data services have decided
|
||||
to use this same term to describe an entirely different price series than the original meaning described here.
|
||||
2 The choice of a combination of contracts is arbitrary. One can use any combination of actively traded months
|
||||
in the given market.
|
||||
Reference in New Issue
Block a user