{"repo":"binance/binance-connector-ruby","free":true,"listed":false,"github":"https://github.com/binance/binance-connector-ruby","clone":"git clone https://github.com/binance/binance-connector-ruby.git","description":"A simple connector to Binance Public API","language":"Ruby","stars":48,"topics":["binance","api","connector","crypto","library","market-data","real-time","ruby","trading"],"license":"MIT","category":"trading","readme_excerpt":"Binance Connector Ruby This is a lightweight library that works as a connector to Binance public API. It’s designed to be simple, clean, and easy to use with minimal dependencies. - Supported APIs: - /api/ - /sapi/ - Spot Websocket Market Stream - Spot User Data Stream - Inclusion of test cases and examples - Customizable base URL, request timeout - Response metadata can be displayed - Customizable Logger Installation 1. Include the library in Gemfile and then install it when execute the bundler. Add this line in the Gemfile. And then execute the bundler via CLI: 2. Install it with CLI: Documentation https://www.rubydoc.info/gems/binance-connector-ruby Restful APIs Please find examples folder to check for more endpoints. Testnet While /sapi/ endpoints don't have testnet environment yet, /api/ endpoints can be tested in Spot Testnet. You can use it by changing the base URL: Base URL If base url is not provided, it defaults to api.binance.com . It's recommended to pass in the base url parameter, even in production as Binance provides alternative URLs in case of performance issues: - https://api1.binance.com - https://api2.binance.com - https://api3.binance.com RSA Signature Binance support both HMAC and RSA signature. Please find the example at examples/trade/account.rb for how to sign in both solutions. RecvWindow From Binance API, recvWindow is available for all endpoints require signature. By default, it's 5000ms. You are allowed to set this parameter to any value less than ","default_branch":null,"files":null,"tree":[],"storefront":"/r/binance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/binance/binance-connector-ruby/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}