Kaesen (beta version)
A module of the united wrapper for exchanging Japanese yen and Bitcoin and collecting market information of any exchange markets that provide ordinary customers with API access.
日本国内のビットコインの取引所の API を統一された API で操作できる統合 API ラッパーです．
For each of your applications, add the following line to the application's Gemfile:
Then, run bundler:
$ bundle install
gem install kaesen
require 'kaesen' b = Kaesen::Bitflyer.new do |config| config.api_key = "XXX" config.api_secret = "YYY" end b.ticker b.buy(100000, 0.1) # Buy the 0.1 BTC at the rate is 100,000 BTC/JPY
setting the enviromnet values base on
require 'kaesen' b = Kaesen::Bitflyer.new
Currently supported exchange markets to trade:
Currently supported exchange markets to get market information:
- bitFlyer Lightning
- bitFlyer FX
Bug reports and pull requests are welcome on GitHub at https://github.com/him0/kaesen. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.