chief-gant / SplinterlandsTraderBot

A trading bot written in Python that makes a profit by buying underpriced cards and quickly reselling them.
18 stars 0 forks source link

Chaos Legion hit #1

Closed Macpayne closed 2 years ago

Macpayne commented 2 years ago

Turned on the bot and was running it after Chaos Legion hit tonight, the bot found a gold foil chaos legion card Hill Giant, bought it, listed it and was starting a new iteration when this error happened which I believe is just a nothing is classified as Chaos Legion yet error. Thank you for the time on this bot, and the DEC that follows. Starting iteration Parameters:{'check_interval': 0, 'fixed_price_interval': 300, 'minimum_balance': 0, 'min_abs_gain': 0.1, 'min_rel_gain': 0.1, 'min_post_number': 10} Balance: $1.92

Found offer: Ant Miners (Regular) There was a problem while buying the card, there might be a problem with the offer. The offer will be excluded from the next iterations.

We match the lowest price of: Goblin Firemage We match the lowest price of: Goblin Shaman We match the lowest price of: Charlok Minotaur Traceback (most recent call last): File "splinterlands_trader_bot.py", line 593, in File "splinterlands_trader_bot.py", line 584, in run File "splinterlands_trader_bot.py", line 504, in update_posts KeyError: (370, True)

Macpayne commented 2 years ago

Not sure what the issue was but its working now.

chief-gant commented 2 years ago

Probably the API wasn't returning the info on the Chaos Legion cards yet, but they were already listed. It makes sense for this issue to have solved itself.