Skip to content

Instantly share code, notes, and snippets.

Created December 28, 2011 21:50
What would you like to do?
Prints weekly stock prices for a specific year
#!/usr/bin/env bash
curl -s "$1&startdate=jan+1&2c+$2&enddate=dec+31%2c+$2&output=csv&histperiod=weekly" \
| sed -e '1d' \
| tac \
| cut -d, -f5 \
| spark
Copy link

holman commented Dec 28, 2011

🤘 💰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment