Exponential Kernels with Latency in Hawkes Processes: Applications in Finance

Marcos Costa Santos Carreira
1/16/2021
stat.MLcs.LGq-fin.TR

Official code: MarcosCarreira/Hawkes-With-Latency (20 stars, Jupyter Notebook, last commit 2021-01-16).

Abstract

The Tick library allows researchers in market microstructure to simulate and learn Hawkes process in high-frequency data, with optimized parametric and non-parametric learners. But one challenge is to take into account the correct causality of order book events considering latency: the only way one order book event can influence another is if the time difference between them (by the central order book timestamps) is greater than the minimum amount of time for an event to be (i) published in the order book, (ii) reach the trader responsible for the second event, (iii) influence the decision (processing time at the trader) and (iv) the 2nd event reach the order book and be processed.

Show full abstract

For this we can use exponential kernels shifted to the right by the latency amount. We derive the expression for the log-likelihood to be minimized for the 1-D and the multidimensional cases, and test this method with simulated data and real data. On real data we find that, although not all decays are the same, the latency itself will determine most of the decays. We also show how the decays are related to the latency. Code is available on GitHub at https://github.com/MarcosCarreira/Hawkes-With-Latency.

View on arXivView PDF

Code Implementations(1)

Hawkes with Latency

202Jupyter Notebook, PythonJul 15, 20205 years ago

Similar Papers

Cite this paper

@article{carreira2021exponential,
  title  = {Exponential Kernels with Latency in Hawkes Processes: Applications in Finance},
  author = {Marcos Costa Santos Carreira},
  year   = {2021},
  eprint = {2101.06348},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.06348}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.06348.svg)](https://codeofpaper.com/paper/2101.06348)

Discussion