hummingbot icon indicating copy to clipboard operation
hummingbot copied to clipboard

Upgrade Coinbase spot connector

Open MementoRC opened this issue 2 years ago • 21 comments

Feature Suggestion Update Coinbase connector. Coinbase closed its 'CoinbasePro' API and relies on the 'Advanced Trading API'.

Impact This is likely to break the current Coinbase Pro connector

MementoRC avatar Jan 23 '23 15:01 MementoRC

Would really like to see this done soon myself.

theWebKeyGuy avatar Feb 16 '23 19:02 theWebKeyGuy

@MementoRC Do you want to work on this one? What's the things you need to do for the refactor?

nikspz avatar Apr 14 '23 14:04 nikspz

I could give it a try, I had started looking into it with the template. The Advanced Trading AP is completely new, with many methods changed/replaced. Some devs have complained on their dev forum, so I was letting the dust settle

MementoRC avatar Apr 14 '23 17:04 MementoRC

hi @MementoRC Could you please add any updates here? how's it going? are you working on it/will be working on it?

nikspz avatar May 01 '23 09:05 nikspz

Hi @nikspz , I have started the pre-work. I am progressing a bit slowly due to concurrent items on my plate.

MementoRC avatar May 01 '23 13:05 MementoRC

Okay got it, thanks

nikspz avatar May 01 '23 13:05 nikspz

Severity: P2 Bounty: 50,000 (https://hummingbot.org/maintenance/bugs/) Rationale: Community bounty related to bronze connector (connector needs API update)

nikspz avatar May 04 '23 06:05 nikspz

We'd like to take up this development bounty - Coinbase connector. Me and @manibandi. I have previously contributed BitMart to Hummingbot, and have a lot of experience developing connectors and strategies in private.

srirambandi avatar May 05 '23 12:05 srirambandi

This issue was assigned to @MementoRC . Thank you for your contribution!

nikspz avatar May 05 '23 14:05 nikspz

Okay, no worries! Thanks!

srirambandi avatar May 05 '23 14:05 srirambandi

Hey @MementoRC could you please update us with your progress on this Bounty?

nikspz avatar May 18 '23 06:05 nikspz

@nikspz Most of the implementation is completed. A few details are still investigated due to gaps in their documentation and unavailability of sandbox. Currently going through the tests as pipe-cleaning. Should I make a PR (which will fail) for early review?

MementoRC avatar May 18 '23 14:05 MementoRC

Yea you could create a draft @MementoRC

nikspz avatar May 18 '23 14:05 nikspz

Oh right, gonna start on it

MementoRC avatar May 18 '23 14:05 MementoRC

This bounty will be increased to 250K HBOT since the connector need huge refactor to advanced trade v2 API

https://snapshot.org/#/hbot-ip.eth/proposal/0x62d8feacfd0b69ab37576b9dd2304f648a23216d6e48eb8d9d50ff06fe86e90c

nikspz avatar Jul 14 '23 07:07 nikspz

Very nice. Note that Coinbase is actively adding features to their API, as it's being developed (like a REST method for order book snapshot, heartbeats for websocket, new channels). This may trigger modifications to this PR Thank you

MementoRC avatar Jul 14 '23 13:07 MementoRC

This bounty increased to 250K HBOT according to https://snapshot.org/#/hbot-ip.eth/proposal/0x62d8feacfd0b69ab37576b9dd2304f648a23216d6e48eb8d9d50ff06fe86e90c and since the connector need huge refactor.

nikspz avatar Jul 24 '23 04:07 nikspz

Description

  • Proposal: HGP-30 (https://snapshot.org/#/hbot-ip.eth/proposal/0x62d8feacfd0b69ab37576b9dd2304f648a23216d6e48eb8d9d50ff06fe86e90c)
  • Description: Upgrade Coinbase spot connector to the latest exchange API and connector standard
  • Acceptance criteria: Upgrade connector to latest connector standards: https://docs.hummingbot.org/developers/connectors/#what-are-exchange-connectors

Bounty

  • Sponsor: Hummingbot Foundation
  • Budget: Epoch 5 Budget
  • Bounty amount: 250,000 HBOT or USDC equivalnet
  • Developer portion: 100%
  • Status: Assigned to MementoRC

fengtality avatar Jul 27 '23 14:07 fengtality

Note that there should be 2 Coinbase connectors: Advanced Trade and Pro (which is used by institutional investors on Coinbase Exchange accounts) Thank you

MementoRC avatar Jul 27 '23 16:07 MementoRC

I think we only need support for Advanced Trade

On Thu, Jul 27, 2023, 9:36 AM MementoRC @.***> wrote:

Note that there should be 2 Coinbase connectors: Advanced Trade and Pro (which is used by institutional investors on Coinbase Exchange accounts) Thank you

— Reply to this email directly, view it on GitHub https://github.com/hummingbot/hummingbot/issues/6024#issuecomment-1653969095, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANWHVR7BBLNKB3HQU2RK2DXSKKKFANCNFSM6AAAAAAUEAJDNM . You are receiving this because you commented.Message ID: @.***>

fengtality avatar Jul 27 '23 20:07 fengtality

#6458

nikspz avatar Jan 23 '24 14:01 nikspz

  • Closed the https://github.com/hummingbot/hummingbot/pull/6458
  • unassigned Memento from bounty since connector since pr doesn't met our connector v2.1 standart
    • could read comment related there https://github.com/hummingbot/hummingbot/pull/6458

nikspz avatar Feb 28 '24 18:02 nikspz

I'd submit that the primary deviation is in the websocket proposal. This part is mostly reverted in my workspace.

Would it be helpful to update with that correction?

On Wed, Feb 28, 2024, 12:33 PM nikspz @.***> wrote:

— Reply to this email directly, view it on GitHub https://github.com/hummingbot/hummingbot/issues/6024#issuecomment-1969596623, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWGZEZ4POISLKMEKOHVKFS3YVYRHBAVCNFSM6AAAAAAUEAJDNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGU4TMNRSGM . You are receiving this because you were mentioned.Message ID: @.***>

MementoRC avatar Feb 28 '24 21:02 MementoRC

Persona non grata?

MementoRC avatar Feb 29 '24 00:02 MementoRC

Hello @MementoRC the reason was based on the PR changes 99 files and using (new) redundant changes that not met connector standart as mentioned above. From this solution, unfortunately it can't be merged into HB codebase to not create a case when it's hard to maintain connector (that built not with our latest standarts).

nikspz avatar Feb 29 '24 05:02 nikspz

Description

  • Proposal: HGP-30 (https://snapshot.org/#/hbot-ip.eth/proposal/0x62d8feacfd0b69ab37576b9dd2304f648a23216d6e48eb8d9d50ff06fe86e90c)
  • Description: Upgrade Coinbase spot connector to the latest exchange API and connector standard
  • Acceptance criteria: Upgrade connector to latest connector standards: https://docs.hummingbot.org/developers/connectors/#what-are-exchange-connectors
  • Connector pots

Discussed to increase bounty amount for this bounty

Bounty

  • Sponsor: Hummingbot Foundation
  • Budget: Epoch 5 Budget and Connector pots
  • Bounty amount: 450,000 HBOT
  • Developer portion: 100%
  • Status: Assigned to MementoRC

nikspz avatar Mar 07 '24 14:03 nikspz

https://github.com/hummingbot/hummingbot/pull/6887

nikspz avatar Mar 08 '24 05:03 nikspz

Thanks for your participation, the bounty has been sent to @MementoRC. The connector has been deployed on development branch and hummingbot version 1.27.0. https://hummingbot.org/exchanges/coinbase-advanced-trade/

nikspz avatar Apr 29 '24 10:04 nikspz

Thank you

MementoRC avatar Apr 29 '24 14:04 MementoRC