Skip to content

Instantly share code, notes, and snippets.

View anoop-v-mathew's full-sized avatar

Anoop Varughese Mathew anoop-v-mathew

  • Wipro Arabia Ltd.
  • India
View GitHub Profile
@m-manu
m-manu / stock
Last active November 21, 2017 07:56
Command-line utility to get stock price from Nasdaq and display it in INR (or any other currency). This script is created only for academic purpose. Please check terms and conditions Yahoo! Finance and Google Finance APIs before using this.
#!/usr/bin/python
'''
Command-line script to get stock price (in USD and local currency)
Prerequisite:
Python 2.7
Installation:
Copy this script to /usr/bin or /bin.
Usage:
$ stock ZNGA
This will get you stock price for company with stock symbol 'ZNGA'