derfabsSL / Splinterbuyer

Splinterbuyer - Splinterlands Autobid Market Bot
20 stars 8 forks source link

Partially working. Can you clarify Global vs Individual parameters I have? #21

Open huphlungpu opened 2 years ago

huphlungpu commented 2 years ago

What i'm wanting to do is to buy cards at % below the market and then repost for sale at % above purchase. However, It seems that the only thing it wants to do is run all night checking prices. Thank you for your help and consideration.

"global_params": { "currency": "DEC", "auto_set_buy_price": true, "buy_pct_below_market": 11, "sell_pct_above_buy": 10, "tip_pct_of_profit": 5 }, "bids": [{ "comment": "buy all deals on cards", "cards": [], "editions": ["untamed","dice","chaos","reward"], "rarities": ["common","rare","epic","legendary"], "elements": ["fire","water","earth","life","death","dragon","neutral"], "types": ["summoner","monster"], "min_bcx": 1, "min_cp_per_usd": 0, "max_price": 0.40, "max_quantity": 1, "gold_only": false, "exclude_cl": false, "sell_for_pct_more": 14

huphlungpu commented 2 years ago

And what is the "market" price determined as? the next highest card? or something else?

speedygonedaddy commented 2 years ago

Glad you've gotten further than me, I don't really know what I am doing, but I keep trying. I keep getting errors in my requirements txt. But again, I am trying to put this thing together and don't really know what I'm doing.

I keep getting, "from beem.blockchain import Blockchain" as an error, so I am doing something wrong. I've tried different numbers from different versions, and the latest, but nothing is really working.

speedygonedaddy commented 2 years ago

I don't know what I am doing and still haven't gotten mine running, but I do see that you have two different prices set for selling % above. On the top, you have, "sell_for_above_buy": 10 and on the bottom, you have, "sell_for_pct_more": 14. The two different values for the same thing may be the issue.

huphlungpu commented 2 years ago

Sounds like u need to go to the directory where ur splinterbuyer is located and run Pip install -r requirements.txt

speedygonedaddy commented 2 years ago

I have run pip install, it's telling me the requirements are wrong, sometimes it highlights two of the numbers, others it only highlights one. I'll get it figured out, I hope, I'm new and learning, haven't done any programming in years and I need to learn Python as well. No matter, I have probably made a mistake somewhere, I have the green light on the other .py file and bid.json file, but the requirements txt is what is stopping it. Again, it's probably something I haven't done right so I'll keep trying until I get it. I really didn't expect it to be this difficult, I have other bots running on other stuff that was super simple to set up and run, I thought this would be the same and put $50 in with credits to get it running and now I am stuck with Credits that I can only buy in-game stuff with, so I have to get this thing running, money is sitting in there waiting to earn money.

I appreciate the response though, at least I know it's not a complete ghost town in here.