# Flex Model: an event-driven feature engineering system

DevFeed: [Flex Model: an event-driven feature engineering system](<https://devfeed.tech/articles/flex-model-an-event-driven-feature-engineering-system-88874.md>)

Original publisher: [Read original article](<https://blog.janestreet.com/flex-model-an-event-driven-feature-engineering-system/>)

Author: Stanislaw Maczka

Published: 2026-10-13T00:00:00Z

Content type: article

Language: en

Sources: [Jane Street](<https://devfeed.tech/sources/jane-street.md>)

Topics: [Feature Engineering](<https://devfeed.tech/topics/feature-engineering.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [feature](<https://devfeed.tech/tags/feature.md>), [feature-engineering](<https://devfeed.tech/tags/feature-engineering.md>)

## AI overview

Jane Street describes Flex Model, an event-driven feature engineering framework that converts market events into numerical features for trading systems. The article explains its stateful feature model, a planner that schedules handlers and evaluations for different event types, and performance work including preallocated memory and OxCaml unboxed floats. The system aims to let researchers compose reusable features while limiting unnecessary computation across markets.

## Source excerpt

Neural networks are a tool we use heavily in many trading strategies. But raw market data can't be fed to a neural net as-is. It's an unstructured input that needs normalization and feature extraction first.