[GC] Smarter Stock Market

Highlights stocks that meet thresholds for buying and selling.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

Advertisement:

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

Advertisement:

作者
Aether
日安装量
0
总安装量
69
评分
0 0 0
版本
1.3.0
创建于
2025-08-27
更新于
2026-02-20
大小
11.1 KB
许可证
MIT
适用于

[GC] Smarter Stock Market

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.

Features

  • Allow sorting of the Stock tables by any field
  • Highlight buyable and sellable stocks that meet a configurable threshold

Configuration

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!

Changelog

1.3.0

  • Actually reads buy/sell thresholds from config. You might need to fix up your settings. Sorry.
  • Adds a link to the userscript config page on the stock market pages.
  • By default orders highlighted portfolio stocks by value instead of by change %.
  • Button to autofill all sell amounts for a given stock.

1.2.0

  • Adds user interface for configuring stock buy/sell thresholds and highlight colour.
  • Fixed a bug where stocks in your portfolio below your sell threshold were displaying the "sell" form in the wrong location.

1.1.1

  • Fixed a bug where when selling highlighted stocks, the "sell" form will show in the wrong location in the list.
  • Fixed a bug where highlighted stocks were displayed in the reverse order to what the rest of the table was sorted by.

1.1.0

  • If you have dark mode enabled, the default highlight colour will now be something that you can more easily read the grey and white text on. Configuring your own custom colour with the HIGHLIGHT_COLOUR variable will still take preference either way.

1.0.0

  • Initial release.