forex_date 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/forex_date.gemspec +1 -15
- data/lib/forex_date/version.rb +1 -1
- metadata +4 -18
data/forex_date.gemspec
CHANGED
@@ -7,22 +7,8 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.description = <<-END_OF_DESC
|
8
8
|
A forex week begins when the Wellington/Sydney forex markets open (Sun 5pm EST) and closes when the New York forex market closes (Fri 5pm EST).
|
9
9
|
|
10
|
-
In order to calculate daily OHCL bars, the around the clock forex week can be split in 5 days
|
10
|
+
In order to calculate daily OHCL bars, the around the clock forex week can be split in 5 days. See documentation for details.
|
11
11
|
|
12
|
-
monday: from Sun 5pm EST to Mon EST 5pm
|
13
|
-
tuesday: from Mon 5pm EST to Tue EST 5pm
|
14
|
-
wednesday: from Tue 5pm EST to Wed EST 5pm
|
15
|
-
thursday: from Wed 5pm EST to Thu EST 5pm
|
16
|
-
friday: from Thu 5pm EST to Fri EST 5pm
|
17
|
-
|
18
|
-
For example, if current time is Thu May 24 06:38:34 UTC 2012:
|
19
|
-
|
20
|
-
> ForexDate.now
|
21
|
-
=> Thu, 24 May 2012
|
22
|
-
|
23
|
-
On saturdays and sundays it returns nil. If current time is Sat May 26 06:38:34 UTC 2012:
|
24
|
-
|
25
|
-
> ForexDate.now
|
26
12
|
=> nil
|
27
13
|
END_OF_DESC
|
28
14
|
gem.summary = %q{Calculate the date of the current forex day}
|
data/lib/forex_date/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forex_date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Javier Vidal
|
@@ -34,22 +34,8 @@ dependencies:
|
|
34
34
|
description: |
|
35
35
|
A forex week begins when the Wellington/Sydney forex markets open (Sun 5pm EST) and closes when the New York forex market closes (Fri 5pm EST).
|
36
36
|
|
37
|
-
In order to calculate daily OHCL bars, the around the clock forex week can be split in 5 days
|
38
|
-
|
39
|
-
monday: from Sun 5pm EST to Mon EST 5pm
|
40
|
-
tuesday: from Mon 5pm EST to Tue EST 5pm
|
41
|
-
wednesday: from Tue 5pm EST to Wed EST 5pm
|
42
|
-
thursday: from Wed 5pm EST to Thu EST 5pm
|
43
|
-
friday: from Thu 5pm EST to Fri EST 5pm
|
44
|
-
|
45
|
-
For example, if current time is Thu May 24 06:38:34 UTC 2012:
|
46
|
-
|
47
|
-
> ForexDate.now
|
48
|
-
=> Thu, 24 May 2012
|
49
|
-
|
50
|
-
On saturdays and sundays it returns nil. If current time is Sat May 26 06:38:34 UTC 2012:
|
37
|
+
In order to calculate daily OHCL bars, the around the clock forex week can be split in 5 days. See documentation for details.
|
51
38
|
|
52
|
-
> ForexDate.now
|
53
39
|
=> nil
|
54
40
|
|
55
41
|
email:
|