Nse1
A Ruby gem for equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in visit --> https://github.com/ankitagarwal248/NSE1
Installation
Add this line to your application's Gemfile:
gem 'nse1'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nse1
Usage
Nse1::Stock.nifty
Nse1::Stock.list
a = Nse1::Stock.new("COX&KINGS")
a.symbol
a.last
a.sector
a.fullname
a.lastUpdateTime
a.change
a.volume
a.openPrice
a.low52
a.previousClose
a.high52
a.dayHigh
a.dayLow
a.fulljson
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request