sabato 16 ottobre 2010

Summum ius, summa iniuria: In difesa dei traders norvegesi. Cos'è successo a Econotwist?

E' divertente prendendo l'aereo riempirsi di quotidiani...il rischio è di mettersi a leggerli e di perdere troppo tempo. E' quanto mi è capitato ieri tornando a casa da Parigi. Sul Financial Times mi ha però molto colpito la storia di Svend Egil Larsen e Peder Veiby, due day traders indipendenti norvegesi condannati dal Tribunale di Oslo per manipolazione dei mercati. Secondo il FT i due hanno scoperto indipendentemente l'uno dall'altro un pattern prevedibile in un algoritmo di trading computerizzato utilizzato da un market maker statunitense di alcuni titoli norvegesi poco liquidi, e hanno impiegato questa conoscenza a proprio vantaggio, guadagnando circa 40000 sterline in circa cinque mesi. Secondo il FT

Mr Veiby found that the bid and ask prices moved up and down in tandem after each trade, making it easy to predict the spread between them.
He also noticed that the algorithm would respond in the same way to a small trade as it did to a larger one. This allowed him to buy a large number of shares at a low price and then make several smaller trades to bid up the price before selling out at a profit.
Svend Egil Larsen, the other defendant and a full-time day-trader for the past seven years, made the same discovery separately.

La scoperta di Veiby e Larsen è certamente un tributo alle loro buone qualità di analisi:

Niels Buhl, senior partner at Arctic Lake, which builds algorithms, said he had no knowledge of the Norwegian case but that it would be possible for someone to work out what an algo was doing by looking at market data, prices and any trading patterns that the algo had produced and working back from there.
“You can measure statistically what is happening in the market and do some forecasting,” he said, but added: “It’s not always easy to guess what an algo is doing otherwise a lot of people would be doing it.”


Ecco come vede il caso il FT, io sono completamente d'accordo con il commento del quotidiano inglese:

The outcome may be legally sound but does little to serve public interest. For there is no social gain from protecting the principals behind an algorithm of such breathtaking stupidity. No one forced them to trade this way: indeed the aim of automated trading is to find and exploit patterns more efficiently than the outmoded humans who on this occasion bested it.  (...) The court also said the trades drove up volatility. This is true - but surely programmers of a robot that ratchets up prices indiscriminately whenever someone buys from it share the blame. Regulatory investigation of the sort US authorities carried out into the May "flash crash" would be useful - as would letting the market root out stupid algorithms in its own way: by bankrupting their owners.


Ero sicuro di trovare un adeguato commento e analisi su Econotwist 
ma con sorpresa ho scoperto che il blog è stato sospeso da Wordpress! Qualcuno sa come mai? Spulciando però il blog attraverso le copie cache disponibili grazie a Google (ancora per poco però) ho trovato ampi stralci della testimonianza di Espen Haug al processo, in qualità di esperto. Sono riprodotti anche su The Swapper e potete leggerli qui. Per saperne di più sull'algoritmo che i due trader hanno ingannato vi consiglio questo post, sempre  su The Swapper. Ecco in sintesi come hanno fatto (Timber Hill è il nome del broker che utilizzava l'algoritmo):


[Trader] One trader (Timber Hill) is in the book with a 5k bid at 9.7 and a 5k ask at 10.
[Trader] You buy 5000 “XYZ” at 10 from Timber Hill (TMB).
[Trader] Then TMB moves the bid to a 9,8 and the ask to 10,10.
[Trader] You buy 100 at 10,10.
[Trader] TMB moves to 9,9/bid and 10,2/ask.
[Trader] You buy 100 at 10,20.
[Trader] TMB moves to 10/bid and 10,30/ask.
[Trader] You buy 100 at 10,30.
[Trader] TMB moves to 10,1/bid and 10,4/ask.
[Trader] You buy 100 at 10,40.
[Trader] TMB moves to 10,2/bid and 10,5/ask.
[Trader] You buy 100 at 10,5.
[Trader] TMB moves to 10,3/bid and 10,6/ask.
[Trader] Then you sell 5500 at 10,3 (even if it shows only 5000, it’s hidden and takes the rest too).
[Trader] If you can short the stock, you dump 5k at 10,30/bid, and follow the same pattern on the way down.

[Trader] P/L
[Trader] 56650-55150=1500
“You can do this over and over again because Timber Hill doesn’t have a learning curve,” the trader points out.

3 commenti:

Anonimo ha detto...

Ma è realmente una cosa illegale? cosa hanno fatto di illegale? comprato e venduto. nient'altro. mah, sono perplesso.

Paolone_1 ha detto...

La domanda che ci si pone è un'altra, chi dei due ( robot e Day trader ) stava manipolando il mercato?

Stefano Marmi ha detto...

E' vero, è una domanda legittima.