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

Console: Orders no longer open "stuck" in orderbook (spot market) #11273

Closed
daunatv opened this issue May 12, 2024 · 5 comments
Closed

Console: Orders no longer open "stuck" in orderbook (spot market) #11273

daunatv opened this issue May 12, 2024 · 5 comments
Labels

Comments

@daunatv
Copy link
Contributor

daunatv commented May 12, 2024

Description

There seems to be orders that are stuck in orderbook, the market is not in auction and you can see that the bids are higher than the offers.

Steps to Reproduce

Not sure, it is available on fairground market, changing datanode, refreshing page and/or market does not seem to help.
https://vegafairground.eth.limo/#/markets/051987b65c660de2451e94528b050442508cd3559003ab39db0dbfa9398dc455

Expected behaviour

Screen.Recording.2024-05-12.at.12.22.32.mov
@MadalinaRaicu
Copy link
Contributor

the issue still exists.
but it seems like console is displaying correctly the response data that we get from the market (depth) queries and subscriptions.

maybe @bglownia can take an extra look to confirm before we transform this into a core ticket.

cc @JonRay15

Image

@JonRay15 JonRay15 transferred this issue from vegaprotocol/frontend-monorepo May 13, 2024
@JonRay15 JonRay15 added the bug label May 13, 2024
@MadalinaRaicu
Copy link
Contributor

This is a SPOT market and these are the GraphQL queries we are using

fragment PriceLevelFields on PriceLevel {
  price
  volume
  numberOfOrders
}

query MarketDepth($marketId: ID!) {
  market(id: $marketId) {
    id
    depth {
      sell {
        ...PriceLevelFields
      }
      buy {
        ...PriceLevelFields
      }
      sequenceNumber
    }
  }
}

subscription MarketDepthUpdate($marketId: ID!) {
  marketsDepthUpdate(marketIds: [$marketId]) {
    marketId
    sell {
      ...PriceLevelFields
    }
    buy {
      ...PriceLevelFields
    }
    sequenceNumber
    previousSequenceNumber
  }
}

@bglownia
Copy link

market depth sides are crossed in data returned from API. This is core bug

@daunatv
Copy link
Contributor Author

daunatv commented May 22, 2024

@jeremyletang
Copy link
Member

This was fixed previously, and cherry-picked in the release.

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

No branches or pull requests

5 participants