Project

kaesen

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
This is a module that exchanging Japanese yen and Bitcoin and collecting market information.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
>= 0
>= 0
~> 10.0
~> 3.0
 Project Readme

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 ラッパーです.

Installation

For each of your applications, add the following line to the application's Gemfile:

gem 'kaesen'

Then, run bundler:

$ bundle install

or

gem install kaesen

Usage

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

or

setting the enviromnet values base on .env.sample, and

require 'kaesen'
b =  Kaesen::Bitflyer.new

Currently supported exchange markets to trade:

  • bitFlyer
  • BtcBox
  • coincheck
  • Zaif

Currently supported exchange markets to get market information:

  • bitbank
  • bitFlyer Lightning
  • bitFlyer FX
  • BtcBox
  • coincheck
  • Kraken
  • LakeBTC
  • MonetaGo (deprecated)
  • Quoine
  • Zaif

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.

Donation

bitcoin:1B1uB4Z4GoxejicoVs9c61S3jXx7BoHYDq