Skip to content

PRD-1516: .NET SDK Market Status#98

Open
ortalbenhaim wants to merge 1 commit into
mainfrom
PRD-1516_market_status
Open

PRD-1516: .NET SDK Market Status#98
ortalbenhaim wants to merge 1 commit into
mainfrom
PRD-1516_market_status

Conversation

@ortalbenhaim

@ortalbenhaim ortalbenhaim commented Jul 2, 2026

Copy link
Copy Markdown

User description

Summary

  • Add authoritative customer-facing Status on Trade360 market objects (1=Open, 2=Suspended, 3=Settled), computed from the full calculated bet set after TRADE rules — never DI passthrough.
  • Includes unit tests for rollup logic, status-only delta distribution, and wire/SDK mapping where applicable.

JIRA: https://lsports-data.atlassian.net/browse/PRD-1516

Deploy order (pipeline)

Refiner → Calculator → Distributors → Logger/Snapshot → SDKs

Test plan

  • Unit tests added/updated for Market Status behavior
  • QA validation (TRGN-3952)

Made with Cursor


Generated description

Below is a concise technical summary of the changes proposed in this PR:
Introduce the MarketStatus enum capturing Open, Suspended, and Settled states to represent the calculated lifecycle of Trade360 markets. Expose the Status property on Market so upstream consumers always retrieve the canonical SDK status derived from TRADE rules.

Latest Contributors(2)
UserCommitDate
ortal@lsports.euAdd MarketStatus enum ...July 02, 2026
PavelTemnoAdd ProviderMarkets, c...January 07, 2025
Review this PR on Baz | Customize your next review

Co-authored-by: Cursor <cursoragent@cursor.com>
@baz-reviewer

baz-reviewer Bot commented Jul 2, 2026

Copy link
Copy Markdown

⚠️ Advanced Security cannot run on this PR.

Your organization's Advanced Security usage limit has been reached. To continue using Advanced Security reviews, please upgrade your plan or increase your usage limits in your account settings.

@codacy-production

codacy-production Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage 100.00% diff coverage · +0.01% coverage variation

Metric Results
Coverage variation +0.01% coverage variation (-3.00%)
Diff coverage 100.00% diff coverage (70.00%)

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (984a255) Report Missing Report Missing Report Missing
Head commit (46219d2) 1665 (+1) 1402 (+1) 84.20% (+0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#98) 1 1 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Comment thread src/Trade360SDK.Common.Entities/Entities/Enums/MarketStatus.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants