Friday, 22 February 2013


TRV did very nicely today after being triggered yesterday, up 18%

Friday, 15 February 2013


CAD is doing quite nicely today, was triggered on the 12th Feb, and today (15th Feb) currently up 29%.

Wednesday, 13 February 2013

Success coefficients

I have aligned the trace and candlestick success coefficients to mean the same - tweedle dee is expected percentage rise and tweedle dum is the percentage time this has occurred.

As an example below is the tweet from today for a company named CAF:


#LON:#CAF:13-FEB-13:#LSE_trace::23.9:100:16: 4.13

This reads as:

On the London stock exchange, for the company CAF, on 13th Feb 2013, the trace was triggered with a prior 100% success rate of obtaining 11.5% increase within the following 5 days, on the 16 occurrences this trigger happened previously, with previously the price rise averaged 23.9%, and had today a volume 4.13 times the average 3 monthly volume. The final piece is the link to the LSE website for this company.

So dee is 23.9, and dum is 100, along with the count (16) and the volume analysis (4.13) gives the map for this company. 

Friday, 8 February 2013


STK from two days ago (in the legs for opera page) just went up 40% today. I will change the limits on the tweets for this type of exceptional situation.

Wednesday, 6 February 2013

Bid and Ask Size

It seems that trades that are dealt with by Market Makers work on the basis of Size both for Buying and Selling.
What this has meant to me is that trying to sell 100,000 BLU when the Ask Size is 70,000, the trade will not appear on L2 and that more disturbingly it may not get executed, even if the price is within limits.

Thankfully the Bid and Ask Size are on L2 and so this is another aspect of trading that really needs to be added to the whole process and which I can monitor now.

Learning something every day.

recap III

Quite a few things have changed since the last update and so lets do another one.

This is all about getting a system that I have built called 'oasis' to deliver triggers as to when to buy shares, currently geared to the London Stock Exchange as I am based in the UK, but with the ability to easily integrate other exchanges - I have run tests on NYSE, NASDAQ and FX and these worked well, so am just waiting for someone to say they would like to see these and I will reinstate. 

oasis brings down via ftp, the end of day data each evening, cleans and uploads to a database. And then the calculations start.

We have 3 trigger processes, Candlesticks, Trace and Betas.


This is the usual Candlestick algorithms with added bespoke relationship algorithms. We have 8 indicators related to the relationship between periods (day).
We calculate for each company the Markov Switching Multifractal (MSM) for each individual company for these 8 Candlestick indicators. 
Each evening we compare the daily calculated indicators against the MSMs and Tweet any that have a greater than 11.5% rise indicated greater than 95% of the time.
The Tweet contains 2 specific indicators, for want of better names I have called Tweedle Dee and Tweedle Dum which are average percentage price increase and percentage times that this has risen respectively. The Tweet also contains the number of times this has triggered and the day's volume as per the average 3 monthly volume, and are labelled LSE_cs.


After End Of Day data upload all indicators are calculated (PSAR, MACD, ADX, VI, RSI, Stochastics, Bollingers and quite a few mixed combinations of these such as the PSAR on the MACD)
Each one of these indicators and combinations has been assigned an alphabetic letter for the trigger, and for every combination of 6 of these indicators we have calculated the MSM prior to the End Of Day data upload. I noticed that more than 6 indicators resulted in very limited results. Examples of this are given in this blog here.
We then compare the daily calculated indicators with the stored MSM.
As an indicator the calculation of the MSM takes about 1.5 hours per company, and takes about 4 weeks of processing to complete the whole LSE exchange companies. This process is scheduled to run constantly.
All the trigger indicators are condensed into 2 indicators again called Tweedle Dee and Tweedle Dum, which are essentially the number of indicators triggered and the number of times this has been triggered.
After daily comparisons have been made, any companies that meet the specific criteria are tweeted under LSE_trace. The Tweet also contains the number of times this has triggered and the day's volume as per the average 3 monthly volume.


This is a fully bespoke and manual set of instructions the user can enter and test. This incorporates an HTML sql interface to the database along with full reporting capabilities.

There are two servers, one production that tweets and one development that tests new algorithms.
The production server is a 16 core Xeon processor, multiple solid state disks and 32 gigs of RAM.
The development server is a 12 core Xeon with ssds and 24 gigs of RAM.
Both servers run Oracle Enterprise Linux and Oracle 11g Database.

Email or comment if you would like more information

when does the Narwhal bacon ?

Legs for opera

No Tweets today but, there is one Candlestick triggered company of note, STK, that got filtered because tweedle dum was only 84%, but the exceptional aspect was that this related to 63 occurrences with an average 36% price increase. Lets see how this gets on:

05-FEB-13 STK LSE LSE_cs uuu0202021313 63 36.06 84.13

Please note that we are currently filtering at 95% occurrence probability and so a lot fewer tweets.

Sold BLU today splitting volumes with a 28% return.

Tuesday, 5 February 2013


BLU is worth watching. Managed to buy in this morning prior to the 83% rise, but even though we had a sell at 11.5% the sell was not executed. Currently we have a 21.34% increase on BLU. But this does highlight the vagaries of the buy/sell process. We also did not see our sell trade on L2 and so really do not know what is going on, but would assume this to be all part of the game play. Will be experimenting with sell volumes and trying to see what the Market Makers are doing. Every step in this process seems to have its own agenda and the game is to enable some advantage to our side. Anyone have any views ? 

Sunday, 3 February 2013

Candlestick analysis

Looking back at all of the Candlestick Tweets since November 2012, we have not done too badly - column definitions are in a previous post, but to clarify tweedle dee (tdee) is the average percentage increase from the Markov Fractal Chain calculations, and tweedle dum (tdum) is the percentage times this Candlestick set has been triggered and achieved the over 11.5% price increase (all are 100%):

AUMP 30-JAN-13 LSE_cs 3 19.33 100 79 0.01 18 14 18 28.6 28.6 28.6 28.6 28.6
BLU 24-JAN-13 LSE_cs 4 24.5 100 75000 0.83 0.3 0.25 0.3 20 20 20 20 20
JMCS 23-JAN-13 LSE_cs 3 83.17 100 1988 0.1 2.625 1.16 12.99 1019.8 1019.8 1019.8 1019.8 1019.8
BLU 15-JAN-13 LSE_cs 3 28 100 11107 0.13 0.275 0.265 0.3 13.2 13.2 13.2 13.2 13.2
SPE 14-JAN-13 LSE_cs 3 26.9 100 2109 0.05 6.625 6.55 7.25 10.7 22.1 22.1 22.1 22.1
UVEL 10-JAN-13 LSE_cs 3 19.3 100 200000 0.49 0.525 0.5025 0.55 9.5 10.4 10.4 10.4 10.4
ADS 31-DEC-12 LSE_cs 5 19.06 100 375000 0.45 0.035 0.037 0.04 8.1 8.1 21.6 21.6 21.6
BRNS 21-DEC-12 LSE_cs 3 444 100 2116 0.11 0.275 0.06 0.365 508.3 508.3 508.3 508.3 508.3
BLU 21-DEC-12 LSE_cs 3 28 100 100000 0.5 0.325 0.25 0.325 30 30 30 30 30
CRHL 21-DEC-12 LSE_cs 5 25.38 100 269019 1.13 0.35 0.3 0.35 16.7 16.7 16.7 16.7 16.7
ADS 19-DEC-12 LSE_cs 5 19.06 100 500000 0.51 0.035 0.02 0.04 100 100 125 125 125
AUMP 14-DEC-12 LSE_cs 4 23.3 100 5204 0.37 18 14 20.5 46.4 46.4 46.4 62.4 62.4
ADS 11-DEC-12 LSE_cs 5 19.06 100 150000 0.15 0.04 0.03 0.035 16.7 33.3 33.3 50 50
CMI 05-DEC-12 LSE_cs 3 50.27 100 10062 0.03 0.925 0.888 1 12.6 12.6 12.6 12.6 12.6
ATI 22-NOV-12 LSE_cs 4 17.38 100 131 0.01 71.75 62.5 74 18.4 18.4 18.4 18.4 18.4
ADS 20-NOV-12 LSE_cs 5 19.06 100 248000 0.25 0.04 0.037 0.04 8.1 8.1 8.1 21.6 21.6
FASS 13-NOV-12 LSE_cs 3 29.53 100 15431 2.4 5.005 3.52 5.01 42.3 42.3 84.7 169.9 337.2