Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).
This report presents the forensic synthetic code analysis of StockSharp/StockSharp, a C# project with 10,329 GitHub stars. SynthScan v2.0 examined 828,936 lines of code across 1914 source files, recording 1709 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1709 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Alerts.Interfaces/AlertServicesRegistry.cs | 21 | /// Alert processing service. | COMMENT |
| LOW | Alerts.Interfaces/AlertSchema.cs | 21 | MessageType = messageType ?? throw new ArgumentNullException(nameof(messageType)); | COMMENT |
| LOW | Alerts.Interfaces/AlertSchema.cs | 41 | /// </summary> | COMMENT |
| LOW | Alerts.Interfaces/IAlertProcessingService.cs | 1 | namespace StockSharp.Alerts; | COMMENT |
| LOW | Alerts.Interfaces/IAlertProcessingService.cs | 21 | event Action<AlertSchema> UnRegistered; | COMMENT |
| LOW | Alerts.Interfaces/IAlertProcessingService.cs | 41 | /// <summary> | COMMENT |
| LOW | Alerts.Interfaces/AlertRuleField.cs | 41 | DisplayName = displayName; | COMMENT |
| LOW | Alerts.Interfaces/IAlertNotificationService.cs | 1 | namespace StockSharp.Alerts; | COMMENT |
| LOW | Alerts.Interfaces/IAlertNotificationService.cs | 21 | COMMENT | |
| LOW | Alerts.Interfaces/AlertSchemaTemplates.cs | 61 | /// Create alert: price above threshold. | COMMENT |
| LOW | Alerts.Interfaces/AlertSchemaTemplates.cs | 101 | /// </summary> | COMMENT |
| LOW | Reporting/IReportSource.cs | 21 | ); | COMMENT |
| LOW | Reporting/IReportSource.cs | 41 | DateTime Time, | COMMENT |
| LOW | Reporting/IReportSource.cs | 81 | /// Decouples reports from concrete strategy implementation. | COMMENT |
| LOW | Reporting/IReportSource.cs | 101 | /// <summary> | COMMENT |
| LOW | Reporting/IReportSource.cs | 121 | /// <summary> | COMMENT |
| LOW | Reporting/IReportSource.cs | 141 | /// <summary> | COMMENT |
| LOW | Reporting/FormatExtensions.cs | 1 | namespace StockSharp.Reporting; | COMMENT |
| LOW | Reporting/FormatExtensions.cs | 21 | /// <param name="time"><see cref="TimeSpan"/> value.</param> | COMMENT |
| LOW | Reporting/ExcelReportGenerator.cs | 1 | namespace StockSharp.Reporting; | COMMENT |
| LOW | Reporting/IReportGenerator.cs | 1 | namespace StockSharp.Reporting; | COMMENT |
| LOW | Reporting/IReportGenerator.cs | 21 | bool IncludeOrders { get; set; } | COMMENT |
| LOW | Reporting/ReportSource.cs | 121 | /// Current orders count. | COMMENT |
| LOW | Algo.Gpu/GpuCandle.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | Algo.Gpu/GpuCandle.cs | 21 | public long Time = time.Ticks; | COMMENT |
| LOW | Algo.Gpu/IGpuIndicatorResultExtensions.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | Algo.Gpu/IGpuIndicatorResult.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | Algo.Gpu/GpuIndicatorCalculatorProvider.cs | 81 | public bool Unregister(Type indicatorType) | COMMENT |
| LOW | Algo.Gpu/GpuIndicatorCalculatorProvider.cs | 101 | /// <param name="indicatorType">Indicator type.</param> | COMMENT |
| LOW | Algo.Gpu/GpuIndicatorResult.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | Algo.Gpu/IGpuIndicatorCalculator.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | Algo.Gpu/IGpuIndicatorCalculator.cs | 21 | Type ResultType { get; } | COMMENT |
| LOW | Algo.Gpu/IGpuIndicatorCalculator.cs | 81 | COMMENT | |
| LOW | Algo.Gpu/IGpuIndicatorParams.cs | 1 | namespace StockSharp.Algo.Gpu; | COMMENT |
| LOW | …pu/Indicators/GpuVerticalHorizontalFilterCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuLinearRegRSquaredCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | …go.Gpu/Indicators/GpuBalanceOfMarketPowerCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuCovarianceCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuVortexCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuSmmaCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuPpoCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuWilderMovingAverageCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuWmaCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | …go.Gpu/Indicators/GpuRankCorrelationIndexCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuZlemaCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuKeltnerChannelsCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuKeltnerChannelsCalculator.cs | 41 | } | COMMENT |
| LOW | …ors/GpuPercentagePriceOscillatorHistogramCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | …ors/GpuPercentagePriceOscillatorHistogramCalculator.cs | 81 | COMMENT | |
| LOW | Algo.Gpu/Indicators/GpuPassThroughCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | …pu/Indicators/GpuLinearRegressionForecastCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuKalmanFilterCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuHurstExponentCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuPivotPointsCalculator.cs | 21 | /// </summary> | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuPivotPointsCalculator.cs | 41 | /// Resistance level R2. | COMMENT |
| LOW | …u/Indicators/GpuRelativeVigorIndexAverageCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | …o.Gpu/Indicators/GpuIntradayMomentumIndexCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuMeanDeviationCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuKnowSureThingCalculator.cs | 1 | namespace StockSharp.Algo.Gpu.Indicators; | COMMENT |
| LOW | Algo.Gpu/Indicators/GpuKnowSureThingCalculator.cs | 41 | COMMENT | |
| 1493 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tests/OrderBookTruncateManagerMockTests.cs | 59 | // nearest is same as requested | COMMENT |
| HIGH | …/04_HydraServerConnect/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …04_HydraServerConnect/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …nced/02_StoreDataLocal/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …vanced/01_MultiConnect/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …les/01_Basic/03_Orders/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …es/01_Basic/03_Orders/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_Basic/02_MarketDepths/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Basic/02_MarketDepths/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …AndDownloadInstruments/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ndDownloadInstruments/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …les/08_Misc/01_Logging/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …es/08_Misc/01_Logging/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …esting/02_Optimization/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …sting/02_Optimization/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …07_Testing/03_RealTime/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …7_Testing/03_RealTime/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/07_Testing/01_History/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …07_Testing/01_History/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ples/05_Chart/01_Chart/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …les/05_Chart/01_Chart/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …5_Chart/03_Performance/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_Chart/03_Performance/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_Chart/02_ActiveOrders/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Chart/02_ActiveOrders/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …CombineHistoryRealtime/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ombineHistoryRealtime/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …02_Candles/01_Realtime/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …2_Candles/01_Realtime/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rs/02_ComplexBollinger/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …s/02_ComplexBollinger/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ndicators/03_CreateOwn/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …dicators/03_CreateOwn/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ndicators/01_SimpleSMA/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …dicators/01_SimpleSMA/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tegies/10_LiveTerminal/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …egies/10_LiveTerminal/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tegies/05_HistoryIndex/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …egies/05_HistoryIndex/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/09_LiveOptionsQuoting/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …09_LiveOptionsQuoting/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rategies/01_HistorySMA/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ategies/01_HistorySMA/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …egies/08_LiveArbitrage/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …gies/08_LiveArbitrage/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …_HistoryBollingerBands/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …HistoryBollingerBands/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …gies/06_HistoryQuoting/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ies/06_HistoryQuoting/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rategies/07_LiveSpread/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ategies/07_LiveSpread/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …s/04_HistoryMarketRule/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/04_HistoryMarketRule/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tegies/03_HistoryTrend/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …egies/03_HistoryTrend/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Designer.Templates/Indicator/empty_indicator.py | 8 | CODE | |
| LOW | Designer.Templates/Backtest/sma_strategy.py | 14 | CODE | |
| LOW | Designer.Templates/Backtest/sma_strategy.py | 19 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/empty_analytics_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 10 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 16 | CODE | |
| LOW | Algo.Analytics.Python/indicator_script.py | 17 | CODE | |
| LOW | Algo.Analytics.Python/price_volume_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/price_volume_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/price_volume_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/price_volume_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/price_volume_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/biggest_candle_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/chart3d_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/chart3d_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/chart3d_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/chart3d_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/pearson_correlation_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/time_volume_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/time_volume_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/time_volume_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/time_volume_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/time_volume_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 12 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 13 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 14 | CODE | |
| LOW | Algo.Analytics.Python/normalize_price_script.py | 15 | CODE | |
| LOW | Algo.Analytics.Python/common/indicator_extensions.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/common/indicator_extensions.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/common/indicator_extensions.py | 9 | CODE | |
| LOW | Algo.Analytics.Python/common/indicator_extensions.py | 10 | CODE | |
| LOW | Algo.Analytics.Python/common/numpy_extensions.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/common/numpy_extensions.py | 8 | CODE | |
| LOW | Algo.Analytics.Python/common/chart_extensions.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Messages/Level1ChangeMessage.cs | 778 | /// Option margin leverage. | COMMENT |
| MEDIUM | Messages/Level1ChangeMessage.cs | 785 | /// Synthetic option position margin leverage. | COMMENT |
| MEDIUM | Messages/ExecutionMessage.cs | 603 | /// Margin leverage. | COMMENT |
| MEDIUM | Messages/PositionChangeMessage.cs | 82 | /// Margin leverage. | COMMENT |
| MEDIUM | Messages/OrderRegisterMessage.cs | 132 | /// Margin leverage. | COMMENT |
| MEDIUM | Tests/HistoryMessageAdapterTests.cs | 816 | // Wait for messages with retry - more robust than fixed delay | COMMENT |
| MEDIUM | Tests/MarginTradingTests.cs | 169 | // position = null => leverage 1 => 100 * 10 / 1 = 1000 | COMMENT |
| MEDIUM | Tests/MarginTradingTests.cs | 242 | // Without leverage: need 1000, would fail | COMMENT |
| MEDIUM | Tests/MarginTradingTests.cs | 243 | // With 10x leverage: need 100 < 500, should pass | COMMENT |
| MEDIUM | Tests/MarginTradingTests.cs | 362 | // Set position with leverage 10x | COMMENT |
| MEDIUM | Tests/MarginTradingTests.cs | 382 | // No position => leverage 1 => need 1000 > 500 | COMMENT |
| MEDIUM⚡ | MatchingEngine/IMarginController.cs | 11 | /// Calculate required margin for an order, using position-level leverage. | COMMENT |
| MEDIUM⚡ | MatchingEngine/IMarginController.cs | 15 | /// <param name="position">Position info (for leverage). Can be null (uses default leverage 1).</param> | COMMENT |
| MEDIUM⚡ | MatchingEngine/IMarginController.cs | 25 | /// <param name="position">Position info (for leverage). Can be null.</param> | COMMENT |
| MEDIUM | MatchingEngine/IPortfolioManager.cs | 54 | /// Margin leverage for this position. Null means default (1x). | COMMENT |
| MEDIUM | MatchingEngine/IPortfolioManager.cs | 225 | /// <param name="securityId">Security ID (for per-position leverage).</param> | COMMENT |
| MEDIUM | BusinessEntities/Order.cs | 771 | /// Margin leverage. | COMMENT |
| MEDIUM | BusinessEntities/Position.cs | 539 | /// Margin leverage. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Algo.Analytics.Python/chart3d_script.py | 44 | # Create a 2D array for Z values with dimensions: (number of securities) x (number of hours) | COMMENT |
| MEDIUM | Algo.Analytics.Python/common/chart_extensions.py | 29 | # Create the chart with the correct types | COMMENT |
| MEDIUM | Algo.Analytics.Python/common/chart_extensions.py | 57 | # Create the 3D chart with the correct types | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Algo.Analytics.Python/price_volume_script.py | 32 | # Check if there are no instruments | COMMENT |
| LOW | Algo.Analytics.Python/chart3d_script.py | 32 | # Check if there are no instruments | COMMENT |
| LOW | Algo.Analytics.Python/time_volume_script.py | 32 | # Check if there are no instruments | COMMENT |
| LOW | Algo.Analytics.Python/chart_draw_script.py | 32 | # Check if there are no instruments | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tests/Level1StorageBackwardCompatTests.cs | 97 | // Step 1: save using a storage that writes to "level1" file | COMMENT |
| LOW⚡ | Tests/Level1StorageBackwardCompatTests.cs | 102 | // Step 2: find the written file and rename it from "level1.xxx" to "security.xxx" | COMMENT |
| LOW | Tests/Level1StorageBackwardCompatTests.cs | 125 | // Step 3: create a fresh storage and load — should find "security.xxx" files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tests/Level1StorageBackwardCompatTests.cs | 97 | // Step 1: save using a storage that writes to "level1" file | COMMENT |
| LOW⚡ | Tests/Level1StorageBackwardCompatTests.cs | 102 | // Step 2: find the written file and rename it from "level1.xxx" to "security.xxx" | COMMENT |
| LOW | Tests/Level1StorageBackwardCompatTests.cs | 125 | // Step 3: create a fresh storage and load — should find "security.xxx" files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/FileCredentialsStorageTests.cs | 71 | await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken); | CODE |
| LOW | Tests/FileCredentialsStorageTests.cs | 72 | await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken); | CODE |
| LOW | Tests/FileCredentialsStorageTests.cs | 87 | await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken); | CODE |
| LOW | Tests/FileCredentialsStorageTests.cs | 88 | await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken); | CODE |
| LOW | Tests/FileCredentialsStorageTests.cs | 102 | await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken); | CODE |
| LOW | Tests/FileCredentialsStorageTests.cs | 103 | await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Algo.Analytics.Python/common/indicator_extensions.py | 36 | def get_nullable_current_value(indicator): | CODE |
| LOW | Algo.Analytics.Python/common/storage_extensions.py | 151 | def get_volume_candle_storage(registry, security, volume, drive, format): | CODE |
| LOW | Algo.Analytics.Python/common/storage_extensions.py | 200 | def get_heikin_ashi_candle_storage(registry, security, time_frame, drive, format): | CODE |
| LOW | Tests/HistoryMessageAdapterTests.cs | 48 | private class TestHistoryMarketDataManager : IHistoryMarketDataManager | CODE |
| LOW | Algo.Testing/HistoryMarketDataManager.cs | 9 | public class HistoryMarketDataManager : Disposable, IHistoryMarketDataManager | CODE |