Skip to content

Add GetClosedOrdersAsync for Unified (UTA) trading API - #98

Open
yaroslavnikolenko-design wants to merge 1 commit into
JKorf:mainfrom
yaroslavnikolenko-design:Add-GetClosedOrdersAsync-for-UTA
Open

Add GetClosedOrdersAsync for Unified (UTA) trading API#98
yaroslavnikolenko-design wants to merge 1 commit into
JKorf:mainfrom
yaroslavnikolenko-design:Add-GetClosedOrdersAsync-for-UTA

Conversation

@yaroslavnikolenko-design

Copy link
Copy Markdown
Contributor

Adds support for the Bitget UTA order history endpoint (GET /api/v3/trade/history-orders) to the Unified API trading client, enabling retrieval of closed/historical orders across UTA product categories.

Changes
• IBitgetRestClientUnifiedApiTrading: added new GetClosedOrdersAsync method with XML docs referencing the Bitget UTA Get Order History docs.
• BitgetRestClientUnifiedApiTrading: implemented GetClosedOrdersAsync, wiring up parameters and returning HttpResult.
• Unit tests:
• Added RestRequestTests entry for the new endpoint.
• Added expected request fixture TestFiles/Endpoints/Unified/Trading/GetClosedOrders.txt.
• Minor Bitget.Net.UnitTests.csproj adjustment.

Notes
• No breaking changes; purely additive.
• Follows the existing UTA trading method conventions (parameter naming, ProductCategory enum from Bitget.Net.Enums.Uta, HttpResult return type).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant