Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 

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