You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's extract the last item from the list, just to decrease the odds that it has already been bought
session.bid(trade_id=items[-1]['id'], bid=2000, fast = True)
The session.bid() call returns False. It's highly unlikely that the item has already been bought, as the current minimum buy now price that items are listed for even falls below 1800 coins.
(len(session.search(ctype = 'training', category = 'position', defId = resourceId, max_buy = 1800, page_size = 50, fast = True)) # Returns 50)
Am I overlooking something? Thanks for thinking along :)
The text was updated successfully, but these errors were encountered:
@RoelvanDooren I think the problem is that you are trying to buy a player by his id attribute instead of tradeId.
So, you should try to change this call: session.bid(trade_id=items[-1]['id'], bid=2000, fast = True)
to this one: session.bid(trade_id=items[-1]['tradeId'], bid=2000, fast = True)
I was wondering whether the bid() function is still fully functional when trying to bid the buy now price.
To illustrate:
items = session.search(ctype = 'training', category = 'position', defId = resourceId, max_buy = 2000, page_size = 50, fast = True)
len(items) # Returns 50
Let's extract the last item from the list, just to decrease the odds that it has already been bought
session.bid(trade_id=items[-1]['id'], bid=2000, fast = True)
The session.bid() call returns False. It's highly unlikely that the item has already been bought, as the current minimum buy now price that items are listed for even falls below 1800 coins.
(len(session.search(ctype = 'training', category = 'position', defId = resourceId, max_buy = 1800, page_size = 50, fast = True)) # Returns 50)
Am I overlooking something? Thanks for thinking along :)
The text was updated successfully, but these errors were encountered: