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

PerpsV3' object has no attribute 'markets_by_name #73

Open
Teje91 opened this issue Jan 23, 2025 · 0 comments
Open

PerpsV3' object has no attribute 'markets_by_name #73

Teje91 opened this issue Jan 23, 2025 · 0 comments

Comments

@Teje91
Copy link

Teje91 commented Jan 23, 2025

AttributeError: 'PerpsV3' object has no attribute 'markets_by_name'

I’m encountering an issue using the Synthetix Python SDK (version 0.1.23) for PerpsV3. When calling snx.perps.get_market_summary(market_name='VIRTUAL'), I receive an AttributeError: 'PerpsV3' object has no attribute 'markets_by_name'. Additionally, I see a warning about Failed to fetch markets: Could not decode ... when initializing the SDK. My cannon_config is {"package": "synthetix-omnibus", "version": "latest", "preset": "andromeda"}. Could this be an issue with the SDK or my configuration?

Also, I've verified the RPC endpoint is functional by using curl to fetch the latest block number.

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