JKorf / Bitget.Net

A C# .netstandard client library for the Bitget REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Bitget.Net/
MIT License
12 stars 9 forks source link

FuturesApiV2.Trading.GetOrderAsync does not report the state of an order #30

Closed SRNebu2007 closed 1 month ago

SRNebu2007 commented 1 month ago

Describe the bug When I use FuturesApiV2.Trading.GetOrderAsync the field Status is always "Initial".

To Reproduce Used the given function with several OrderIds. Have compared it to the "old" version FuturesApi.Trading.GetOrderAsync. Here the status is shwon correctly. Currently I am using this old version.

Expected behavior A filled order should show in status "filled".

Debug logging FuturesApi.Trading.GetOrderAsync result:

image

FuturesApiV2.Trading.GetOrderAsync result:

image

If you need more details please let me know.

I use your interface for some days now. And it looks really good to many. Some more minor issues. I will report them step by step.

JKorf commented 1 month ago

Hi, it seems the documentation was incorrect for this, listing the property as status instead of the actually returned value state, but it's since the implementation been fixed. I'll adjust the mapping for it in next version.

Let me know if you have any other issues!

SRNebu2007 commented 1 month ago

Thanks a lot. When will this version be available?

JKorf commented 1 month ago

Planning on releasing tomorrow, or Sunday latest

SRNebu2007 commented 1 month ago

Nice. Love it

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


From: Jan Korf @.> Sent: Friday, July 26, 2024 2:46:17 PM To: JKorf/Bitget.Net @.> Cc: SRNebu2007 @.>; Author @.> Subject: Re: [JKorf/Bitget.Net] FuturesApiV2.Trading.GetOrderAsync does not report the state of an order (Issue #30)

Planning on releasing tomorrow, or Sunday latest

— Reply to this email directly, view it on GitHubhttps://github.com/JKorf/Bitget.Net/issues/30#issuecomment-2252690461, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A64BSLSXGEAFAAQXJBLG6N3ZOJAJTAVCNFSM6AAAAABLNIFKNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSGY4TANBWGE. You are receiving this because you authored the thread.Message ID: @.***>

JKorf commented 1 month ago

Fixed in latest version