binance / binance/binance-connector-ruby

Allow calling binance API through a proxy

Open
#15 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
50
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I see you guys use Faraday to make a request, which supports calling through a proxy. Can you expose that functionality to the user?

I think allowing it through the `Binance::Spot.new` interface is one of the ways to go, users can set it just like they set the key & secret. It'll look like this: `Binance::Spot.new(key: key, secret: secret, proxy_url: proxy_url)`

Contributor guide

Open the contributing guide

Research direction

Start by locating the Faraday request setup and the Binance::Spot.new initialization described in the issue. Trace how key and secret options are stored and passed into requests, then check the existing tests around client initialization. Done means users can provide proxy_url through Binance::Spot.new and requests use it without breaking existing initialization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.