Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Simple bash script returning stock quotes
Current Version
.8
Last Release Date
2018-01-03
Owner
Craig Dienger
Compatible With
This bash script queries the Tradier API to retrieve stock quotes.
It requires an account(free) at https://developer.tradier.com.
Currently it will work with the last, change, change_percentage, volume, average_volume, last_volume, trade_date, open, high, low, close, prevclose, week_52_high, week_52_low, bid, bidsize, bid_date, ask, asksize, and ask_date fields returned by Tradier.
Usage:
./stock.sh [SYMBOL] [Tradier_ID] [FIELD] [WARNING RANGE] [CRITICAL RANGE]
Example to pull last ask for google:
./stock.sh GOOG 98767ly1z21JjHa5T4dyR5m12345 ask 1000:1100 900:1200
Thresholds follow http://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!