Class: Cryptoexchange::Exchanges::Coinex::Market

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

Constant Summary collapse

NAME =
'coinex'
API_URL =
'https://api.coinex.com/v1'
SEPARATOR_REGEX =
/(USDT|BTC|BCH|ETH)\z/

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



8
9
10
# File 'lib/cryptoexchange/exchanges/coinex/market.rb', line 8

def self.trade_page_url(args={})
  "https://www.coinex.com/trading?currency=#{args[:target]}&dest=#{args[:base]}#limit"
end