Comprehensive API reference and usage guide for the MDTS library suite
The mdts.app documentation covers all exported functions, data structures, and best practices for using these libraries effectively. Each function is documented with complete parameter descriptions, return codes, and practical code examples.
Comprehensive date log management system with support for market calendars, holiday handling, and business day calculations. Perfect for trading systems and financial applications.
High-performance file I/O operations with memory-mapped file support, advanced locking mechanisms, and efficient buffer management for processing large data files.
Start by initializing the appropriate handles for your application. The InitializeDateLogHandle
function sets up a date log context with associated market holidays.
Load date data from files using GenerateDateCollection or merge existing date ranges with
MergeDateLogHandle. All operations support both in-memory and file-based processing.
Leverage advanced features like automatic backup and recovery, file region locking, and merge operations with conflict resolution strategies.
| Function | Library | Purpose |
|---|---|---|
| InitializeDateLogHandle | mdts_date | Initialize date log with market calendar |
| GenerateDateCollection | mdts_date | Generate or load date ranges from files |
| MergeDateLogHandle | mdts_date | Merge date ranges with conflict resolution |
| DuplicateDateLogHandle | mdts_date | Create independent copies of date logs |
| NewFileInfo | mdts_io | Create and manage file handles with metadata |
| LockFileRegions | mdts_io | Lock file regions for exclusive access |
Navigate through the sidebar menu to explore:
The most common operation is merging date ranges into an existing date log while handling date conflicts.
Use DATE_RANGE_MERGE_FAVOR_SOURCE to prefer newer data or DATE_RANGE_MERGE_FAVOR_DEST
to preserve existing data.
For file operations, use NewFileInfo to create file handles, then apply locking with
LockFileRegions before performing concurrent operations.
This documentation covers the latest stable version of the MDTS library suite. Check the Release Notes for updates and version history.
MDTS Library Suite Documentation | © 2026 mdts.app | All rights reserved