module Tradecow

Constants

VERSION

Attributes

access_key[RW]
secret_key[RW]

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/tradecow/base.rb, line 8
def self.configure
  yield self
end
future_ful_url() click to toggle source
# File lib/tradecow/base.rb, line 28
def self.future_ful_url
  "https://api.hbdm.com"
end
future_url() click to toggle source
# File lib/tradecow/base.rb, line 24
def self.future_url
  "api.hbdm.com"
end
req_url(host, path, params) click to toggle source
# File lib/tradecow/base.rb, line 12
def self.req_url host, path, params
  "#{host}#{path}?#{params}"
end
spot_ful_url() click to toggle source
# File lib/tradecow/base.rb, line 20
def self.spot_ful_url
  "https://api.huobi.pro"
end
spot_url() click to toggle source
# File lib/tradecow/base.rb, line 16
def self.spot_url
  "api.huobi.pro"
end