Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genius yield spot connector #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

HalukG
Copy link

@HalukG HalukG commented May 23, 2024

Initial changes for GY hummingbot spot connector.

Followed guide: https://hummingbot.org/developers/connectors/spot-connector-checklist/#api-checklist

Checklist for Integrating Hummingbot Spot Connector with Internal API

Completed Tasks:

  • Code Adjustments in Specific Files
    • genius_yield_api_order_book_data_source.py
      • Removed websocket-related code.
      • Remove functions releated to optional endpoints.
    • genius_yield_exchange.py
      • Removed websocket stream management.
    • genius_yield_auth.py
      • Removed websocket auth functions
    • genius_yield_constants.py
      • Adjusted constants to match out bot api spec.
    • genius_yield_web_utils.py
      • Adjusted for REST-only interaction, removing websocket handling.
    • genius_yield_api_user_stream_data_source.py
      • Remove websocket related code
      • Remove functions releated to optional endpoints.
    • genius_yield_order_book.py
      • Remove websocket related code
      • Remove functions releated to optional endpoints.

Remaining Tasks:

  • API Endpoints Configuration

    • GET ACTIVE MARKETS
      • Verified compatibility with internal API.
    • GET ORDERBOOK SNAPSHOT
      • Adjusted to ensure offer_amount maps to quantity.
    • PING ENDPOINT
      • Confirmed extra fields are acceptable.
    • GET ACCOUNT BALANCE
      • Mapped lovelace and token to currency and balance.
    • GET OPEN ORDERS
      • Mapped output_reference to order_id and offer_amount to quantity.
    • CREATE ORDERS
      • Mapped offer_token and price_token to symbol, offer_amount to quantity, price_amount to price.
    • CANCEL ORDER BY exchange_order_id
      • Mapped order_references to order_id.
  • Modify the default unit tests and remove test releated to websocket/optional endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant