finnhub_ruby 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6df6c66a84be7b48cab570974fd79d1599d5abe935eb4aa6e74999f0e3ad693
4
- data.tar.gz: e3ad7ca361ed659a7d3117614d8eaea99b849b9d8c46442332592aba9ed40c41
3
+ metadata.gz: b2da8e821dc78ddc713ed7f8afb8fe28afee96a262cdba9db9200ec37643227c
4
+ data.tar.gz: 715d18d743098b7d2eee1409e3e97e8123785092220731bbc9bd50837a3bf245
5
5
  SHA512:
6
- metadata.gz: 264b20a3c6cebb3aa2a8a1f585135175117854e5626d069e11a614411ac5f92f6faa3e047607d5aff9cd4d20548ec16a0947f0beb2f1ebf389630b572a500a6c
7
- data.tar.gz: 392df011ae4bd4bcc681d11561f75f596dc8ce66c5a1af0f54f787d19bd6b4bcf6436fe357ea790ef6285874d4da0023fae3431933bc81f9535ff3b75b35f5a2
6
+ metadata.gz: cfc79554dd04a501384f983da3fe1d675364b0e750a7601bb590ab558e3cf9d417fea7b3a9003eb401a1421ddd6fe043400d071f22c6e9a782230ba6ebad4ee7
7
+ data.tar.gz: 11ff59fb347ae3fcd8b56c839b9d5363f3b9922f26cfba9b11f3380e4ac4301e41ab93891a6df6969f1f8ca83819346555b60ad0be8cb6317e79b41e1dc6a1e6
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # finnhub-ruby
2
2
  - API documentation: https://finnhub.io/docs/api
3
3
  - API version: 1.0.0
4
- - Package version: 1.1.5
4
+ - Package version: 1.1.6
5
5
 
6
6
  ## Installation
7
7
  https://rubygems.org/gems/finnhub_ruby
@@ -13,7 +13,7 @@ gem install finnhub_ruby
13
13
  or in your Gemfile
14
14
 
15
15
  ```ruby
16
- gem 'finnhub_ruby', '~> 1.1.4'
16
+ gem 'finnhub_ruby', '~> 1.1.6'
17
17
  ```
18
18
 
19
19
  ## Getting Started
@@ -158,6 +158,9 @@ puts(finnhub_client.crypto_candles('BINANCE:BTCUSDT', 'D', 1590988249, 159185224
158
158
  # Tick Data
159
159
  puts(finnhub_client.stock_tick_with_http_info('AAPL', '2020-03-25', 500, 0))
160
160
 
161
+ # NBBO
162
+ puts(finnhub_client.stock_nbbo('NFLX', '2020-03-25', 50, 0))
163
+
161
164
  # Technical Indicator
162
165
  puts(finnhub_client.technical_indicator("AAPL", 'D', 1583098857, 1584308457, 'rsi', {"timeperiod": 3}))
163
166
 
data/docs/Transactions.md CHANGED
@@ -10,7 +10,7 @@
10
10
  | **filing_date** | **Date** | Filing date. | [optional] |
11
11
  | **transaction_date** | **Date** | Transaction date. | [optional] |
12
12
  | **transaction_price** | **Float** | Average transaction price. | [optional] |
13
- | **transaction_code** | **Date** | Transaction code. A list of codes and their meanings can be found <a href=\"https://www.sec.gov/about/forms/form4data.pdf\" target=\"_blank\" rel=\"noopener\">here</a>. | [optional] |
13
+ | **transaction_code** | **String** | Transaction code. A list of codes and their meanings can be found <a href=\"https://www.sec.gov/about/forms/form4data.pdf\" target=\"_blank\" rel=\"noopener\">here</a>. | [optional] |
14
14
 
15
15
  ## Example
16
16
 
Binary file
@@ -63,7 +63,7 @@ module FinnhubRuby
63
63
  :'filing_date' => :'Date',
64
64
  :'transaction_date' => :'Date',
65
65
  :'transaction_price' => :'Float',
66
- :'transaction_code' => :'Date'
66
+ :'transaction_code' => :'String'
67
67
  }
68
68
  end
69
69
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.0
11
11
  =end
12
12
 
13
13
  module FinnhubRuby
14
- VERSION = '1.1.5'
14
+ VERSION = '1.1.6'
15
15
  end
data/release.sh CHANGED
@@ -1,7 +1,12 @@
1
- echo "Remember to add :followlocation => true to api_client.rb?"
2
- select yn in "Yes" "No"; do
3
- case $yn in
4
- Yes ) gem build finnhub_ruby.gemspec; gem push finnhub_ruby-$1.gem;;
5
- No ) exit;;
6
- esac
7
- done
1
+ if [ $# -eq 0 ]
2
+ then
3
+ echo "No arguments supplied"
4
+ exit
5
+ fi
6
+
7
+ read -p "Remember to add :followlocation => true to api_client.rb?" yn
8
+ case $yn in
9
+ [Yy]* ) gem build finnhub_ruby.gemspec; gem push finnhub_ruby-$1.gem; break;;
10
+ [Nn]* ) exit;;
11
+ * ) echo "Please answer yes or no.";;
12
+ esac
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finnhub_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -164,7 +164,7 @@ files:
164
164
  - docs/Trend.md
165
165
  - docs/TwitterSentimentContent.md
166
166
  - docs/UpgradeDowngrade.md
167
- - finnhub_ruby-1.1.4.gem
167
+ - finnhub_ruby-1.1.5.gem
168
168
  - finnhub_ruby.gemspec
169
169
  - git_push.sh
170
170
  - lib/finnhub_ruby.rb
Binary file