How propeller-heads/eth-price-poc-sdk works
This retired SDK exposes two related but distinct workflows: users fetch hosted ETH market-depth data through an HTTP client, while optional local generation queries a user-run Fynd and emits block snapshots. The graph retains documented client capabilities and the measured-quote stages, but the client excerpt omits several method bodies and the snapshot assembly is only partially shown, so uncertain internal links are left out. README documents the hosted API/static fallback and local Fynd context; implementation links below rely on shown calls.
Main entry points: core.py Snapshot collector · run_local.py Local runner · client.py HTTP client · __init__.py Package exports
Components 23
Hosted data client
- Package exports
eth_price_poc/__init__.py - HTTP client
eth_price_poc/client.py - Snapshot queries
eth_price_poc/client.py - History queries
eth_price_poc/client.py - Status and coverage
eth_price_poc/client.py - Curve retrieval
eth_price_poc/client.py - Route details
eth_price_poc/client.py - Quote export
eth_price_poc/client.py
Local snapshot generation
- Local runner
eth_price_poc/generate/run_local.py - Pair configuration
eth_price_poc/generate/config.py - Snapshot collector
eth_price_poc/generate/core.py - Snapshot output
eth_price_poc/generate/run_local.py
Quote measurement
- Fynd health check
eth_price_poc/generate/core.py - Fynd quoting
eth_price_poc/generate/core.py - Depth sweep
eth_price_poc/generate/core.py - Price analysis
eth_price_poc/generate/core.py - Measurement helpers
eth_price_poc/generate/util.py
Other components
- SDK user
- marketprice.xyz
- Live API
- Static snapshots
- Ethereum RPC
- Local Fynd
Connections 25
- SDK user → Package exports: imports
eth_price_poc/__init__.py - Package exports → HTTP client: exports
eth_price_poc/__init__.py - SDK user → HTTP client: uses
README.md - HTTP client → Live API: requests data
eth_price_poc/client.py - HTTP client → Static snapshots: fallback reads
eth_price_poc/client.py - Live API → marketprice.xyz: served by
README.md - Static snapshots → marketprice.xyz: served by
README.md - SDK user → Snapshot queries: reads latest
README.md - SDK user → History queries: reads history
README.md - SDK user → Status and coverage: checks status
README.md - SDK user → Curve retrieval: reads curves
README.md - SDK user → Route details: requests detail
README.md - SDK user → Quote export: exports quote
README.md - SDK user → Local runner: runs generator
eth_price_poc/generate/run_local.py - Local runner → Pair configuration: configures
eth_price_poc/generate/run_local.py - Local runner → Snapshot collector: calls collector
eth_price_poc/generate/run_local.py - Snapshot collector → Ethereum RPC: reads block
eth_price_poc/generate/core.py - Snapshot collector → Fynd health check: checks health
eth_price_poc/generate/core.py - Fynd health check → Local Fynd: HTTP health
eth_price_poc/generate/core.py - Snapshot collector → Depth sweep: runs sweep
eth_price_poc/generate/core.py - Depth sweep → Fynd quoting: requests quotes
eth_price_poc/generate/core.py - Fynd quoting → Local Fynd: HTTP quote
eth_price_poc/generate/core.py - Snapshot collector → Price analysis: derives prices
eth_price_poc/generate/core.py - Snapshot collector → Measurement helpers: uses helpers
eth_price_poc/generate/__init__.py - Local runner → Snapshot output: prints snapshot
eth_price_poc/generate/run_local.py