README.md in kaesen-0.1.1 vs README.md in kaesen-0.2.0

- old
+ new

@@ -1,32 +1,50 @@ # 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: ```ruby -gem 'kaesen', github: "him0/kaesen" +gem 'kaesen' ``` Then, run bundler: $ bundle install +or + +```shell +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 @@ -50,5 +68,9 @@ ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). + +## Donation + +bitcoin:1B1uB4Z4GoxejicoVs9c61S3jXx7BoHYDq