Highlights stocks that meet thresholds for buying and selling.
This script improves the Grundo's Cafe Stock Market experience by making relevant stocks easier to find and manipulate.
It's inspired greatly by the Stock Market Extras userscript, and uses the sortable library to facilitate sorting functions.
Head to the Userscript Preferences page to configure this script.
BUY_THRESHOLD (integer): The price you want to buy stocks at. Default is 15 NP.
SELL_THRESHOLD (integer): The minimum price you want to sell stocks at. Default is 40.
HIGHLIGHT_COLOUR (string; optional): A hex colour or HTML-safe colour name that is used to highlight stocks above/below. Defaults to something that kind of matches the existing table theme.
Thanks to CrystalFlame's Universal Userscripts Settings script for enabling this functionality!
1.3.0
1.2.0
1.1.1
1.1.0
HIGHLIGHT_COLOUR variable will still take preference either way.1.0.0