Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to relist/select underpriced items #87

Open
Lucki opened this issue Aug 6, 2018 · 2 comments
Open

Add button to relist/select underpriced items #87

Lucki opened this issue Aug 6, 2018 · 2 comments

Comments

@Lucki
Copy link

Lucki commented Aug 6, 2018

A "relist underpriced" and/or "select underpriced" button would be handy which works in the same way as the "relist overpriced" button.

@Nuklon
Copy link
Owner

Nuklon commented Dec 27, 2018

Feel free to submit a PR for this.

@disanyixing
Copy link

disanyixing commented Aug 26, 2023


else{
    logConsole('Sell price is fair.');

    if (getSettingWithDefault(SETTING_RELIST_AUTOMATICALLY) == 1) {
        if (histogram.sell_order_graph.length >= 2) {
            let firstsellprice = histogram.sell_order_graph[0][0];
            let secondsellprice = histogram.sell_order_graph[1][0];
            if (secondsellprice - 0.5 > firstsellprice ) {
                queueOverpricedItemListing(listing.listingid);
            }
        }
    }

    $('.market_listing_my_price', listingUI).last().css('background', COLOR_PRICE_FAIR);
    listingUI.addClass('fair');
}

I have added a feature in the above code that automatically relist item when the second selling price is 0.5 higher than the first selling price.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants