Pairs trading gold
Over at the Mechanical Investing board, a user mentions pairs trading gold. I'm working on some new tools, and this gave me an excuse to run a simple test. Since GLD (a gold ETF) and/or GDX (gold miners ETF) has a fairly short history, I decided to test extending the history somewhat, creating a proxy for GDX and testing the ratio with the actual gold price. The goal with the proxy and gold price is to allow for a longer backtest.
For the GDX proxy I picked the US listed companies currently owned by the GDX ETF: AEM, ABX, AU, GFI, NEM, HMY. Comparing this proxy with GDX gives the following results:
At least over the period that the GDX ETF exists, this proxy isn't too shabby. But just to be on the safe side, let's compare the shape of the two ratios, GDX/GLD with proxy/goldprice:
Based on this, I would say the proxy works quite well. Since the proxy has a longer backtest, how does that look?
Gold proxy ratio long backtest
By reducing the GDX proxy to the companies AEM, ABX, GFI and NEM, it's possible to backtest back to the beginning of 1990, as shown below:
Note to myself - Code used for generating graphs:
# plotparams(size=640x480)
# cquotes(19900101,20080410,ya:AEM,ya:AU,ya:ABX,ya:GFI,ya:HMY,ya:NEM,pi:IDXDATA/$GOLD,ya:GDX,ya:GLD)
# createscale(GDXproxy,ya:AEM,ya:ABX,ya:AU,ya:ABX,ya:GFI,ya:NEM,ya:HMY)
my $sum=0;
for (@d[1..$#d]) { $sum += $_; }
$sum /= @d;
return $sum;
# plot(GDXproxy,ya:GDX)
# create(proxyratio,GDXproxy,pi:IDXDATA/$GOLD)
return $d[1]/$d[2];
# rawplot(GDXproxy)
# plotparams(fromdate=20060523)
# rawplot(proxyratio)
# create(GDXGLDratio,ya:GDX,ya:GLD)
return $d[1]/$d[2];
# rawplot(GDXGLDratio)
# plotparams(fromdate=19700101)
# rawplot(proxyratio)
# createscale(GDXproxyLong,ya:AEM,ya:ABX,ya:GFI,ya:NEM)
my $sum=0;
for (@d[1..$#d]) { $sum += $_; }
$sum /= @d;
return $sum;
# create(proxyratiolong,GDXproxyLong,pi:IDXDATA/$GOLD)
return $d[1]/$d[2];
# rawplot(proxyratiolong)




Comments
Im so happy to see these
Im so happy to see these stats. Honestly, im into buying and selling Gold. Been to gold events, and as far as i can say. i'm very lucky in this kind of business.
well
well,I decided to test extending the history somewhat, creating a proxy for GDX and testing the ratio with the actual gold price. The goal with the proxy and gold price is to allow for a longer backrest....nothing else ...i have noticed during my online education that their is some special effect who effect market as well as gold terms...nyways...nice sharing keep it up
There are two main reasons
There are two main reasons why selling scrap gold is on the increase. Firstly, with the current economic climate more of us need to raise extra cash and can no longer afford to have unused gold or jewellery just stuck in a drawer gathering dust.gold buyer
Minas Geraes was a battleship
Minas Geraes was a battleship built for the Brazilian Navy. Named in honor of the Brazilian state of Minas Gerais, the ship was laid down in April 1907 as the lexapro lead ship of her class, making Brazil the third country to have a dreadnought under construction. Two months after her commissioning on 5 January 1910, Minas Geraes was featured in an edition of Scientific American, which hailed her as "the last word in heavy battleship design and the ... most powerfully armed warship afloat". In November 1910, Minas Geraes was the focal point of the Revolta de Chibata (English: Revolt of the Whip). When Brazil entered the First World War in 1917, Britain's Royal Navy declined Brazil's offer to send Minas Geraes to join the Grand Fleet because the ship was outdated. In 1921, Minas Geraes was modernized in the United States. In the 1930s, after having a role in two mutinies during the previous decade, the battleship was modernized again, this time at the Rio de Janeiro Naval Yard. She underwent further refitting from 1939 to 1943. buy propecia During the Second World War, Minas Geraes was anchored in Salvador as the main defense of the port, as she was too old to play an active part in the conflict. For the last nine years of her service life, Minas Geraes remained largely inactive, and she was towed to Italy for scrapping in March 1954.
The pairs trade or pair
The pairs trade or pair trading, also known as market neutral, was developed in the late 1980s by quantitative analysts and pioneered by Gerald Bamberger while at Morgan Stanley. With the help of others at Morgan Stanley at the time, including Nunzio Tartaglia, Bamberger found that certain securities, often competitors in the same sector, were correlated in their day-to-day price movements. When the correlation broke down, i.e. one stock traded up while the other traded down, they would sell the outperforming stock and buy the underperforming one, betting that the "spread" between the two would eventually converge.
I am a student of ccnp certification and i am so much specialties in the network solution's.