Rubygem for Gatecoin API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
nl-gatecoin.gemspec

README.md

Gatecoin Ruby Client

Gem Version

Status

This is still under development and not an official library of Gatecoin. Use at your own risk!

Installing

gem build nl-gatecoin.gemspec
gem install nl-gatecoin-X.X.X.gem

The Gemfile method

source 'https://rubygems.org'

gem 'httparty'
gem 'nl-gatecoin'

Example calls

Get HKD Balance

require 'nl-gatecoin'
g = Gatecoin.new
puts g.get_Balance_Balances_HKD

Make a trade

require 'nl-gatecoin'
g = Gatecoin.new
puts g.post_Trade_Orders(code: "BTCHKD", way: "Bid", amount: "0.01", price: "100")

Get Orderbook

require 'nl-gatecoin'
g = Gatecoin.new
puts g.pubget_MarketDepth_BTCHKD