Cross correlation

I am trying to find a good algo (low latency) that is able to take two time series and determine which one is leading on the other one if any. The time series do not necessarily have the same timestamp. There is a thing called the granger 'causality' test that gives an idea, but in my case (have in mind the trades from a financial asset traded on two different exchanges) I would like to think there is a player (a mover say) that chooses to trade on a certain exchange that will generate this lead, but obviously, this can change. Could anyone point me to some papers on the subject or libraries (preferably in python) that wish to solve this problem?

Topic causalimpact machine-learning-model correlation deep-learning time-series

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.