Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
coss_api_ruby_wrapper
Advanced tools
API wrapper for trading on cryptocurrency exchange coss.io
Add this line to your application's Gemfile:
gem 'coss_api_ruby_wrapper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install coss_api_ruby_wrapper
coss = CossApiRubyWrapper::Exchange.new(public_key: 'YourPublicKey', private_key: 'YourPrivateKey')
coss.exchange_info # { ... }
Method | Required Parameters | Optional Parameters | Notes |
---|---|---|---|
place_limit_order | symbol, price, side, amount | None | |
place_market_order | symbol, price, side, amount | None | |
order_details | order_id | None | |
trade_detail | order_id | None | |
open_orders | symbol | limit, page | |
completed_orders | symbol | limit, page | |
all_orders | symbol, from_order_id | limit | |
cancel_order | symbol, order_id | None | |
market_price | symbol | None | |
pair_depth | symbol | None | |
market_summary | symbol | None | Not implemented on COSS side |
exchange_info | None | None | |
ping | None | None | |
time | None | None | |
account_balances | None | None | |
account_details | None | None |
In case if invalid request parameters were supplied, error of class CossApiRubyWrapper::ParamsValidations::InvalidParameter
will be thrown with text indicating specific parameters.
In case if request was sent but response status was not 200 OK, next hash will be provided:
{
status: 400,
error: 'Invalid request'
}
error may contain any string: Error text, JSON object, or HTML page.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the CossApiRubyWrapper project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that coss_api_ruby_wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.