module Flashboy

Constants

VERSION

Public Class Methods

exchanges() click to toggle source
# File lib/flashboy.rb, line 43
def self.exchanges
  [Bitfinex, Bittrex, Cex, Gdax, Gemini, Kraken, Poloniex, Quoine]
end
logger() click to toggle source
# File lib/flashboy.rb, line 27
def self.logger
  @logger ||= Logger.new(STDOUT)
end
order_book(pair) click to toggle source
# File lib/flashboy.rb, line 37
def self.order_book(pair)
  exchanges.map do |exchange|
    exchange.new.order_book(pair)
  end
end
quote(pair) click to toggle source
# File lib/flashboy.rb, line 31
def self.quote(pair)
  exchanges.map do |exchange|
    exchange.new.quote(pair)
  end
end