The Thermodynamics Of High Frequency Markets