Class: Cryptoexchange::Exchanges::Okex::Market

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

Constant Summary collapse

NAME =
'okex'
API_URL =
'https://www.okex.com/api/v1'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



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

def self.trade_page_url(args={})
  "https://www.okex.com/market?product=#{args[:base].downcase}_#{args[:target].downcase}"
end