moex 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moex.rb +1 -0
- data/lib/moex/resources/price.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4593f61647e8485a5a60aac54739662ce72d57304867429d210cb8cc7eb60627
|
4
|
+
data.tar.gz: 882ab7ed7c10e7aa904e3b8408984d9df7aef92865555482f00a4b0c21901781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d36ed11e10c47850a91edf2a77d9ceca8f69bd76ac48a6096ae7fb1652074a8d0087a91251b1630c7e5b4cb9fb6eb01fa0821b28049d54c331489e646b706970
|
7
|
+
data.tar.gz: eb50d5c0b014884320175882f20591c9777f5b3cf28cd1fad6213c1a31b31d4a5ebdd916d1089281e82354ac33c119bdbc253fa75b09a5be9e335a7eba949b7e
|
data/lib/moex.rb
CHANGED
data/lib/moex/resources/price.rb
CHANGED
@@ -4,11 +4,14 @@ module Moex
|
|
4
4
|
module Resources
|
5
5
|
# Security price
|
6
6
|
#
|
7
|
+
# @!attribute trade_date
|
8
|
+
# @return [String] trade date, format YYYY-MM-DD
|
9
|
+
#
|
7
10
|
# @!attribute sec_id
|
8
11
|
# @return [String] security ticker symbol
|
9
12
|
#
|
10
13
|
# @!attribute close_price
|
11
14
|
# @return [Numeric] closing price
|
12
|
-
Price = Struct.new(:sec_id, :close_price)
|
15
|
+
Price = Struct.new(:trade_date, :sec_id, :close_price)
|
13
16
|
end
|
14
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- konstantin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|