Class: Cryptoexchange::Exchanges::StocksExchange::Market

Inherits:
Models::Market
  • Object
show all
Defined in:
lib/cryptoexchange/exchanges/stocks_exchange/market.rb

Constant Summary collapse

NAME =
'stocks_exchange'
API_URL =
'https://app.stocks.exchange/api2'

Class Method Summary collapse

Class Method Details

.trade_page_url(args = {}) ⇒ Object



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

def self.trade_page_url(args={})
  "https://app.stocks.exchange/en/basic-trade/pair/#{args[:target]}/#{args[:base]}/1D"
end