Class: Bitbot::Trader::Providers::MtGox
- Inherits:
-
Bitbot::Trader::Provider
- Object
- Bitbot::Trader::Provider
- Bitbot::Trader::Providers::MtGox
- Defined in:
- lib/bitbot/trader/providers/mt_gox.rb,
lib/bitbot/trader/providers/mt_gox/http_client.rb,
lib/bitbot/trader/providers/mt_gox/open_orders_parser.rb,
lib/bitbot/trader/providers/mt_gox/account_info_parser.rb,
lib/bitbot/trader/providers/mt_gox/open_orders_request.rb,
lib/bitbot/trader/providers/mt_gox/account_info_request.rb,
lib/bitbot/trader/providers/mt_gox/http_client/hmac_middleware.rb,
lib/bitbot/trader/providers/mt_gox/value_with_currency_coercer.rb
Overview
Provider for MtGox API (version 2)
Defined Under Namespace
Classes: AccountInfoParser, AccountInfoRequest, HttpClient, OpenOrderParser, OpenOrdersRequest, ValueWithCurrencyCoercer
Instance Attribute Summary
Attributes inherited from Bitbot::Trader::Provider
Instance Method Summary collapse
-
#initialize(options, client = HttpClient.build(options)) ⇒ undefined
constructor
Initializes MtGox provider.
Methods included from ApiMethods
Constructor Details
#initialize(options, client = HttpClient.build(options)) ⇒ undefined
Initializes MtGox provider
23 24 25 |
# File 'lib/bitbot/trader/providers/mt_gox.rb', line 23 def initialize(, client = HttpClient.build()) @client = client end |