This python module allows users to get quotes for equities and equity futures listed on the National Stock Exchange of India
Usage is as follows:
nsequoter.get_equity_quote('3MINDIA') #returns quote for 3M India as it is currently traded
nsequoter.get_futures_quote('3MINDIA', 'jul') #returns quote for 3M India July futures as it is currently traded
The first argumet is always the listed symbol of the desired equity. Incorrect symbols will result in an exception.
Argumets are not case sensitive. months can be entered as three letter string or intiger (Jul = 7, Aug = 8...)
Futures contracts expire on the last thursday of every month. Querying for the data after that date will return an exception.
Future versions of the module will include functions for stock options and currency derivatives.