Repository Analysis

StockSharp/StockSharp

Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

2.5 Likely human-written View on GitHub

Analysis Overview

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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.3K
Stars
C#
Language
828.9K
Lines of Code
1.9K
Files
1.7K
Pattern Hits
2026-07-14
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 55MEDIUM 21LOW 1633

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block1553 hits · 1511 pts
SeverityFileLineSnippetContext
LOWAlerts.Interfaces/AlertServicesRegistry.cs21 /// Alert processing service.COMMENT
LOWAlerts.Interfaces/AlertSchema.cs21 MessageType = messageType ?? throw new ArgumentNullException(nameof(messageType));COMMENT
LOWAlerts.Interfaces/AlertSchema.cs41 /// </summary>COMMENT
LOWAlerts.Interfaces/IAlertProcessingService.cs1namespace StockSharp.Alerts;COMMENT
LOWAlerts.Interfaces/IAlertProcessingService.cs21 event Action<AlertSchema> UnRegistered;COMMENT
LOWAlerts.Interfaces/IAlertProcessingService.cs41 /// <summary>COMMENT
LOWAlerts.Interfaces/AlertRuleField.cs41 DisplayName = displayName;COMMENT
LOWAlerts.Interfaces/IAlertNotificationService.cs1namespace StockSharp.Alerts;COMMENT
LOWAlerts.Interfaces/IAlertNotificationService.cs21COMMENT
LOWAlerts.Interfaces/AlertSchemaTemplates.cs61 /// Create alert: price above threshold.COMMENT
LOWAlerts.Interfaces/AlertSchemaTemplates.cs101 /// </summary>COMMENT
LOWReporting/IReportSource.cs21);COMMENT
LOWReporting/IReportSource.cs41 DateTime Time,COMMENT
LOWReporting/IReportSource.cs81/// Decouples reports from concrete strategy implementation.COMMENT
LOWReporting/IReportSource.cs101 /// <summary>COMMENT
LOWReporting/IReportSource.cs121 /// <summary>COMMENT
LOWReporting/IReportSource.cs141 /// <summary>COMMENT
LOWReporting/FormatExtensions.cs1namespace StockSharp.Reporting;COMMENT
LOWReporting/FormatExtensions.cs21 /// <param name="time"><see cref="TimeSpan"/> value.</param>COMMENT
LOWReporting/ExcelReportGenerator.cs1namespace StockSharp.Reporting;COMMENT
LOWReporting/IReportGenerator.cs1namespace StockSharp.Reporting;COMMENT
LOWReporting/IReportGenerator.cs21 bool IncludeOrders { get; set; }COMMENT
LOWReporting/ReportSource.cs121 /// Current orders count.COMMENT
LOWAlgo.Gpu/GpuCandle.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOWAlgo.Gpu/GpuCandle.cs21 public long Time = time.Ticks;COMMENT
LOWAlgo.Gpu/IGpuIndicatorResultExtensions.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOWAlgo.Gpu/IGpuIndicatorResult.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOWAlgo.Gpu/GpuIndicatorCalculatorProvider.cs81 public bool Unregister(Type indicatorType)COMMENT
LOWAlgo.Gpu/GpuIndicatorCalculatorProvider.cs101 /// <param name="indicatorType">Indicator type.</param>COMMENT
LOWAlgo.Gpu/GpuIndicatorResult.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOWAlgo.Gpu/IGpuIndicatorCalculator.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOWAlgo.Gpu/IGpuIndicatorCalculator.cs21 Type ResultType { get; }COMMENT
LOWAlgo.Gpu/IGpuIndicatorCalculator.cs81COMMENT
LOWAlgo.Gpu/IGpuIndicatorParams.cs1namespace StockSharp.Algo.Gpu;COMMENT
LOW…pu/Indicators/GpuVerticalHorizontalFilterCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuLinearRegRSquaredCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOW…go.Gpu/Indicators/GpuBalanceOfMarketPowerCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuCovarianceCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuVortexCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuSmmaCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuPpoCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuWilderMovingAverageCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuWmaCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOW…go.Gpu/Indicators/GpuRankCorrelationIndexCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuZlemaCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuKeltnerChannelsCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuKeltnerChannelsCalculator.cs41}COMMENT
LOW…ors/GpuPercentagePriceOscillatorHistogramCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOW…ors/GpuPercentagePriceOscillatorHistogramCalculator.cs81COMMENT
LOWAlgo.Gpu/Indicators/GpuPassThroughCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOW…pu/Indicators/GpuLinearRegressionForecastCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuKalmanFilterCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuHurstExponentCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuPivotPointsCalculator.cs21/// </summary>COMMENT
LOWAlgo.Gpu/Indicators/GpuPivotPointsCalculator.cs41 /// Resistance level R2.COMMENT
LOW…u/Indicators/GpuRelativeVigorIndexAverageCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOW…o.Gpu/Indicators/GpuIntradayMomentumIndexCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuMeanDeviationCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuKnowSureThingCalculator.cs1namespace StockSharp.Algo.Gpu.Indicators;COMMENT
LOWAlgo.Gpu/Indicators/GpuKnowSureThingCalculator.cs41COMMENT
1493 more matches not shown…
Synthetic Comment Markers55 hits · 412 pts
SeverityFileLineSnippetContext
HIGHTests/OrderBookTruncateManagerMockTests.cs59 // nearest is same as requestedCOMMENT
HIGH…/04_HydraServerConnect/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…04_HydraServerConnect/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…nced/02_StoreDataLocal/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…vanced/01_MultiConnect/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…les/01_Basic/03_Orders/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…es/01_Basic/03_Orders/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…_Basic/02_MarketDepths/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…Basic/02_MarketDepths/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…AndDownloadInstruments/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ndDownloadInstruments/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…les/08_Misc/01_Logging/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…es/08_Misc/01_Logging/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…esting/02_Optimization/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…sting/02_Optimization/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…07_Testing/03_RealTime/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…7_Testing/03_RealTime/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…/07_Testing/01_History/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…07_Testing/01_History/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ples/05_Chart/01_Chart/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…les/05_Chart/01_Chart/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…5_Chart/03_Performance/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…_Chart/03_Performance/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…_Chart/02_ActiveOrders/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…Chart/02_ActiveOrders/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…CombineHistoryRealtime/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ombineHistoryRealtime/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…02_Candles/01_Realtime/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…2_Candles/01_Realtime/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…rs/02_ComplexBollinger/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…s/02_ComplexBollinger/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ndicators/03_CreateOwn/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…dicators/03_CreateOwn/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ndicators/01_SimpleSMA/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…dicators/01_SimpleSMA/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…tegies/10_LiveTerminal/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…egies/10_LiveTerminal/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…tegies/05_HistoryIndex/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…egies/05_HistoryIndex/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…/09_LiveOptionsQuoting/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…09_LiveOptionsQuoting/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…rategies/01_HistorySMA/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ategies/01_HistorySMA/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…egies/08_LiveArbitrage/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…gies/08_LiveArbitrage/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…_HistoryBollingerBands/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…HistoryBollingerBands/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…gies/06_HistoryQuoting/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ies/06_HistoryQuoting/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…rategies/07_LiveSpread/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ategies/07_LiveSpread/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…s/04_HistoryMarketRule/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…/04_HistoryMarketRule/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…tegies/03_HistoryTrend/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…egies/03_HistoryTrend/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Unused Imports59 hits · 59 pts
SeverityFileLineSnippetContext
LOWDesigner.Templates/Indicator/empty_indicator.py8CODE
LOWDesigner.Templates/Backtest/sma_strategy.py14CODE
LOWDesigner.Templates/Backtest/sma_strategy.py19CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py8CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py9CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py12CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py13CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py14CODE
LOWAlgo.Analytics.Python/empty_analytics_script.py15CODE
LOWAlgo.Analytics.Python/indicator_script.py9CODE
LOWAlgo.Analytics.Python/indicator_script.py10CODE
LOWAlgo.Analytics.Python/indicator_script.py14CODE
LOWAlgo.Analytics.Python/indicator_script.py15CODE
LOWAlgo.Analytics.Python/indicator_script.py16CODE
LOWAlgo.Analytics.Python/indicator_script.py17CODE
LOWAlgo.Analytics.Python/price_volume_script.py9CODE
LOWAlgo.Analytics.Python/price_volume_script.py12CODE
LOWAlgo.Analytics.Python/price_volume_script.py13CODE
LOWAlgo.Analytics.Python/price_volume_script.py14CODE
LOWAlgo.Analytics.Python/price_volume_script.py15CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py8CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py9CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py12CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py13CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py14CODE
LOWAlgo.Analytics.Python/biggest_candle_script.py15CODE
LOWAlgo.Analytics.Python/chart3d_script.py8CODE
LOWAlgo.Analytics.Python/chart3d_script.py12CODE
LOWAlgo.Analytics.Python/chart3d_script.py13CODE
LOWAlgo.Analytics.Python/chart3d_script.py14CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py8CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py9CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py12CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py13CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py14CODE
LOWAlgo.Analytics.Python/pearson_correlation_script.py15CODE
LOWAlgo.Analytics.Python/time_volume_script.py8CODE
LOWAlgo.Analytics.Python/time_volume_script.py12CODE
LOWAlgo.Analytics.Python/time_volume_script.py13CODE
LOWAlgo.Analytics.Python/time_volume_script.py14CODE
LOWAlgo.Analytics.Python/time_volume_script.py15CODE
LOWAlgo.Analytics.Python/chart_draw_script.py9CODE
LOWAlgo.Analytics.Python/chart_draw_script.py12CODE
LOWAlgo.Analytics.Python/chart_draw_script.py13CODE
LOWAlgo.Analytics.Python/chart_draw_script.py14CODE
LOWAlgo.Analytics.Python/chart_draw_script.py15CODE
LOWAlgo.Analytics.Python/normalize_price_script.py8CODE
LOWAlgo.Analytics.Python/normalize_price_script.py9CODE
LOWAlgo.Analytics.Python/normalize_price_script.py12CODE
LOWAlgo.Analytics.Python/normalize_price_script.py13CODE
LOWAlgo.Analytics.Python/normalize_price_script.py14CODE
LOWAlgo.Analytics.Python/normalize_price_script.py15CODE
LOWAlgo.Analytics.Python/common/indicator_extensions.py8CODE
LOWAlgo.Analytics.Python/common/indicator_extensions.py9CODE
LOWAlgo.Analytics.Python/common/indicator_extensions.py9CODE
LOWAlgo.Analytics.Python/common/indicator_extensions.py10CODE
LOWAlgo.Analytics.Python/common/numpy_extensions.py8CODE
LOWAlgo.Analytics.Python/common/numpy_extensions.py8CODE
LOWAlgo.Analytics.Python/common/chart_extensions.py8CODE
AI Slop Vocabulary18 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMMessages/Level1ChangeMessage.cs778 /// Option margin leverage.COMMENT
MEDIUMMessages/Level1ChangeMessage.cs785 /// Synthetic option position margin leverage.COMMENT
MEDIUMMessages/ExecutionMessage.cs603 /// Margin leverage.COMMENT
MEDIUMMessages/PositionChangeMessage.cs82 /// Margin leverage.COMMENT
MEDIUMMessages/OrderRegisterMessage.cs132 /// Margin leverage.COMMENT
MEDIUMTests/HistoryMessageAdapterTests.cs816 // Wait for messages with retry - more robust than fixed delayCOMMENT
MEDIUMTests/MarginTradingTests.cs169 // position = null => leverage 1 => 100 * 10 / 1 = 1000COMMENT
MEDIUMTests/MarginTradingTests.cs242 // Without leverage: need 1000, would failCOMMENT
MEDIUMTests/MarginTradingTests.cs243 // With 10x leverage: need 100 < 500, should passCOMMENT
MEDIUMTests/MarginTradingTests.cs362 // Set position with leverage 10xCOMMENT
MEDIUMTests/MarginTradingTests.cs382 // No position => leverage 1 => need 1000 > 500COMMENT
MEDIUMMatchingEngine/IMarginController.cs11 /// Calculate required margin for an order, using position-level leverage.COMMENT
MEDIUMMatchingEngine/IMarginController.cs15 /// <param name="position">Position info (for leverage). Can be null (uses default leverage 1).</param>COMMENT
MEDIUMMatchingEngine/IMarginController.cs25 /// <param name="position">Position info (for leverage). Can be null.</param>COMMENT
MEDIUMMatchingEngine/IPortfolioManager.cs54 /// Margin leverage for this position. Null means default (1x).COMMENT
MEDIUMMatchingEngine/IPortfolioManager.cs225 /// <param name="securityId">Security ID (for per-position leverage).</param>COMMENT
MEDIUMBusinessEntities/Order.cs771 /// Margin leverage.COMMENT
MEDIUMBusinessEntities/Position.cs539 /// Margin leverage.COMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMAlgo.Analytics.Python/chart3d_script.py44 # Create a 2D array for Z values with dimensions: (number of securities) x (number of hours)COMMENT
MEDIUMAlgo.Analytics.Python/common/chart_extensions.py29 # Create the chart with the correct typesCOMMENT
MEDIUMAlgo.Analytics.Python/common/chart_extensions.py57 # Create the 3D chart with the correct typesCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWAlgo.Analytics.Python/price_volume_script.py32 # Check if there are no instrumentsCOMMENT
LOWAlgo.Analytics.Python/chart3d_script.py32 # Check if there are no instrumentsCOMMENT
LOWAlgo.Analytics.Python/time_volume_script.py32 # Check if there are no instrumentsCOMMENT
LOWAlgo.Analytics.Python/chart_draw_script.py32 # Check if there are no instrumentsCOMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWTests/Level1StorageBackwardCompatTests.cs97 // Step 1: save using a storage that writes to "level1" fileCOMMENT
LOWTests/Level1StorageBackwardCompatTests.cs102 // Step 2: find the written file and rename it from "level1.xxx" to "security.xxx"COMMENT
LOWTests/Level1StorageBackwardCompatTests.cs125 // Step 3: create a fresh storage and load — should find "security.xxx" filesCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOWTests/Level1StorageBackwardCompatTests.cs97 // Step 1: save using a storage that writes to "level1" fileCOMMENT
LOWTests/Level1StorageBackwardCompatTests.cs102 // Step 2: find the written file and rename it from "level1.xxx" to "security.xxx"COMMENT
LOWTests/Level1StorageBackwardCompatTests.cs125 // Step 3: create a fresh storage and load — should find "security.xxx" filesCOMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWTests/FileCredentialsStorageTests.cs71 await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken);CODE
LOWTests/FileCredentialsStorageTests.cs72 await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken);CODE
LOWTests/FileCredentialsStorageTests.cs87 await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken);CODE
LOWTests/FileCredentialsStorageTests.cs88 await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken);CODE
LOWTests/FileCredentialsStorageTests.cs102 await storage.SaveAsync(CreateCredentials("admin@example.com"), CancellationToken);CODE
LOWTests/FileCredentialsStorageTests.cs103 await storage.SaveAsync(CreateCredentials("user@example.com"), CancellationToken);CODE
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWAlgo.Analytics.Python/common/indicator_extensions.py36def get_nullable_current_value(indicator):CODE
LOWAlgo.Analytics.Python/common/storage_extensions.py151def get_volume_candle_storage(registry, security, volume, drive, format):CODE
LOWAlgo.Analytics.Python/common/storage_extensions.py200def get_heikin_ashi_candle_storage(registry, security, time_frame, drive, format):CODE
LOWTests/HistoryMessageAdapterTests.cs48 private class TestHistoryMarketDataManager : IHistoryMarketDataManagerCODE
LOWAlgo.Testing/HistoryMarketDataManager.cs9public class HistoryMarketDataManager : Disposable, IHistoryMarketDataManagerCODE