RubyGems Navigation menu

forex_date 1.0.0

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). In order to calculate daily OHCL bars, the around the clock forex week can be split in 5 days: monday: from Sun 5pm EST to Mon EST 5pm tuesday: from Mon 5pm EST to Tue EST 5pm wednesday: from Tue 5pm EST to Wed EST 5pm thursday: from Wed 5pm EST to Thu EST 5pm friday: from Thu 5pm EST to Fri EST 5pm For example, if current time is Thu May 24 06:38:34 UTC 2012: > ForexDate.now => Thu, 24 May 2012 On saturdays and sundays it returns nil. If current time is Sat May 26 06:38:34 UTC 2012: > ForexDate.now => nil

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 1.0.4 - May 30, 2012 (5,5 KB)
  2. 1.0.3 - May 30, 2012 (5,5 KB)
  3. 1.0.2 - May 26, 2012 (5,5 KB)
  4. 1.0.1 - May 26, 2012 (5,5 KB)
  5. 1.0.0 - May 26, 2012 (5,5 KB)
Mostrar todas as versões (7)

Runtime Dependencies (1):

tzinfo >= 0

Donos:

Autores:

  • Javier Vidal

SHA 256 checksum:

= Copy to clipboard Copied!

Total de downloads 24.112

Desta versão 3.306

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: