~/talk

Speeding Up Feature Calculation on a Small Dataset for HFT on the Exchange

TalkinRussianat PyCon Weekend 2022 · 2022-03-25..03-26· [finance-and-economics]
links:none on file
slides:none on file

The talk covers reducing feature-calculation latency for HFT on very small datasets (hundreds to <1000 rows). It explains why low latency matters in high-frequency trading, discusses optimizations to reduce the number of computations, proposes using NumPy structured arrays instead of Pandas DataFrame, and revisits mathematical simplifications to further cut operations.

AI-written summary · about

  1. 0:00Introduction
  2. 3:16Latency types in HFT
  3. 5:04Exchange data stream
  4. 7:13Pandas performance
  5. 9:02NumPy arrays
  6. 10:50Numba acceleration
  7. 11:52Numba vs NumPy
  8. 12:57Process separation
  9. 14:20Optimizing features
  10. 16:31Final feature scheme
  11. 17:35Performance results
  12. 23:32Python vs C++
  13. 24:37Number of indicators
  14. 25:46Moving averages
  15. 26:50Handling price spikes
  16. 27:52Startup constraints
  17. 28:56Q&A
  18. 29:17Exchange details
  19. 29:38Hardware scaling
  20. 30:42DataFrame trade-offs
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.