Jump to content
McKay Development

Recommended Posts

Posted

Hi,

I am calling 'getExchangeDetails' on 'receivedOfferChanged' event to log received trade data. This works well in most cases, but if account is receiveing large amount of trades concurrently I start missing data from some trades. I have few questions here:

1. Is my assumption that this is indeed caused my amount of trades received in short period of time correct? I mean does 'getExchangeDetails' interacts with steam and gets ratelimited? 

2. If 1. is true, is there build-in mechanism to handle this in trade offer manager, or should I queue received offers and make a sheduler to call 'getExchangeDetails'?

Thanks in advance. 

G

  • 1 month later...
Posted

here is what i did. i get the trade history every 5 minutes and will append it to the cached trade history in my redis. then, on a 1 minute schedule, i will get the exchange detail for one of the items that doesn't have it. 

 

granted, i have a 5-10 minute delay, but it can handle 10 bots with the same ip perfectly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...