def ticker
      h = get_ssl(@url_public + "/btc_jpy/ticker")
      h = h["data"]
      {
        "ask"        => BigDecimal.new(h["sell"][0]),
        "bid"        => BigDecimal.new(h["buy"][0]),
        "last"       => BigDecimal.new(h["last"][0]),
        "high"       => BigDecimal.new(h["high"][1]), # of the previous 24 hours
        "low"        => BigDecimal.new(h["low"][1]), # of the previous 24 hours
        "volume"     => BigDecimal.new(h["vol"][1]), # of the previous 24 hours
        "ltimestamp" => Time.now.to_i,
        "timestamp"  => h["timestamp"],
      }
    end
def ticker
      h = get_ssl(@url_public + "/btc_jpy/ticker")
      h = h["data"]
      {
        "ask"        => BigDecimal.new(h["sell"][0]),
        "bid"        => BigDecimal.new(h["buy"][0]),
        "last"       => BigDecimal.new(h["last"][0]),
        "high"       => BigDecimal.new(h["high"][1]), # of the previous 24 hours
        "low"        => BigDecimal.new(h["low"][1]), # of the previous 24 hours
        "volume"     => BigDecimal.new(h["vol"][1]), # of the previous 24 hours
        "ltimestamp" => Time.now.to_i,
        "timestamp"  => h["timestamp"],
      }
    end
API for public information

 Get ticker information.
 @return [hash] ticker
   ask: [BigDecimal] 最良売気配値
   bid: [BigDecimal] 最良買気配値
   last: [BigDecimal] 最近値(?用語要チェック), last price
   high: [BigDecimal] 高値
   low: [BigDecimal] 安値
   volume: [BigDecimal] 取引量
   timestamp: [int] タイムスタンプ
   ltimestamp: [int] ローカルタイムスタンプ