Class: Kaesen::Bitflyerfx

Inherits:
Bitflyer show all
Defined in:
lib/kaesen/bitflyerfx.rb

Overview

BitFlyer FX Wrapper Class coincheck.jp/documents/exchange/api?locale=ja API制限. Private API は 1 分間に約 200 回を上限とします。. IP アドレスごとに 1 分間に約 500 回を上限とします。

Instance Attribute Summary

Attributes inherited from Market

#name

Instance Method Summary collapse

Methods inherited from Bitflyer

#buy, #depth, #market_buy, #market_sell, #opens, #sell, #ticker

Methods inherited from Market

#buy, #cancel, #cancel_all, #depth, #market_buy, #market_sell, #opens, #sell, #ticker, unBigDecimal

Constructor Details

#initializeBitflyerfx

Returns a new instance of Bitflyerfx.



16
17
18
19
20
# File 'lib/kaesen/bitflyerfx.rb', line 16

def initialize
  super()
  @name        = "BitFlyerFX"
  @product_code = "FX_BTC_JPY"
end

Instance Method Details

#balanceObject

Raises:

  • (NotImplemented)


22
23
24
# File 'lib/kaesen/bitflyerfx.rb', line 22

def balance
  raise NotImplemented.new() # getcollateral
end