CoinAlpha / gateway-api

Apache License 2.0
47 stars 25 forks source link

Refactor Gateway endpoint to consolidate functions #36

Closed gyozajiro closed 3 years ago

gyozajiro commented 3 years ago

Feature Suggestion Refactor Gateway endpoints to support multiple functions in a single API call.

The Ethereum-based protocol will reside under the eth endpoint.

/eth/balance
/eth/approve
/eth/poll
/eth/balancer/start
/eth/balancer/price
/eth/balancer/trade
/eth/{protocol}/{operations}

Impact This will reduce the number of individual API calls from the Hummingbot client.

Additional context HB client connector/strategy requires an update in order to support the new endpoints. https://github.com/CoinAlpha/hummingbot/issues/2846

dennisocana commented 3 years ago

Moved to v0.37 release