Infrastructure Economics Advisor: Measure Kyle's Lambda fairness gaps using Rust-accelerated calculations. Optimize trading strategy within broker latency constraints.
Project description
PnL Watchdog for Crypto Market Makers
PnL Watchdog is a read-only execution intelligence layer for market makers on crypto venues like Bybit.
It helps you answer one question fast: is my edge being eaten by microstructure friction?
Why it is useful
- Measures execution friction (impact, slippage, toxicity proxies, order-flow quality)
- Flags anomaly windows where fills degrade (latency/slippage outliers)
- Gives user-scoped import + analytics from your own account history
- Works with read-only exchange credentials (no trade/withdraw permissions required)
5-minute setup
- Start API:
uvicorn pnl_watchdog_lib.api.main:app --host 0.0.0.0 --port 8000
- Register your PnL Watchdog API key:
curl -X POST http://localhost:8000/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
- Import Bybit read-only trade history:
curl -X POST http://localhost:8000/import/bybit \
-H "Content-Type: application/json" \
-H "X-API-Key: pnlw_your_key" \
-d '{"api_key":"BYBIT_READ_KEY","api_secret":"BYBIT_READ_SECRET","market_type":"swap","lookback_days":7}'
- Get your execution stats:
curl -X GET http://localhost:8000/stats/pnl \
-H "X-API-Key: pnlw_your_key"
Security model
- Use exchange keys with
read-onlyscope only. - PnL Watchdog API keys are stored hashed at rest.
- Data is scoped per authenticated user.
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 Distributions
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 pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 268.5 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f812611f1e37b4661d46e839a78cf60dec6ae60090193cfb211b3f64a2e899ed
|
|
| MD5 |
f1cb774d2555cc991ba2a792d1d56e8d
|
|
| BLAKE2b-256 |
b70c9c335acd4846dff18d60b731a5fd402b8929306251e9346a99336df67a2f
|