binance / binance-connector-java

Simple Java connector to Binance Spot API
MIT License
399 stars 173 forks source link

Market constructors #93

Closed xcocco closed 1 year ago

xcocco commented 1 year ago

Since market data endpoints have NONE security type, I think it would be a good option to have a constructor with only baseUrl and showLimitUsage parameters without needing to set apiKey and proxy to null in the constructor call

aisling-2 commented 1 year ago

Hi @xcocco , what you're asking for already exists, please refer to https://github.com/binance/binance-connector-java/blob/master/src/main/java/com/binance/connector/client/impl/SpotClientImpl.java#L45. By default, the proxy is set to null.