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

✨ Implement Apollo V2 Futures #209

Open
mraniki opened this issue May 15, 2023 · 0 comments
Open

✨ Implement Apollo V2 Futures #209

mraniki opened this issue May 15, 2023 · 0 comments
Labels
blocked enhancement New feature or request

Comments

@mraniki
Copy link
Owner

mraniki commented May 15, 2023

apollo finance

  async def get_ping_apollo(self,):
      ping_url = (
          settings.dex_apollo_url
          + "fapi/v1/ping"
          )
      ping_response = await self._get(
          url=ping_url,
          params=None,
          headers=settings.headers
          )
      self.logger.debug("get_ping_apollo %s", ping_response)

  async def get_quote_apollo(self,):
      quote_url = (
          settings.dex_apollo_url
          + "/fapi/v1/ticker/price"
          )
      quote_response = await self._get(
          url=quote_url,
          params=None,
          headers=settings.headers
          )
      self.logger.debug("get_quote_apollo %s", quote_response)
      quote = quote_response['price']
      return quote

  async def get_swap_apollo(self):
      self.logger.warning("Not available")
  # $ curl -H "X-MBX-APIKEY: dsdfsdf" -X POST
  # 'https://fapi/apollox.finance/fapi/v1/order?symbol=BTCUSDT&side=BUY&
  # type=LIMIT&quantity=1&price=9000&timeInForce=GTC&recvWindow=5000&timestamp=1591702613943&
  # signature= 3c661234138461fcc7a7d8746c6558c9
  # 842d4e10870d2ecbedf7777cad694af9'
      return
@mraniki mraniki added the enhancement New feature or request label May 15, 2023
@mraniki mraniki added this to Talky Aug 8, 2023
@mraniki mraniki changed the title Implement Apollo V2 Futures ✨ Implement Apollo V2 Futures Aug 8, 2023
@mraniki mraniki added the blocked label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant