Skip to content

jkoelker/python-tradeking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A python wrapper for the Tradeking API

Usage

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')

Note

In the near future the format of parsed results will return Pandas objects instead of dictionaries.

About

Python(ic?) Interface to the TradeKing API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages