nse1 1.0.2 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -5
- data/lib/nse1/version.rb +1 -1
- data/lib/randomcode/notes.txt +1 -1
- data/nse1.gemspec +3 -3
- metadata +6 -4
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Nse1
|
2
2
|
|
3
|
-
|
3
|
+
A Ruby gem for equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in
|
4
|
+
visit --> https://github.com/ankitagarwal248/NSE1
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -18,7 +19,25 @@ Or install it yourself as:
|
|
18
19
|
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
+
Nse1::Stock.nifty
|
23
|
+
Nse1::Stock.list
|
24
|
+
|
25
|
+
a = Nse1::Stock.new("COX&KINGS")
|
26
|
+
|
27
|
+
a.symbol
|
28
|
+
a.last
|
29
|
+
a.sector
|
30
|
+
a.fullname
|
31
|
+
a.lastUpdateTime
|
32
|
+
a.change
|
33
|
+
a.volume
|
34
|
+
a.openPrice
|
35
|
+
a.low52
|
36
|
+
a.previousClose
|
37
|
+
a.high52
|
38
|
+
a.dayHigh
|
39
|
+
a.dayLow
|
40
|
+
a.fulljson
|
22
41
|
|
23
42
|
## Contributing
|
24
43
|
|
@@ -29,6 +48,3 @@ TODO: Write usage instructions here
|
|
29
48
|
5. Create new Pull Request
|
30
49
|
|
31
50
|
|
32
|
-
remote is "nsegem"
|
33
|
-
git remote add nsegem https://github.com/ankitagarwal248/NSE1.git
|
34
|
-
git push -u nsegem master
|
data/lib/nse1/version.rb
CHANGED
data/lib/randomcode/notes.txt
CHANGED
@@ -2,7 +2,7 @@ remote is "nsegem"
|
|
2
2
|
git remote add nsegem https://github.com/ankitagarwal248/NSE1.git
|
3
3
|
git push -u nsegem master
|
4
4
|
|
5
|
-
|
5
|
+
------------------------------------------------
|
6
6
|
|
7
7
|
# bundle gem lorem ------> to create new gem
|
8
8
|
# When it’s time to update our gem to a new version we can change the version number(/lib/lorem/version.rb) and republish the gem.
|
data/nse1.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Nse1::VERSION
|
9
9
|
spec.authors = ["Ankit Agarwal"]
|
10
10
|
spec.email = ["ankitagarwal24.8@gmail.com"]
|
11
|
-
spec.description = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com}
|
12
|
-
spec.summary = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com}
|
13
|
-
spec.homepage = "
|
11
|
+
spec.description = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in}
|
12
|
+
spec.summary = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in}
|
13
|
+
spec.homepage = "https://github.com/ankitagarwal248/NSE1"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nse1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -75,7 +75,8 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
|
-
description: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com
|
78
|
+
description: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com.
|
79
|
+
Originally developed for www.tradeoo.in
|
79
80
|
email:
|
80
81
|
- ankitagarwal24.8@gmail.com
|
81
82
|
executables: []
|
@@ -98,7 +99,7 @@ files:
|
|
98
99
|
- lib/randomcode/sector.rb
|
99
100
|
- lib/randomcode/stocks.csv
|
100
101
|
- nse1.gemspec
|
101
|
-
homepage:
|
102
|
+
homepage: https://github.com/ankitagarwal248/NSE1
|
102
103
|
licenses:
|
103
104
|
- MIT
|
104
105
|
post_install_message:
|
@@ -122,5 +123,6 @@ rubyforge_project:
|
|
122
123
|
rubygems_version: 1.8.24
|
123
124
|
signing_key:
|
124
125
|
specification_version: 3
|
125
|
-
summary: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com
|
126
|
+
summary: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com.
|
127
|
+
Originally developed for www.tradeoo.in
|
126
128
|
test_files: []
|