Market data retrieval
Atoti Market Data provides retrieval methods for various types of market data:Interpolation techniques
The library supports multiple interpolation techniques for estimating missing or intermediate data points within market data:Using Atoti Market Data
You can integrate Atoti Market Data into your project the following ways: These approaches are a trade-off between flexibility and ease of use.market-data-lib
Themarket-data-lib module is a library of components, including market data store definitions, post-processors for retrieval, interpolators, and more. Add this dependency to your project to pick and choose only the specific components you need. These can be used as a base for custom implementations of the interfaces, or as-is.
For details on the available interfaces and implementations, see Configuration and implementation details.
You will need to manage the lifecycle of the components directly. Simply adding the dependency to your project will not do anything.
Implementation
To use this dependency add the following to your pom.xml file:Pros & cons
This approach provides the most flexibility to utilize only those components you require. However, it requires the most work to instantiate and manage these components.market-data-config
Themarket-data-config contains Spring configuration classes that instantiate beans to address specific use-cases. You can import these configuration classes in your Spring project to make the beans accessible in your application.
Implementation
To use this dependency add the following to your pom.xml file:Pros & cons
This approach requires a lot less code than using the library directly, although not as easy as using the Spring Boot Starter. It is more opinionated than using the library but more flexible than the Spring Boot Starter which automatically imports all configuration classes.market-data-spring-boot-starter
Themarket-data-spring-boot-starter module allows you to add a single dependency project and have all beans auto-configured for you. Beans will be configured for:
- Stores (and specific retrievers)
- Services (retrievers and interpolators)
- Registry injection (injecting the appropriate objects into post-processors)


