Built from makenew/ruby-gem.n
Add this line to your application's Gemfile
gem 'quoinex'
and update your bundle with
$ bundle
Or install it yourself with
$ gem install quoinex
client = Quoinex::API.new(passphrase: ..., key: ..., secret: ...)
client.accounts
client.orders
client.order(id)
client.create_order(
side: :buy,
size: 1.0,
price: 10000,
product_id: 'BTCEUR',
type: 'limit',
)
client.cancel_order(id)
- YARD documentation is hosted by RubyDoc.info.
- Interactive documentation is hosted by Omniref.
The quoinex source is hosted on GitHub. Clone the project with
$ git clone https://github.com/heelhook/quoinex.git
You will need Ruby with Bundler.
Install the development dependencies with
$ bundle
Run $ rake -T
to see all Rake tasks.
rake build # Build quoinex-2.0.1.gem into the pkg directory
rake bump:current[tag] # Show current gem version
rake bump:major[tag] # Bump major part of gem version
rake bump:minor[tag] # Bump minor part of gem version
rake bump:patch[tag] # Bump patch part of gem version
rake bump:pre[tag] # Bump pre part of gem version
rake bump:set # Sets the version number using the VERSION environment variable
rake clean # Remove any temporary products
rake clobber # Remove any generated files
rake install # Build and install quoinex-2.0.1.gem into system gems
rake install:local # Build and install quoinex-2.0.1.gem into system gems without network access
rake release[remote] # Create tag v2.0.1 and build and push quoinex-2.0.1.gem to Rubygems
rake rubocop # Run RuboCop
rake rubocop:auto_correct # Auto-correct RuboCop offenses
rake spec # Run RSpec code examples
rake test # Run test suite
rake yard # Generate YARD Documentation
Guard tasks have been separated into the following groups:
doc
, lint
, and unit
.
By default, $ guard
will generate documentation, lint, and run unit tests.
Please submit and comment on bug reports and feature requests.
To submit a patch:
- Fork it (https://github.com/heelhook/quoinex/fork).
- Create your feature branch (
git checkout -b my-new-feature
). - Make changes. Write and run tests.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request.
This Ruby gem is licensed under the MIT license.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.