Python client for the TraderNick data_provider service. Drop-in compatible with horatio-data-provider (same DataProviderClient API; only the import path changes).
Project description
tradernick-data-provider
Python client for the TraderNick data_provider service. Drop-in
compatible with horatio-data-provider:
same DataProviderClient class, same namespaces (evm, tron, btc,
binance, hyperliquid, wallets, cache, jobs), same chainable
builder methods, same as_pandas() / as_polars() / as_parquet()
terminators. The only visible difference is the import path.
# Before
from horatio_data_provider import DataProviderClient
# After
from tradernick_data_provider import DataProviderClient
The server URL passed to the constructor is the only thing you need to change at the call site.
Install
pip install tradernick-data-provider
Usage
import asyncio
from tradernick_data_provider import DataProviderClient
async def main():
async with DataProviderClient("http://localhost:10005") as client:
df = await client.binance.ohlcv("BTC", "1h") \
.time_range("2026-06-01T00:00:00Z", "2026-06-08T00:00:00Z") \
.as_polars()
print(df)
asyncio.run(main())
All Horatio query builders work unchanged. The server delegates to ClickHouse instead of DeFiStream, so reads stay sub-second on tables where Horatio has to pay a fresh upstream fetch.
Status
0.2.0 — Phase 1+2 read parity. Validated against horatio-data-provider on 2026-06-07:
- Column-shape parity: 100% across binance / aave / lido / uniswap / hyperliquid / transfers.
- Row-count + value parity: exact match on stable tables
(binance.ohlcv 1m, raw_trades, lido.deposit, aave.borrows/repays,
evm.native with
min_amount); within ±2 rows on AAVE event tables where DeFiStream's sweep loop occasionally re-fetches windows with slightly different cuts.
What works:
binance.{ohlcv, raw_trades, book_depth, open_interest, funding_rate, long_short_ratios}(withwith_id,add_symbol)evm.aave.{deposit, withdraw, borrow, repay, flashloan, liquidation}withinvolving,exclude_involving,eth_market_typeevm.uniswap.{swap, deposit, withdraw, collect}— V3evm.lido.{deposit, withdrawal_request, withdrawal_claimed, l2_deposit, l2_withdrawal_request}evm.erc20.transfers,evm.native_transferswith full filter set (sender / receiver / involving / exclude_* / min_amount / max_amount)tron.{native, trc20}.transfers,btc.native.transfershyperliquid.{ohlcv, trades, fills, funding, transfers, vaults, trade_history, position_history}client.{wallets.list, wallets.get, wallets.upsert, wallets.delete}client.{load_parquet, scan_parquet, list_snapshots, delete_snapshot, as_parquet}— server-side parquet snapshots withlocal_*filtersclient.jobs.{list, get, cancel}— proxies to the ingestion job queue
Not yet exposed:
evm.{stader, threshold}— return empty schemas (TN doesn't ingest these networks yet)hyperliquid.{sends, spot_transfers}— return empty schemasclient.scan_parquetonly honors address-basedlocal_*filters; label/category/entity variants are wired but no-op without wallet_labels co-mounted on the snapshot.
Compatibility
Drop-in compatible with horatio-data-provider 4.x.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tradernick_data_provider-0.2.0.tar.gz.
File metadata
- Download URL: tradernick_data_provider-0.2.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68dfb788caffac84f3c4404799dd467d7add70ce1abdc6beb1835270c6fcbcea
|
|
| MD5 |
7f0bcde5615f44646e15371f23329e16
|
|
| BLAKE2b-256 |
dc2ce7a06ce0522fb5bca8ef3ed9abc43d21bda0b27777a3067c126fbd2d9446
|
File details
Details for the file tradernick_data_provider-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tradernick_data_provider-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c34457e86d44be2142b1c3257898577c881715158c46fa7748d1f5a27ebb8491
|
|
| MD5 |
7350d0e8d9bd4ddd3663ae38a612dcdc
|
|
| BLAKE2b-256 |
fe67e44ac782bef2f6896015810171cafbbf05709fdf971881a0bec325f4aa03
|