Obtain OAuth keys/secrets from TradeKing.
import tradeking
CONSUMER_KEY = 'consumer_key'
CONSUMER_SECRET = 'consumer_secret'
OAUTH_TOKEN = 'oauth_token'
OAUTH_SECRET = 'oauth_secret'
tkapi = tradeking.TradeKing(consumer_key=CONSUMER_KEY,
consumer_secret=CONSUMER_SECRET,
oauth_token=OAUTH_TOKEN,
oauth_secret=OAUTH_SECRET)
quotes = tkapi.market.quotes('IBM')
In the near future the format of parsed results will return Pandas objects instead of dictionaries.