DEV Community

Ramandeep Singh
Ramandeep Singh

Posted on

Gold Price Monitoring real time in Powershell

Ever wondered if you could fetch gold prices in real time basis and view them in your local currency and weight terms.

Power of Poweshell in windows - Just PowerShell scripts enabled such monitoring systems.

Ongoing

Detailed

Features:

  • Runs goldprices.ps1 in quiet mode every minute
  • Displays the Indian market price (with taxes)
  • Optional timestamp display
  • Customizable interval (default: 60 seconds)
  • Graceful Ctrl+C handling

Github link to monitor continously -
https://github.com/r123singh/ps-magic/blob/main/goldprices-monitor.ps1

Github link for ad-hoc monitor -
https://github.com/r123singh/ps-magic/blob/main/goldprices.ps1

Visit, and customize script for your local currency.

Read about Gold Price calculation here -
https://dev.to/buildandcodewithraman/gold-prices-in-india-2gkc

Top comments (0)