📅  最后修改于: 2023-12-03 15:00:59.937000             🧑  作者: Mango
Gnus Stock is a stock market monitoring tool built for Emacs users who want to keep track of their investments while they work. It's part of the Gnus group of Emacs packages, which is a collection of email and news reading tools.
Gnus Stock is included in the default Emacs distribution since version 27.1, so it should be available out of the box. If you are using an older version of Emacs or want to install a newer version of Gnus Stock, you can install it from the MELPA repository.
To install it using MELPA, add the following code to your Emacs configuration file (~/.emacs.d/init.el
):
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-refresh-contents)
(package-install 'gnus-stock)
To use Gnus Stock, you need to first load the package by adding this line to your Emacs configuration file:
(require 'gnus-stock)
Then, you can open Gnus Stock by running the command M-x gnus-stock
.
Gnus Stock can be configured by customizing the group parameters. To customize the parameters, type M-x customize-group gnus-stock
.
Some of the parameters that you can customize:
gnus-stock-companies
: A list of stock symbols that you want to monitor.gnus-stock-update-interval
: The interval (in seconds) for retrieving stock quotes.gnus-stock-alert-thresholds
: A list of alert thresholds for each stock symbol.Gnus Stock is a useful tool for Emacs users who are also investors. It allows you to keep track of your investments while you work and can notify you of price changes and other events. With its integration with Gnus, you can easily manage your portfolio alongside your email inbox.