Class: Cryptoexchange::Exchanges::Swiftex::Market

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

Constant Summary collapse

NAME =
'swiftex'
API_URL =
'https://swiftex.co/api/v2'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



7
8
9
# File 'lib/cryptoexchange/exchanges/swiftex/market.rb', line 7

def self.trade_page_url(args={})
  "https://swiftex.co/markets/#{args[:base].downcase}-#{args[:target].downcase}"
end