目录

stock-monitor/stock-monitor/README.md a

Stock Monitoring Website

This project is a simple stock monitoring website that displays the prices of stocks you own. The stock prices are updated daily using GitHub Actions.

Project Structure

stock-monitor
├── src
│   ├── index.html        # Main HTML document
│   ├── styles
│   │   └── main.css      # Styles for the website
│   └── scripts
│       └── main.js       # JavaScript for fetching stock prices
├── .github
│   └── workflows
│       └── update-stocks.yml  # GitHub Actions workflow for updating stocks
├── data
│   └── stocks.json       # JSON file containing stock data
├── package.json          # npm configuration file
└── README.md             # Project documentation

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd stock-monitor
  2. Install dependencies:

    npm install
  3. Update the data/stocks.json file with your stock information.

  4. Configure the GitHub Actions workflow in .github/workflows/update-stocks.yml to run daily.

  5. Open src/index.html in a web browser to view your stock prices.

Usage

The website will automatically fetch and display the latest stock prices from the stocks.json file. Make sure to keep the stocks.json file updated with your stock information for accurate pricing.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号