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.
Metadata
Release files for pnl-core 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details for pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl |
Release files / pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pnl_core-0.7.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 268.5 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f812611f1e37b4661d46e839a78cf60dec6ae60090193cfb211b3f64a2e899ed
|
|
BLAKE2b-256 checksum How to use checksums |
b70c9c335acd4846dff18d60b731a5fd402b8929306251e9346a99336df67a2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Security for pnl-core 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.