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

Incorrect Query Results for RNDR Positions #53

Open
happysammy opened this issue May 23, 2024 · 0 comments
Open

Incorrect Query Results for RNDR Positions #53

happysammy opened this issue May 23, 2024 · 0 comments

Comments

@happysammy
Copy link

Description:
When the Client is initialized with the parameter asset = [Asset.RNDR] and the fetch_margin_state method is called, the query results only include 'SOL' positions. However, there are RNDR positions that should be returned. This discrepancy indicates a bug in the query logic, as the expected result should include RNDR positions when specified.

Expected Behavior:
When asset = [Asset.RNDR] is set, the fetch_margin_state method should return positions for RNDR.

Actual Behavior:
The method returns positions only for 'SOL', ignoring the specified RNDR positions.

Steps to Reproduce:

  1. Initialize the Zeta Client with asset = [Asset.RNDR].
  2. Call the fetch_margin_state method.
  3. Observe that the returned positions only include 'SOL' and exclude RNDR.

Impact:

This issue leads to incomplete and incorrect position data being retrieved, affecting any functionality or decisions based on these results.

Request:
Please investigate and fix this bug to ensure that the fetch_margin_state method correctly returns positions for the specified assets, including RNDR.

Thank you for addressing this issue.

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

No branches or pull requests

1 participant