发布

  • 16906 8149c291fc

    Dynamic market hours for time and date rules (#8541)

    frostbyte_neo 发布于 2025-01-31 19:00:14 +00:00 | 591 次提交 在此版本后已推送到 master

    • Add unit test reproducing the bug

    • Improve unit test

    • Apply market hours database updates to instance

    Make sure entries are updated instead of overridden so that consumers holding the mhdb can pick up the changes

    • Improved unit tests

    • Update data folder MHDB entries instead of overriding instance

    • Optionally reset custom mhdb entries on reset

    • Simplify mhdb reset in live trading

    Cleanup and minor fixes

    • Ensure symbol properties database updates are picked up by consumers

    Update SPDB entries instead of overriding them, just like for the MHDB so that consumers pick up updates after refresh

    • Fix for symbol properties update thread safety

    • Minor improvements and cleanup

    • Mhdb and spdb update logic simplification

    • Move "force exchange always open" logic to mhdb

    • Simplify symbol properties holder and updates

    • Refactor security databases to use a common base class

    Introduce BaseSecurityDatabase<T, TEntry> to encapsulate common functionality for MarketHoursDatabase and SymbolPropertiesDatabase.

    • Cleanup
    下载附件