Class: Kaesen::Bitflyerfx
- 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
Instance Method Summary collapse
- #balance ⇒ Object
-
#initialize ⇒ Bitflyerfx
constructor
A new instance of Bitflyerfx.
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
#initialize ⇒ Bitflyerfx
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
#balance ⇒ Object
22 23 24 |
# File 'lib/kaesen/bitflyerfx.rb', line 22 def balance raise NotImplemented.new() # getcollateral end |