Skip to content

Instantly share code, notes, and snippets.

View andrewwxy's full-sized avatar

Andrew andrewwxy

View GitHub Profile
from TwitterSearch import *
import csv
def get_tweets(query, max = 2000):
# takes a search term (query) and a max number of tweets to find
# gets content from twitter and writes it to a csv bearing the name of your query
i = 0
search = query
#!/usr/bin/env python
"""
Save stock ticker data from Yahoo! Finance to sqlite.
"""
import datetime as d
import sqlite3
import pandas.io.data as web
import pandas.io.sql as sql

Keybase proof

I hereby claim:

  • I am andrewwxy on github.
  • I am andrewwxy (https://keybase.io/andrewwxy) on keybase.
  • I have a public key whose fingerprint is 903B 198E A15E EC6E 3843 8034 7837 1668 E3CE 415E

To claim this, I am signing this object: