• Programming Guide
  • Api Documentation
  • OnixS .NET Core CME Market Data Handler, version 4.2.2
Show / Hide Table of Contents
  • Introduction
  • System Requirements
  • Getting Started
    • Licensing
    • Error Reporting
    • Configuration Files
    • Handler Events
    • Logging
  • Advanced Programming
    • Security Filtering
    • Best Bid-Offer Tracking
    • Security Definitions Cache
    • Strongly Typed Messages
    • Replaying Log Files
  • Low Latency Best Practices
  • Troubleshooting
  • FAQ
  • Support
  • External Resources

Security Definitions Cache

Synchronization of security definitions takes a lot of time, that greatly increases the Handler's startup. To decrease startup time, Security Definitions can be cached, and then replayed during the next startup, instead of receiving via UDP. To turn Security Definitions cache on, Start(Boolean) method should be called with parameter cacheSecurityDefinitions = true. In this mode Handler will search for SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. If the file is found, Handler will try to replay security definitions from that file. If the file is not found, Handler will listen to definitions feed and store received definitions to SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. This file will be replayed during the next start.

Security definitions can be modified, and, as a result, the cache should be reset once a week (during the weekend). To do this action, a user just needs to find and delete SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. This file is located in the directory, specified by SecurityDefinitionsCacheRoot property.

In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX