[pull] master from visualHFT:master#7
Merged
pull[bot] merged 65 commits intosyther-labs:masterfrom Jul 15, 2025
Merged
Conversation
added 3 commits
March 7, 2025 00:37
MarketResilience Unit tests added
Removed redundant call to InitializeDefaultSettings(). Now, it is only invoked when _settings is null, improving efficiency by preventing unnecessary initialization.
…f the queue is empty. The existing `Last()` method remains unchanged. Modified `VisualHFT.sln` to add a new project, `Studies.MarketResilience.Test`, with configuration settings for Debug and Release modes.
Introduce a private `_settings` field in `MarketResilienceTests` to utilize `PlugInSettings` for configuring market resilience calculations. Update instances of `MarketResilienceCalculator` and `MarketResilienceWithBias` to use these settings, and adjust sleep durations in tests for better configurability and alignment with defined shock time differences.
- Changed target framework to `net8.0-windows8.0` for `OxyPlot.Wpf.Shared`, `OxyPlot.Wpf`, and `OxyPlot`. - Modified `GeneratePackageOnBuild` and `GenerateDocumentationFile` properties to `False` in the `OxyPlot` project. - Updated `DataPoint` struct to allow modification of `x` and `y` fields with new property setters. - Introduced static object pools in `RenderingExtensions` to improve performance and reduce memory allocations. - Added a new `ObjectPool` class for generic object pooling in `OxyPlot.Rendering.Utilities`. - Updated `VisualHFT.sln` to include `OxyPlot.Wpf.Shared` and `OxyPlot` projects. - Suppressed method documentation header warnings for improved code clarity.
This commit introduces the `OrderBookSnapshot` class to replace the existing `OrderBook` in multiple files, including `MarketResilienceCalculatorTests`, `MarketResilienceBiasStudy`, and `MarketResilienceStudy`. The new class allows for creating snapshots of the order book state, enhancing functionality and improving performance through object pooling. A static pool for `OrderBookSnapshot` objects has been added to optimize memory management. Event handling and processing logic have been updated to utilize the new snapshot class.
This commit introduces the `OrderBookSnapshot` class to encapsulate order book data, enhancing memory management and performance. Key constants for chart points and trade records have been adjusted, and the UI refresh interval optimized. Thread safety is improved with dedicated lock objects, while the `CachedCollection` class has been streamlined to remove unnecessary methods. The `HelperCustomQueue` now includes logging for queue utilization, aiding in performance monitoring. Redundant methods in the `OrderBook` and `OrderBookData` classes have been removed, focusing on direct property assignments. Overall, these changes enhance the maintainability and readability of the codebase, ensuring efficient handling of real-time order book data.
This commit refactors the `Aggregation` method to accept a list of items, enhancing flexibility in data handling. Detailed XML documentation has been added for clarity. The `AggregatedCollection` class's aggregator function and constructor have been updated accordingly.
Added Cooldown Duration in TriggerAction to control when actions are triggered, ie always, once an hour, once a day. Default is 0, means always TriggerEngineService 1. Added Channed to queue incoming studies. 2. AddOrUpdateRule & RemoveRule: Add or remove the rules with thread safety 2. RegisterMetric(): methrod used to pass the studies for which condition queue is running. 3. StartBackgroundWorkerAsync(): call this once on the application initialization.
Resolved bug in Trigger condition where action was exectuing before the cooldown period.
Added Rest API Form Builder.
2. Added REST API Execute function 3. Added pre-defined template for JSON Body 4. Changed Actions to New UI from List 5. Enabled TriggerEngine Execution
- Updated NuGet package references across multiple projects. - Changed lists of bids and asks to arrays in `BinancePlugin.cs` and `BitfinexPlugin.cs` for better performance. - Added new JSON converters for `OrderStatus` and `OrderType` in `BitfinexPlugin.cs` to enhance enum serialization and deserialization.
2. Added Coinbase.Net Nuget Package.
2. Fixed Rule execution if no rule exists and it was being added for first time. 3. Exception in Rule Check Test Case.
Packages upgrade
2. WebHook Trigger Action was not working. Fixed 3. Added Trigger Action Cooldown Period for BOth Webhook & In-App 4. Updated Tooltips. 5. Updated Message Format for In-App Notification.
Updated ToolTip for Cooldown Time
Trigger engine
packages upgraded
re-added oxyplot
added important comments and context
more comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )