tboothman / steam-market-seller

Automatically price and sell items on the steam market
62 stars 20 forks source link

More options request #1

Closed Zuko closed 10 years ago

Zuko commented 10 years ago

Hi, can you add more options like: auto selling duplicates, selling eg cards from one game and auto sell selected items?

thanks

mrhanman commented 10 years ago

I would like to be able to sell only cards.

tboothman commented 10 years ago

In my inventory all the cards are under the steam section. Cards are the only items you can sell in there, so clicking sell all in that section will do what you want. I just sold all my cards: steam inventory

mrhanman commented 10 years ago

It also sells backgrounds and emoticons, which I'd like to keep.

Zuko commented 10 years ago

And it sells all cards (from all games), can you add option to sell only duplicate ones and cards from one (selected) game?

2014-03-28 19:38 GMT+01:00 mrhanman notifications@github.com:

It also sells backgrounds and emoticons, which I'd like to keep.

— Reply to this email directly or view it on GitHubhttps://github.com/tboothman/steam-market-seller/issues/1#issuecomment-38953742 .

tboothman commented 10 years ago

I've added a button that lets you sell whatever is visible in the inventory view at the moment. So if you filter your dota items to legendary for example, only those will be sold

mrhanman commented 10 years ago

How does it determine the sell price? I would like it to look up the current lowest price, and sell for $0.01 less.

I read calculateSellPrice(), but I'm not sure I understand. It says it must be 1p lower than current lowest, but it also says the highest average price in the last 24h.

tboothman commented 10 years ago

Sorry, that text was pretty ambiguous. I've clarified the comments in the code and put an explanation in the README.md too. If you want it to do what you said you could rip out all the history checking and go with:

if (Object.keys(listings).length === 0) {
        return 0;
}

var firstListing = listings[Object.keys(listings)[0]];
return firstListing.converted_price - 1;

If you want to discuss this more make another issue please. I should have closed this one earlier.