Class: Bitopro::Client

Inherits:
Object
  • Object
show all
Includes:
Account, Order, Public
Defined in:
lib/bitopro/client.rb

Defined Under Namespace

Classes: SetupError

Constant Summary collapse

AUTH_HTTP_ACTION =
%w(get post delete)
BASE_URL =
"https://api.bitopro.com/v2".freeze

Instance Method Summary collapse

Methods included from Order

#cancel_order, #create_order, #get_order

Methods included from Account

#account_balance, #order_history, #order_list

Methods included from Public

#order_book, #recent_trades, #tickers

Constructor Details

#initializeClient

Returns a new instance of Client.



16
17
18
# File 'lib/bitopro/client.rb', line 16

def initialize
  @config = Bitopro::Config.instance
end