Class: Cryptoexchange::Exchanges::Bitmax::Market

Inherits:
Object
  • Object
show all
Defined in:
lib/cryptoexchange/exchanges/bitmax/market.rb

Constant Summary collapse

NAME =
'bitmax'
API_URL =
'https://bitmax.io/api/v1'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



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

def self.trade_page_url(args = {})
  base   = args[:base].downcase
  target = args[:target].downcase
  "https://bitmax.io/#/trade/#{target}/#{base}"
end