Class: Cryptoexchange::Exchanges::Dragonex::Market

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

Constant Summary collapse

NAME =
'dragonex'
API_URL =
'https://openapi.dragonex.io'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



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

def self.trade_page_url(args={})
  base = args[:base].downcase
  target = args[:target].downcase
  "https://dragonex.io/en-us/trade/index/#{base}_#{target}"
end