cstock 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cstock/stock.rb +1 -1
- data/lib/cstock/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62bd96008319a3aa1fbb1d23bedf91fc896b27ad
|
4
|
+
data.tar.gz: d4f404a31a52bf6acffeca860a1b4a40bfc61755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8723bc38b676725b59d35e6a46ed7a6aba100d4babba1096600ae73cc7665206cdfe1be16ed2a3765ceed271e304e2d011677cda8894b3bda9294ed027b9d64
|
7
|
+
data.tar.gz: 2e01e480e45b1b7899f77886b569e0a7158da52b60a357c431418f30a3c03ff599de6ca43e51cd24ab6331fb0364dd6e262f23e2589a4951249fadd8570bc2f9
|
data/lib/cstock/stock.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rest-client'
|
|
3
3
|
|
4
4
|
module CStock
|
5
5
|
class Stock
|
6
|
-
FIELDS = %w(code name open_price yesterday_close_price
|
6
|
+
FIELDS = %w(code name open_price yesterday_close_price current_price high_price low_price bid_price_1 ask_price_1 volume turnover
|
7
7
|
bid_volume_1 bid_price_1 bid_volume_2 bid_price_2 bid_volume_3 bid_price_3 bid_volume_4 bid_price_4 bid_volume_5 bid_price_5
|
8
8
|
ask_volume_1 ask_price_1 ask_volume_2 ask_price_2 ask_volume_3 ask_price_3 ask_volume_4 ask_price_4 ask_volume_5 ask_price_5
|
9
9
|
date time)
|
data/lib/cstock/version.rb
CHANGED