Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quidax

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quidax

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Quidax

Quidax Ruby Library

RSpec Test status

A ruby gem for easy integration of Quidax. Please kindly see the docs to get a sense of how the API behaves

Installation

Add this line to your application's Gemfile:

gem 'quidax'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install quidax

Usage

Instantiate a Quidax Object

To use the SDK, you need to instantiate a quidax object with a secret key

secret_key = ENV["QUIDAX_SECRET_KEY"]

quidax_object = Quidax.new(secret_key)

Using an object

See the table below for a list of available objects. Kindly note that all objects and methods accepts parameters via named keywords. There are two ways to use an object:

1. Accessing methods after initializing object instance

In this case you need to pass your quidax_object once to the object instance, and you will now be able to access methods on the class. The keyword is q_object

markets = QuidaxMarkets(q_object: quidax_object)

all_market_tickers = markets.get_all_tickers
2. Accessing methods directly from the object

In this case you need to pass quidax_object to the method you directly calling, the keyword is q_object

all_market_tickers = QuidaxMarket.get_all_tickers(q_object: quidax_object)

Like you may suspect, the parameters that each method differs, please kindly see the docs to know the expected parameters, query: is used to get requests with a payload, while body: is used for post/put requests with a payload

Quidax Objects

ObjectMethods
QuidaxBeneficiaryget_all
create
get_account
edit_account
QuidaxDepositsby_user
get_a_deposit
by_sub_users
QuidaxInstantOrderget_all
by_sub_users
get_detail
buy_crypto_from_fiat
sell_crypto_to_fiat
confirm
requote
QuidaxMarketsget_all
get_all_tickers
get_ticker
get_k_line
get_k_line_with_pending_trades
get_orderbook_items
get_depth_for_a_market
QuidaxOrderget_all
create
cancle
get_details
QuidaxQuoteget
QuidaxTradefor_user
for_market
QuidaxUserget_account_details
create_sub_account
get_all_sub_accounts
edit_account
QuidaxWalletget_user_wallets
get_user_wallet
get_payment_address
get_payment_address_by_id
get_payment_addresses
create_crypto_payment_address
validate_address
QuidaxWithdrawalget_all_withdrawals_detail
get_detail
cancel

Development

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aremu-smog/quidax-ruby.

License

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

FAQs

Package last updated on 09 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc