Class: Cryptoexchange::Exchanges::Bitrue::Market

Inherits:
Models::Market show all
Defined in:
lib/cryptoexchange/exchanges/bitrue/market.rb

Constant Summary collapse

NAME =
'bitrue'
API_URL =
'https://www.bitrue.com'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



8
9
10
11
12
# File 'lib/cryptoexchange/exchanges/bitrue/market.rb', line 8

def self.trade_page_url(args={})
  base = args[:base].downcase
  target = args[:target].downcase
  "https://www.bitrue.com/trading?market=#{target}&symbol=#{base}#{target}"
end