Description

Note: Please see the Developer Website (GitHub) for more details usage instructions. The SNAP store is limited in what is can display.

Quoter is a small command line tool to fetch stock quotes. In order to minimize HTML scraping, it retrieves quotes from https://iexcloud.io You can signup for free and get 500k stock quotes per month. Please check their usage agreements prior to signing up and ensure you are allowed to user their service.

After getting an account, log into the dashboard and you can see your API tokens. You'll need the secret token to use this program. The secret key starts with sk_

Unfortunately, IEXCloud does not freely provide index data. Therefore they are scraped from a finance website to get the DOW, NASDAQ, and S&P500 data. I don't really like this, but it seems the only option at this point. It does mean that there is a likelihood that I'll probably have to keep updating the program if the web page format changes.

Please see the developer homepage for a detailed description of each command line option.

Be default, the program will show you the summary of the securities entered and the DOW, S&P500, and Nasdaq index data.

The -t switch will show you a three month trend which includes daily high, low, and close prices.

The -d will show you more detailed information on the provided securities.

I live in the US and have no idea how this will perform for stock exchanges. For indexes, it only pulls the DOW, S&P500, and the NASDAQ.

Program Setup

Before you can start to use the tool, you'll need to store your API Secret Key. To do this execute the following:

quoter -c

This will prompt you for the key which will be stored in the java preferences system. On Windows this is the registry. In Linux it's a hidden directory inside your home directory. Currently it is not encrypted, but I'll need to look into this at some point.

Example:

quoter amzn msft acn ibm

quoter -t bp

quoter -d acn

Feedback

This is obviously not meant to be a large financial package. It's just a small utility that I wanted to use to tell me if I'll ever be able to retire :-) If you have suggestions or idea, please let me know.

Screenshots

Get it from the Snap Store

Search for another snap, or go back to the homepage.