Skip to content

Add account balance, mark-to-market loss limits and fail-fast run cutoff; codebase hardening from code review #46

Merged
mccaffers merged 1 commit into
mainfrom
45-add-account-balance-mark-to-market-loss-limits-and-fail-fast-run-cutoff-codebase-hardening-from-code-review
Jun 9, 2026
Merged

Add account balance, mark-to-market loss limits and fail-fast run cutoff; codebase hardening from code review #46
mccaffers merged 1 commit into
mainfrom
45-add-account-balance-mark-to-market-loss-limits-and-fail-fast-run-cutoff-codebase-hardening-from-code-review

- SQL injection fix: symbols from Redis payloads are validated agains…

1d58735
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 9, 2026 in 1m 52s

Quality Gate failed

Annotations

Check warning on line 84 in source/databaseConnection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "bidResult" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ6uLbvDbL0vMjHUErDx&open=AZ6uLbvDbL0vMjHUErDx&pullRequest=46

Check warning on line 42 in source/databaseConnection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "date" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ6uLbvDbL0vMjHUErDw&open=AZ6uLbvDbL0vMjHUErDw&pullRequest=46

Check warning on line 86 in source/databaseConnection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=mccaffers_backtesting-engine-cpp&issues=AZ6uLbvDbL0vMjHUErDy&open=AZ6uLbvDbL0vMjHUErDy&pullRequest=46