agarwalvipin / quotelib

Library for fetching quotes from NSE/BSE, the Indian stock exchanges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quotelib

Library for fetching quotes from NSE/BSE, the Indian stock exchanges. Currently i've added ICICI and will keep adding more data sources ICICI is near real time (tested upto frequency of 6 ticks per minutes)

Using quotelib

from quotelib import icici
# Get market depth
md = icici.get_market_depth('STABAN') # ICICI's stock codes are different from NSE
# Get stock quote
q = icici.get_quote('STABAN')
print q[0]
print q[0].price
print md[0].ask_q
prnint md[0].bid_q

About

Library for fetching quotes from NSE/BSE, the Indian stock exchanges

License:GNU Lesser General Public License v2.1


Languages

Language:Python 100.0%