These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Missed transactions in WalletJournal API

First post
Author
Kell Ark
Venture Inc
#1 - 2014-05-30 03:43:17 UTC
I encountered strange bug in Wallet Journal API - when I request records, it sometime gives me only recent and old ones. Sometimes it doesn`t load transactions for 3-4 hours (but I see them in game), then suddenly load new lines.

How to deal with that?
Captain Thunk
Explode. Now. Please.
Alliance. Now. Please.
#2 - 2014-05-30 10:29:19 UTC
I don't know if it still does it, but you used to have to order the list yourself, it isn't sent in consecutive transactions - so the transactions you're looking for maybe there, it's just you're assuming they aren't as the last transaction is from earlier.
Kell Ark
Venture Inc
#3 - 2014-05-30 16:20:54 UTC
Captain Thunk wrote:
I don't know if it still does it, but you used to have to order the list yourself, it isn't sent in consecutive transactions - so the transactions you're looking for maybe there, it's just you're assuming they aren't as the last transaction is from earlier.


Yes, I know about ordering, but it wasn`t the issue. It seems that API doesn't fetch transactions made via long-term buy orders. I.e. if I buy something at market price, I`ll be able to fetch record later, but if another player fill my sell order, I won`t get records.

As far as I tested all other types of transaction fetched normally.
CCP FoxFour
C C P
C C P Alliance
#4 - 2014-05-30 16:34:52 UTC
Kell Ark wrote:
Captain Thunk wrote:
I don't know if it still does it, but you used to have to order the list yourself, it isn't sent in consecutive transactions - so the transactions you're looking for maybe there, it's just you're assuming they aren't as the last transaction is from earlier.


Yes, I know about ordering, but it wasn`t the issue. It seems that API doesn't fetch transactions made via long-term buy orders. I.e. if I buy something at market price, I`ll be able to fetch record later, but if another player fill my sell order, I won`t get records.

As far as I tested all other types of transaction fetched normally.


This shouldn't be the case. Can you please give more details and if possible exact reproduction steps.

The API should only be limited by time of actual transaction, not the date orders were created.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Jeton Sur
Australis Industrial Corporation
#5 - 2014-05-31 01:57:12 UTC
Kell Ark wrote:
Captain Thunk wrote:
I don't know if it still does it, but you used to have to order the list yourself, it isn't sent in consecutive transactions - so the transactions you're looking for maybe there, it's just you're assuming they aren't as the last transaction is from earlier.


Yes, I know about ordering, but it wasn`t the issue. It seems that API doesn't fetch transactions made via long-term buy orders. I.e. if I buy something at market price, I`ll be able to fetch record later, but if another player fill my sell order, I won`t get records.

As far as I tested all other types of transaction fetched normally.


The WalletJournal only shows transactions that affect your Wallet balance.

When you place a buy order, some or all of the transaction amount (depending on your Margin Trading skill) is placed in escrow. You will see this as a negative transaction on the API call. As the buy order is filled the escrow amount reduces and only removes ISK from your wallet if needed.

If you have no Margin Trading skill then you will see no further journal transactions for that order unless someone sells to you for a lower price than your order or you change the price of your order. If you have Margin Trading skills then you will see some transactions on your journal when the escrow is insufficient.

If you want to see your market transactions I would suggest using the WalletTransactions API call which will list all the Market Transactions.

As to the delay on journal entries, there is a cachedUntil element that lets you know the earliest time you should make another call on the API. While it may appear in game, it may not appear in the API call until after the cachedUntil time. The 3-4 hour period seems a little long. From my experience it has been around 30 minutes before the next call can be made.



Kell Ark
Venture Inc
#6 - 2014-06-02 15:39:36 UTC
Jeton Sur wrote:


The WalletJournal only shows transactions that affect your Wallet balance



Yeah, looks like that. Thank you for explanation.