Dex Orders API Not Returning Successful Orders

Yeah, I’m interested in the fix as well

Working on it, still need to complete some tasks before release.

Cool @alexkof please update when solved, a lot of users are complaining lately (most trading bot owners/developers)

@alexkof Hi, any news on the above? What is the planned timeline?
Quite a major issue for us currently if we can’t get all transactions.

It should be already fixed, could you check?

@alexkof so Im using c# client [WavesCS], updated to latest 1.1.0.3 version and tried GetOrders test.

On waves desktop client I can see several comepleted TXs :

And the result returned by the test contain only cancelled orders:

Am I missing something?

1(https://github.com/wavesplatform/WavesCS)

1 Like

Yep. Afraid I am still seeing the same issue as well.

@nv.nv @JPlumbly Could you please send me some more info.
I’ve just tried to get all my orders using GetOrders method from WavesCS it’s equal to old waveswallet client. And in old client I can see both submitted and counterorders in all statuses.

Check your user’s orders in old client - waveswallet.io. Is response the same?
Can you send me exchange tx ids’ of orders you cannot see and your address if responses are equal.
What kind or order you cannot see? Your order filled someone else or someone filled your order?

@enichegovsky
Orderes were placed using Waves desktop client. Here are two example TXs that we cannot retrieve using the Waves CS lib GetOrders method:

TX ID: H49EFp6adnWwxZMrLvuxvawa9GQGf8ci6xmyp5kDodhK | TYPE: Exchange Sell | DATE: 8/19/2018 21:42:59 | SENDER ADDRESS: 3PJaDyprvekvPXPuAtxrapacuDJopgJRaU3 | TX AMOUNT: 1.00 Euro | RECIPIENT ADDRESS: n/a | TX FEE: 0.003 Waves

TX ID: BGen8xUYyJsKV6cqc8KbBkbnotzWF5k4akBQpU4YTKsV | TYPE: Exchange Buy | DATE: 8/12/2018 22:38:37 | SENDER ADDRESS: 3PJaDyprvekvPXPuAtxrapacuDJopgJRaU3 | TX AMOUNT: 0.75 Euro | RECIPIENT ADDRESS: n/a | TX FEE: 0.003 Waves

As per my screenshot above looks like we are only getting cancelled Txs. Which is OK because they do exists, but in addition we should see completed ones as well.
My address is:

3PJBoXNxM9VJG18U6CvvBT5iTuWvjnGhY4y

1 Like

@nv.nv Could you please show response of EUR/USD pair in old client - waveswallet.io
Can you see your orders in old waves client?

@enichegovsky Yes I can, please see attached:

1 Like

@nv.nv Not exchange transactions, orders. I can see transactions via explorer.
Open Dex - My orders table.

@enichegovsky sorry, cant see My order tab but maybe this will be sufficient:

1 Like

Click EUR/USD pair. Waves/BTC opened by default.
You can find these assets by name (Euro/ US Dollar) or click EUR/USD button in favorite list

Looks like there are no orders there as well :thinking:

1 Like

@nv.nv sorry, but you sent last screen of another address, not 3PJBoXNxM9VJG18U6CvvBT5iTuWvjnGhY4y

@enichegovsky Sorry, dont know what happened there.
Capture

It seems that the old client is displaying only cancelled orders and not the completed (as well as the API but not the latest client where I created successful orders)

1 Like

@nv.nv Ok. Do you have more than 100 cancelled orders?
Api method returns last 100 orders ordered by timestamp. If you filled order and than canceled 100 orders, then you will not see filled one.

PS old waves client do not sort orders by timestamp, it sorts orders by status, so filled (closed) orders will be in the end of the list.
You can try to fill a new order and then you should see filled order in the “my orders” list

@enichegovsky Thanks for the explanation. In my screenshot hereI ran GetOrders for the EUR/USD pair and I get 7 Txs back which are all cancelled. I imagine if I had more than a 100 it would have returned at least a 100 back?

So no, I dont think I have more than a 100 TXs. Just out of interest, is the new waves client looking at a different version of the API? Because it clearly has the completed orders and the old client doesnt.

How do we work going forward to get this API updated and add status filter in addition to current pairs filter?

1 Like

@enichegovsky any news on this? Really enjoy using your platform but for us to keep our business going we need this to work. More than happy to work with you on the API side of things to get this fixed, PM me if you need more info or a hand.
Thanks

1 Like