Wednesday, June 8, 2016

The Problem of Calibrating a Simple Agent-Based Model of High-Frequency Trading

The Problem of Calibrating a Simple Agent-Based Model of High-Frequency Trading

Agent-based models, particularly those applied to financial markets, demonstrate the ability to produce realistic, simulated system dynamics, comparable to those observed in empirical investigations. Despite this, they remain fairly difficult to calibrate due to their tendency to be computationally expensive, even with recent advances in technology. For this reason, financial agent-based models are frequently validated by demonstrating an ability to reproduce well-known log return time series and central limit order book stylized facts, as opposed to being rigorously calibrated to transaction data. We thus apply an established financial agent-based model calibration framework to a simple model of high- and low-frequency trader interaction and demonstrate possible inadequacies of a stylized fact-centric approach to model validation. We further argue for the centrality of calibration to the validation of financial agent-based models and possible pitfalls of current approaches to financial agent-based modeling.
Comments:25 pages, 11 figures
Subjects:Computational Finance (q-fin.CP); Trading and Market Microstructure (q-fin.TR)
Cite as:arXiv:1606.01495 [q-fin.CP]
(or arXiv:1606.01495v1 [q-fin.CP] for this version)

Monday, May 23, 2016

Live long and think mathematically


http://www.nytimes.com/2016/04/25/opinion/the-mathematicians-90th-birthday-party.html?_r=0


Beyond inequality


Beyond inequality, this talk on Europe-in-crisis also resonates concerns from developing economies. Notably, the speakers clarifies his view as to what he considers to be fundamental signatures of the current crisis. His tax  innovations proposals are interesting and tuned for Greece. Analogously, there could innovations to address SA crisis issues which emanate from the sources where small changes in thinking and action can make a big difference in socio-economic evolutions.

Video: Yanis Varoufakis,  "And the Weak Suffer What They Must?" (Talks at Google)





Monday, May 16, 2016

Learning zero-cost portfolio selection with pattern matching

Final....

Learning zero-cost portfolio selection with pattern matching

We consider and extend the adversarial agent-based learning approach of Gy{\"o}rfi {\it et al} to the situation of zero-cost portfolio selection implemented with a quadratic approximation derived from the mutual fund separation theorems. The algorithm is applied to daily sampled sequential Open-High-Low-Close data and sequential intraday 5-minute bar-data from the Johannesburg Stock Exchange (JSE). Statistical tests of the algorithms are considered. The algorithms are directly compared to standard NYSE test cases from prior literature. The learning algorithm is used to select parameters for agents (or experts) generated by pattern matching past dynamics using a simple nearest-neighbour search algorithm. It is shown that there is a speed advantage associated with using an analytic solution of the mutual fund separation theorems. It is argued that the expected loss in performance does not undermine the potential application to intraday quantitative trading and that when transactions costs and slippage are considered the strategies can still remain profitable when unleveraged. The paper demonstrates that patterns in financial time-series on the JSE can be systematically exploited in collective but that this does not imply predictability of the individual asset time-series themselves.
Comments:28 pages, 21 figures
Subjects:Computational Finance (q-fin.CP); Portfolio Management (q-fin.PM); Trading and Market Microstructure (q-fin.TR)
Cite as:arXiv:1605.04600 [q-fin.CP]
(or arXiv:1605.04600v1 [q-fin.CP] for this version)

Sunday, April 17, 2016

Demonstrating the high-performance low-latency stock market simulator developed by QuERI Lab


This is the website for the interface that uses the fully re-configurable high-performance low-latency matching engine developed by Dharmesh Sing for large-scale ABM modeling. This is being used for the following working paper which is based on the testing of the infrastructure as part of the graduate research project of Mr Sing:

The simulation of a realistic market data feed using mutually-exciting Hawkes processes
 D. SING, D. HENDRICKS , and T. GEBBIE

We propose a feasible scheme for the simulation of an asynchronous stream of limit order book events.
An n-variate mutually-exciting Hawkes process is used to govern the times of coupled liquidity demand
and supply events, while trade and quote prices and volumes are generated consistent with the event
type. This provides a flexible framework to simulate a market data feed with varying throughput, with
full control over the trade and quote conditional intensities.

Keywords: market microstructure; Hawkes process; data simulation; limit order books
JEL Classification: C61, C63, D81, G10

Wednesday, April 13, 2016

Reflections on risk, regulation and model revision

Pricing perspectives continue to come under scrutiny in 2016. Consider the following communications by leading researchers this year on FVA:


[Hull] Models and measures 1 & 2

http://www.fincad.com/blog/models-and-measures-1 (2 Feb 2016)
"Risk-neutral valuation is without doubt the most important single principle in derivative pricing. If we did not have risk-neutral valuation, we would have to make estimates of the return provided by underlying market variables in the real world and then quantify the riskiness of the payoff in some way to determine the correct discount rate."

http://www.fincad.com/blog/models-and-measures-2 (1 Mar 2016)
"But it should always be remembered that a risk-neutral world is nothing more than an artificial construct. It does not describe how market variables behave in the real world, the world we actually live in."


[Duffie] You're doing Swaps Account wrong (11 Mar 2016)

http://www.bloomberg.com/news/articles/2016-03-11/professor-to-wall-street-you-re-doing-swaps-accounting-wrong (11 Mar  2016)
"Nitpicking over a $500,000 cost on a $100 million trade might seem inconsequential, but the market for interest-rate swaps, the largest in the world, is $319 trillion in size, according to the Bank for International Settlements. Even small errors matter."

and here is Hull on the ongoing FVA debate:
http://www.riskmindslive.com/what-is-the-fva-debate/ (26 Nov 2015)
https://www.youtube.com/watch?v=meyVxzd-Khw


DLW